Adr MCP Setup logo

Adr MCP Setup

by wooxogh

Captures Claude Code conversations, generates and reviews ADRs, and tracks decision status, relationships, history, and stale records.

Install Adr MCP Setup

Run the project’s own setup commands, in order.

Setup steps from the project

wooxogh/adr-mcp-setup installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    git clone https://github.com/wooxogh/adr-mcp-setup.git
    
  2. 2. Run
    cd adr-mcp-setup
    
  3. 3. Install
    npm install
    
  4. 4. Add to Claude Code
    claude mcp add adr-skills node /absolute/path/to/adr-mcp-setup/index.js
    
  5. 5. Configure
    cp .env.example .env
    

Overview

wooxogh/adr-mcp-setup MCP server turns Claude Code conversations into structured Architecture Decision Records stored in SQLite and Markdown. A Claude Code Stop Hook can save session transcripts automatically, while manual tool calls support the same workflow. With an optional Anthropic API key, Claude Opus generates ADRs and reviews their quality; generation otherwise falls back to keyword extraction. Reach for it when architectural decisions need searchable history, lifecycle tracking, relationship mapping, and stale-decision checks.

Use cases

  • Capture Claude Code sessions as ADRs
  • Review ADR completeness and risks
  • Search past architectural decisions
  • Map dependencies and conflicts between ADRs
  • Find accepted decisions that need revisiting

Key features

  • Automatic session capture through a Claude Code Stop Hook
  • Claude Opus ADR generation with keyword fallback
  • Quality scoring and improvement suggestions
  • ADR lifecycle and relationship management
  • Keyword search and project timelines
  • Markdown export with SQLite storage

Tools9

What Adr MCP Setup lets your agent do. Expand a tool for its parameters.

Self-reported~113 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/15 checks healthy over the last 117d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars3Stargazers on the source repository.
Last commit8mo agoMost recent push to the default branch.
Tools exposed9Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Adr MCP Setup works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Adr MCP Setup

wooxogh/adr-mcp-setup is an MCP server that connects Claude Code conversations to local ADR storage and decision-management tools. Its main tools save sessions, generate and review ADRs, update statuses, link decisions, inspect graphs, detect stale records, search decisions, and view project timelines.

Install it by cloning the repository, running `npm install`, and registering `index.js` with Claude Code using `claude mcp add`. Copy `.env.example` to `.env` and add `ANTHROPIC_API_KEY` if you want Claude Opus generation or ADR reviews.

No, an Anthropic API key is not required for basic operation. Without it, `generate_adr` uses keyword-based extraction, while `review_adr` is unavailable. Adding `ANTHROPIC_API_KEY` enables Claude Opus generation and quality review.

Enable it by adding a `Stop` hook to `~/.claude/settings.json` that runs the repository's `hook.js` with Node. The hook captures the transcript when Claude Code exits; alternatively, call `save_session` manually and use its returned session ID with `generate_adr`.

It stores ADR records in Markdown under `~/.adr-mcp/adrs/` and session data in the SQLite database `~/.adr-mcp/sessions.db`. The Markdown files use `ADR-NNNN-slug.md` names and can be committed with project source code.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAdr MCP Setup AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/wooxogh-adr-mcp-setup?style=directory)](https://allmcps.com/mcp/wooxogh-adr-mcp-setup)
HTML Embed
<a href="https://allmcps.com/mcp/wooxogh-adr-mcp-setup"><img src="https://allmcps.com/api/badge/wooxogh-adr-mcp-setup?style=directory" alt="Adr MCP Setup on AllMCPs" /></a>