Skip to content
MCP server

adrkit decision memory

Read-only, offline lookup of your repo's ADRs, including rejected and superseded decisions

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, self-hosted
Runs
Locally
Version
0.20.0
Listing updated
2 days ago

About adrkit decision memory

adrkit decision memory is an open-source MCP server for knowledge and memory. It runs locally on your machine and is started by your AI client.

The server targets a specific failure: coding agents re-proposing designs a team already ruled out. It reads one Git-backed corpus of architecture decision records (Markdown with typed YAML frontmatter) and answers whether something has been decided, what governs a set of files, and what replaced an older decision. Rejected and superseded decisions are surfaced on purpose.

The README is strict about scope: no model calls, no network calls and no writes. It exposes four read-only tools, each annotated readOnlyHint true and openWorldHint false. It runs over stdio, needs Node 22 or newer, and is still pre-1.0, so the README advises pinning a version.

Two settings matter. ADRKIT_MCP_CWD (or --cwd) is the repository root and must contain a readable .git entry; ADRKIT_MCP_DIR (or --dir) is the ADR directory, default docs/adr, which must stay inside the root, with symlink escapes rejected. Claude Desktop launches from an arbitrary directory, so it needs the root set explicitly.

Install

Run in a terminal

claude mcp add mcp -- npx -y @adrkit/mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@adrkit/mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@adrkit/mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@adrkit/mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@adrkit/mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@adrkit/mcp"
      ]
    }
  }
}

Configuration

  • ADRKIT_MCP_CWDRepository root; must contain a readable .git entry. Defaults to the process working directory.
  • ADRKIT_MCP_DIRADR directory, resolved against the root and required to stay contained within it. Defaults to docs/adr.

What it does

No model or network
The server never calls an LLM or opens a socket.
Read-only
All four tools are annotated readOnlyHint true and nothing is written.
Rejected decisions surfaced
Superseded and rejected records are returned so agents stop reproposing them.
Governing records
Finds which accepted decisions apply to given files.
Contained paths
The ADR directory must stay within the repo root; symlink escapes are rejected.
Client configs
README gives setups for Claude Desktop, VS Code, Cursor and Copilot CLI.

Good for

  • Check whether a design was already decided before an agent proposes it
  • Find which ADRs govern files an agent is about to change
  • Trace what replaced a superseded decision
  • Keep agent-written plans consistent with accepted architecture
  • Surface rejected alternatives during code review

Pricing

Open source

Prices change. Check adrkit.dev before you buy.

adrkit decision memory FAQ

Does it send data anywhere?

No. The README states there are no model or network calls and no writes.

How do I point it at my repo?

Use --cwd or ADRKIT_MCP_CWD for the root and --dir or ADRKIT_MCP_DIR for the ADR folder (default docs/adr).

What does it need?

Node.js 22 or newer, and the root must contain a readable .git entry.

Is it stable?

It is pre-1.0; the README recommends pinning a version of @adrkit/mcp.

How many tools are there?

Four, all read-only.

Is adrkit decision memory free?

Yes. adrkit decision memory is open source, so you can use and self-host it for free.

How do I add adrkit decision memory to Claude Code?

Run this command in your terminal: claude mcp add mcp -- npx -y @adrkit/mcp

What are the best alternatives to adrkit decision memory?

The closest alternatives to adrkit decision memory are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to adrkit decision memory

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools