# adrkit decision memory

> adrkit decision memory is an open-source MCP server for knowledge and memory. Read-only, offline lookup of your repo's ADRs, including rejected and superseded decisions. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, self-hosted
- **Website:** https://adrkit.dev
- **Repository:** https://github.com/mbeacom/adrkit/tree/HEAD/packages/mcp
- **MCP Registry name:** dev.adrkit/mcp
- **Categories:** knowledge and memory, developer tools
- **Listing updated:** 2026-11-15

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## 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

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Nautilus Compass Memory](https://ai-powered.com/mcp/nautilus-compass-memory): Nautilus Compass Memory is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/adrkit-decision-memory
