wooxogh/adr-mcp-setup

šŸ’» Developer Tools
0 Views
0 Installs

šŸ“‡ šŸ  - 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.

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "wooxogh-adr-mcp-setup": {
      "command": "npx",
      "args": [
        "-y",
        "wooxogh-adr-mcp-setup"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

adr-skills

adr-skills is an MCP server for Claude Code that automatically captures development conversations and uses Claude Opus to generate, review, and manage Architecture Decision Records (ADRs).

TL;DR: Install once, and every Claude Code session ends with a structured ADR saved to ~/.adr-mcp/adrs/ — no manual writing required.

adr-skills MCP server

What problem does this solve?

Engineering teams make dozens of architectural decisions every week — which database to use, how to handle auth, whether to go monolith or microservices — but rarely write them down. Months later, nobody remembers why Redis was chosen over Memcached, or why the team avoided GraphQL.

adr-skills solves this by turning your existing Claude Code conversations into permanent, searchable ADR documents automatically.

How it works

  1. You have a normal development conversation in Claude Code
  2. When the session ends, the Stop Hook captures the transcript
  3. Claude Opus analyzes the conversation and extracts the architectural decision
  4. A structured markdown ADR is saved to ~/.adr-mcp/adrs/ADR-0001-*.md
  5. Use review_adr to score quality, link_adrs to map dependencies, check_stale_adrs to surface outdated decisions

Features

  • Auto session capture — Stop Hook saves conversations automatically on Claude Code exit; no manual steps
  • AI-powered ADR generation — Claude Opus extracts context, decision, and consequences from raw conversation
  • AI quality review — Scores ADR completeness 0–100 and flags missing context, unconsidered alternatives, or optimistic consequences
  • Duplicate detection — Warns when a new decision overlaps with a past one before saving
  • Markdown export — Every ADR exported as ADR-NNNN-slug.md, ready to commit alongside your code
  • Status lifecycle — Track decisions through Proposed → Accepted → Deprecated → Superseded
  • Dependency graph — Link ADRs with related_to, conflicts_with, depends_on and visualize relationships
  • Stale ADR alerts — Surface Accepted decisions older than N months that may need revisiting
  • Keyword search — Find past decisions by technology name (e.g. Redis, JWT, PostgreSQL)
  • Timeline view — Full decision history per project, correlated with git commits

How is this different from existing ADR tools?

ToolAuto-capture from chatAI generationQuality reviewMCP server
adr-skillsāœ…āœ… Claude Opusāœ…āœ…
adr-tools (CLI)āŒāŒāŒāŒ
mcp-adr-analysis-serverāŒāœ… OpenRouterāŒāœ…
claude-historian-mcpāœ…āŒāŒāœ…
log4brainsāŒāŒāŒāŒ

No existing tool combines automatic conversation capture with AI-powered ADR generation in a single MCP server. There is an open feature request on the Anthropic repo for native ADR support — adr-skills fills that gap today.

Installation

git clone https://github.com/wooxogh/adr-mcp-setup.git
cd adr-mcp-setup
npm install

Register with Claude Code

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

Environment setup

cp .env.example .env
# Add your ANTHROPIC_API_KEY to .env

Without the API key, generate_adr falls back to keyword-based extraction and review_adr is unavailable. .env is in .gitignore — your key will never be committed.

Enable auto session capture (Stop Hook)

Add to ~/.claude/settings.json:

{
  "hooks": {
    "Stop": [{
      "matcher": "",
      "hooks": [{
        "type": "command",
        "command": "node /absolute/path/to/adr-mcp-setup/hook.js"
      }]
    }]
  }
}

Tools (9 total)

ToolDescriptionRequires API key
save_sessionSave a conversation to the databaseāŒ
generate_adrAuto-generate an ADR from a sessionāŒ (AI mode: āœ…)
review_adrScore ADR quality and get improvement suggestionsāœ…
update_adr_statusTransition ADR through its lifecycleāŒ
link_adrsCreate relationships between ADRsāŒ
get_adr_graphVisualize the ADR dependency graphāŒ
check_stale_adrsFind old Accepted ADRs that need revisitingāŒ
search_decisionsKeyword search across all past decisionsāŒ
get_timelineDecision history for a projectāŒ

generate_adr example output

# ADR-1: Adopt Redis as the caching layer

## Status
Accepted

## Context
We needed pub/sub support for real-time notifications.
Memcached only handles simple key-value caching and could not meet this requirement.

## Decision
We adopted Redis as both cache and message broker.
It supports pub/sub, TTL, and persistence, and the team already has operational experience with it.

## Consequences
Real-time features can now be implemented without a separate message broker.
We must account for Redis operational costs and treat it as a potential single point of failure.

review_adr example output

## ADR-1 Review — Score: 62/100

Good context, but decision rationale and risk coverage need work.

### Issues
šŸ”“ [decision] No alternatives were considered before choosing Redis
🟔 [consequences] Risks are mentioned but mitigation strategies are missing

### Suggestions
1. Explicitly document why Memcached was rejected
2. Add a rollback plan if Redis becomes a bottleneck

get_adr_graph example output

## ADR Dependency Graph

### depends on
  ADR-5 "Use JWT for auth"  →  ADR-2 "Adopt Redis as cache"

### conflicts with
  ADR-7 "Move to stateless sessions"  āœ•  ADR-2 "Adopt Redis as cache"

FAQ

Q: Do I need an Anthropic API key? No. Without a key, generate_adr uses keyword extraction as a fallback. With a key, Claude Opus produces significantly more accurate ADRs and review_adr becomes available.

Q: Where are ADRs stored? Two places: SQLite database at ~/.adr-mcp/sessions.db and markdown files at ~/.adr-mcp/adrs/. The markdown files are git-committable.

Q: Can I use this without the Stop Hook? Yes. Call save_session manually with your conversation text, then generate_adr with the returned session ID.

Q: Does this work with other AI assistants besides Claude? The MCP server protocol is open, but the Stop Hook is Claude Code-specific. The database and markdown exports are tool-agnostic.

Q: How does duplicate detection work? When generating an ADR, adr-skills extracts significant keywords from the title and decision text and queries for overlapping past ADRs. Matches are shown as warnings — the new ADR is still saved.

Q: What ADR format does this use? The Michael Nygard ADR format (Title, Status, Context, Decision, Consequences), which is the most widely adopted format in the software industry.

Project structure

adr-mcp-setup/
ā”œā”€ā”€ index.js      ← MCP server — 9 tool definitions and routing
ā”œā”€ā”€ db.js         ← SQLite CRUD (sessions, adrs, adr_relations tables)
ā”œā”€ā”€ adr.js        ← ADR extraction and AI review logic (Claude Opus)
ā”œā”€ā”€ hook.js       ← Claude Code Stop Hook for automatic session capture
ā”œā”€ā”€ .env.example  ← Environment variable template
└── package.json

Database: ~/.adr-mcp/sessions.db ADR files: ~/.adr-mcp/adrs/ADR-NNNN-slug.md

Requirements

  • Node.js 18+
  • Claude Code CLI
  • Anthropic API Key (optional — required for AI generation and review)

Related MCP Servers

Moxie-Docs-MCPā˜… Featured

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

šŸ’» Developer Tools2 views
3KniGHtcZ/codebeamer-mcp

šŸ“‡ ā˜ļø šŸŽ 🪟 🐧 - Codebeamer ALM integration for managing work items, trackers, and projects. Provides 17 tools for reading and writing items, associations, references, comments, and risk management data via Codebeamer REST API v3.

šŸ’» Developer Tools1 views
21st-dev/Magic-MCP

Create crafted UI components inspired by the best 21st.dev design engineers.

šŸ’» Developer Tools0 views
a-25/ios-mcp-code-quality-server

šŸ“‡ šŸ  šŸŽ - iOS code quality analysis and test automation server. Provides comprehensive Xcode test execution, SwiftLint integration, and detailed failure analysis. Operates in both CLI and MCP server modes for direct developer usage and AI assistant integration.

šŸ’» Developer Tools0 views

Engagement

Views
0
Installs
0
Upvotes
0

Views and upvotes are unique per visitor network (hashed IP). Installs count copy actions.

Status

Health: Not checked yet

We have not completed a health check for this listing yet.

No check timestamp yet.

Unclaimed listing (imported or pending owner verification). Claim it →
ā˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.