MCP Adr Analysis Server logo

MCP Adr Analysis Server

by tosin2013

Analyzes ADRs against project code, tracks staleness, validates compliance, and supports optional ADR Aggregator synchronization.

Install MCP Adr Analysis Server

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "tosin2013-mcp-adr-analysis-server": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-adr-analysis-server"
      ],
      "env": {
        "PROJECT_PATH": "YOUR_VALUE_HERE",
        "ADR_AGGREGATOR_API_KEY": "YOUR_VALUE_HERE",
        "HTTP_PROXY": "YOUR_VALUE_HERE",
        "HTTPS_PROXY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 63 tools correctly (28d ago).

Overview

tosin2013/mcp-adr-analysis-server MCP server gives MCP-compatible coding assistants tools for examining Architectural Decision Records against a project’s code and infrastructure evidence. It supports ADR synchronization, context retrieval, staleness reporting, compliance validation, templates, Mermaid diagrams, and a cross-repository knowledge graph. The server runs in CE-MCP mode by default, returning orchestration directives for the host language model rather than requiring an external AI API key. Use it when an engineering team needs to review architectural decisions, identify drift, or connect ADR workflows to development projects.

Use cases

  • Check ADRs against current code
  • Review architectural decision staleness
  • Validate implementations against ADR requirements
  • Synchronize ADRs with an aggregator
  • Retrieve diagrams and domain-specific ADR templates

Key features

  • ADR drift and compliance analysis
  • ADR Aggregator synchronization
  • Staleness and governance reports
  • Mermaid ADR diagram retrieval
  • Tree-sitter code analysis
  • Cross-repository knowledge graph access

Tools63

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

Verified live~18.5k 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 Today

Recent health check succeeded.

17/18 checks healthy over the last 78d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 6d ago via OSV.dev · mcp-adr-analysis-server (npm)

Adoption & maintenance

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

GitHub stars35Stargazers on the source repository.
npm downloads2.3kPackage downloads in the last 30 days.
Last commitTodayMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed63Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Adr Analysis Server works

What tosin2013/mcp-adr-analysis-server MCP server does

tosin2013/mcp-adr-analysis-server MCP server connects an MCP-compatible AI assistant with project code and Architectural Decision Records. It is intended for reviewing whether documented decisions still match implementation evidence, maintaining ADR context, and supporting architectural governance.

The project describes capabilities including technology-stack and architectural-pattern detection, drift detection, sensitive-content masking, decision memory, smart code linking, and deployment-readiness validation. Its session and tool-usage tracker stores project-local JSON snapshots and supports keyword-scored retrieval; it is not a graph database.

This server fits the Developer Tools category and is most relevant to teams that keep ADRs alongside active software projects. The optional ADR Aggregator integration can synchronize and share ADR context across teams.

How it works

The server communicates with an MCP client such as Claude Desktop, Cline, Cursor, or Windsurf. In the default CE-MCP mode, tools return orchestration directives that the host LLM uses to carry out analysis.

Tree-sitter provides incremental AST analysis for YAML and TypeScript and is used for semantic code understanding, function-signature extraction, and architectural-pattern discovery. Smart code linking combines keyword extraction with ripgrep searches to locate files related to ADRs and decisions. If native modules cannot be built, the server can run in a reduced mode without Tree-sitter code analysis.

Setup and configuration

The tosin2013/mcp-adr-analysis-server MCP server requires Node.js 20 or newer and npm 9 or newer. Install it globally with npm install -g mcp-adr-analysis-server, run it without a permanent installation through npx mcp-adr-analysis-server, or clone the repository and run npm install followed by npm run build.

A client configuration supplies the executable and the project location:

config.json
{
  "mcpServers": {
    "adr-analysis": {
      "command": "mcp-adr-analysis-server",
      "env": {
        "PROJECT_PATH": "/path/to/your/project"
      }
    }
  }
}

PROJECT_PATH identifies the project to analyze. The optional ADR Aggregator integration uses ADR_AGGREGATOR_API_KEY. Internet access is needed during installation for native module compilation; HTTP_PROXY and HTTPS_PROXY can be set for corporate proxy environments. An RHEL-specific installer is also provided.

Tools and capabilities

The listed MCP tools cover these operations:

  • sync_to_aggregator: Send local ADRs to the optional platform.
  • get_adr_context: Retrieve ADR context from that platform.
  • get_staleness_report: Request ADR governance and health reports.
  • get_adr_templates: Retrieve templates for specific domains.
  • get_adr_diagrams: Obtain Mermaid diagrams for ADRs.
  • validate_adr_compliance: Check an implementation against an ADR.
  • get_knowledge_graph: Access a cross-repository knowledge graph.

The broader feature set also includes live drift checks against code and infrastructure evidence, security-oriented masking of secrets, PII, and other sensitive content, ADR generation and maintenance support, and deployment-readiness checks with hard test-failure blocking.

Limitations and notes

Native Tree-sitter analysis depends on successful installation and compilation of its modules. When those builds fail, the server remains usable in reduced mode but does not provide Tree-sitter code analysis. Installation requires network access unless the needed dependencies are already available.

The ADR Aggregator is optional rather than required for local analysis. The session and tool-usage tracker uses local JSON snapshots and keyword scoring, so it should not be treated as a general-purpose graph database. The repository lists an MIT license and requires a compatible MCP client.

Reviews

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

Frequently Asked Questions about MCP Adr Analysis Server

tosin2013/mcp-adr-analysis-server is an MCP server that connects an MCP-compatible AI coding client to project ADRs and code, with optional ADR Aggregator integration. Its main tools sync and retrieve ADR context, report staleness, provide templates and diagrams, validate ADR compliance, and expose a cross-repository knowledge graph.

Install it with `npm install -g mcp-adr-analysis-server` or run `npx mcp-adr-analysis-server`. Source installations require `npm install` and `npm run build` after cloning the repository. Node.js 20 or newer and npm 9 or newer are required.

Yes, tosin2013/mcp-adr-analysis-server works with Cursor. Add the server command to Cursor’s MCP configuration and set `PROJECT_PATH` to the project directory you want the tools to analyze.

No, the default CE-MCP setup does not require an external AI API key. An `ADR_AGGREGATOR_API_KEY` is used only for the optional ADR Aggregator integration that synchronizes and shares ADR context.

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 PreviewMCP Adr Analysis Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/tosin2013-mcp-adr-analysis-server?style=directory)](https://allmcps.com/mcp/tosin2013-mcp-adr-analysis-server)
HTML Embed
<a href="https://allmcps.com/mcp/tosin2013-mcp-adr-analysis-server"><img src="https://allmcps.com/api/badge/tosin2013-mcp-adr-analysis-server?style=directory" alt="MCP Adr Analysis Server on AllMCPs" /></a>