# wooxogh/adr-mcp-setup [Health: Active]

**Category:** 🗄️ Databases  
**Repository:** https://github.com/wooxogh/adr-mcp-setup  
**GitHub Stars:** 3  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/wooxogh-adr-mcp-setup

## Description
Automatically generates Architecture Decision Records (ADRs) from Claude Code conversations using Claude Opus. Features AI quality review, duplicate detection, dependency graph, and stale ADR alerts.

## Tools
Capabilities this server exposes over MCP:

- **save_session** — Save a conversation to the database
- **generate_adr** — Auto-generate an ADR from a session
- **review_adr** — Score ADR quality and get improvement suggestions
- **update_adr_status** — Transition ADR through its lifecycle
- **link_adrs** — Create relationships between ADRs
- **get_adr_graph** — Visualize the ADR dependency graph
- **check_stale_adrs** — Find old Accepted ADRs that need revisiting
- **search_decisions** — Keyword search across all past decisions
- **get_timeline** — Decision history for a project

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/wooxogh/adr-mcp-setup), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
git clone https://github.com/wooxogh/adr-mcp-setup.git
```

2. Run:

```sh
cd adr-mcp-setup
```

3. Install:

```sh
npm install
```

4. Add to Claude Code:

```sh
claude mcp add adr-skills node /absolute/path/to/adr-mcp-setup/index.js
```

5. Configure:

```sh
cp .env.example .env
```

## Documentation

## What wooxogh/adr-mcp-setup does

wooxogh/adr-mcp-setup captures development discussions from Claude Code and converts them into Architecture Decision Records. The resulting records use the Michael Nygard structure: title, status, context, decision, and consequences. ADRs are stored as Markdown files under `~/.adr-mcp/adrs/`, making them suitable for committing alongside a codebase, while session and decision data is kept in a SQLite database at `~/.adr-mcp/sessions.db`.

The server covers the later maintenance work as well as initial creation. It can identify overlapping past decisions, score ADR completeness, move records through proposed, accepted, deprecated, and superseded states, connect related decisions, search by keywords, display a dependency graph, and find accepted records that have become old enough to revisit.

## How it works

A Claude Code Stop Hook sends the completed conversation to the server's session-saving flow. The conversation can then be passed to ADR generation, which extracts the architectural context, selected option, and consequences. With `ANTHROPIC_API_KEY` configured, Claude Opus performs the generation and review; without the key, generation uses keyword-based extraction and quality review is unavailable.

Duplicate detection runs during ADR generation by comparing significant terms from the proposed title and decision against earlier ADRs. A match produces a warning, but does not prevent the new record from being saved. Relationships can represent `related_to`, `conflicts_with`, or `depends_on` connections, and the timeline tool provides project-level decision history correlated with git commits.

## Setup and configuration

Install Node.js 18 or newer, clone the repository, and run `npm install`. Register the Node entry point with Claude Code using `claude mcp add`, providing the absolute path to `index.js`. Copy `.env.example` to `.env` and add an Anthropic API key if AI generation or review is required.

Automatic capture requires a Claude Code Stop Hook entry in `~/.claude/settings.json`. The hook runs `hook.js` when a session ends. The workflow can also operate without the hook: call `save_session` with conversation text and pass the returned session ID to `generate_adr`.

## Tools and capabilities

wooxogh/adr-mcp-setup exposes nine MCP tools:

- `save_session` stores a conversation.
- `generate_adr` creates an ADR from a saved session.
- `review_adr` returns a quality score and improvement suggestions.
- `update_adr_status` changes an ADR's lifecycle state.
- `link_adrs` creates relationships between records.
- `get_adr_graph` returns the ADR relationship graph.
- `check_stale_adrs` finds older accepted decisions.
- `search_decisions` searches previous decisions by keyword.
- `get_timeline` returns a project's decision history.

## Limitations and notes

The automatic capture hook is specific to Claude Code, although the MCP tools, database, and Markdown output are not described as dependent on that assistant. An Anthropic API key is optional rather than universally required: basic saving, lifecycle management, linking, graph access, stale checks, searching, and timeline queries remain available without it. AI-assisted generation requires the key, and `review_adr` is unavailable without one.

_Full upstream README: https://allmcps.com/mcp/wooxogh-adr-mcp-setup/readme_

