Sqlew MCP Server

ADR (Architecture Decision Record) for AI Agents – An MCP server that enables AI agents to create, query, and maintain architecture decision records

Local serverstdioTypeScript

What is the Sqlew MCP Server?

ADR (Architecture Decision Record) for AI Agents – An MCP server that enables AI agents to create, query, and maintain architecture decision records in a structured

What it actually does

Every AI coding session starts from scratch. Your agent doesn't remember that you chose PostgreSQL over MongoDB last week, or that the team agreed on a specific API versioning strategy. Without persistent memory, agents repeat mistakes, contradict earlier decisions, and waste tokens re-discovering context.

  • Structured Records — — Decisions stored as relational data with metadata, tags, layers, and version history
  • Fast Queries — — 2-50ms retrieval via SQL, even with thousands of decisions
  • Duplicate Detection — — Three-tier similarity scoring (0-100) prevents redundant decisions
  • Constraint Tracking — — Architectural rules and principles as first-class entities
  • Auto-Capture — — Hooks automatically record decisions from Plan Mode (Claude Code, Codex, Grok Build, and Hermes via sqlew-plugin)
  • Session Context Injection — — Recent decisions and active constraints injected at session start (Claude Code, Hermes, Codex partial; not Grok Build — see matrix)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Sqlew MCP Server

{
  "mcpServers": {
    "sqlew-git": {
      "command": "npx",
      "args": ["-y", "sqlew"],
      "env": {
        "SQLEW_API_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
SQLEW_API_KEYCredential the server authenticates with.Yes

Frequently asked questions

ADR (Architecture Decision Record) for AI Agents – An MCP server that enables AI agents to create, query, and maintain architecture decision records in a structured Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.