Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

mcp-adr-analysis-server

MCP server by tosin2013 Community

Detects drift between architectural decision records (ADRs) and live code, masks sensitive content, and keeps decision memory across sessions. Built for AI coding assistant users, architects and development teams. Runs in CE-MCP mode by default with no API key required.

  • Score 80
  • 36 stars
  • 709 a week
  • MIT
  • Updated

Install mcp-adr-analysis-server

Built from the published package, never by AI.

claude mcp add mcp-adr-analysis-server -- npx -y mcp-adr-analysis-server

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install mcp-adr-analysis-server in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-adr-analysis-server block.

About

mcp-adr-analysis-server is an MCP server that checks architectural decision records (ADRs) against live code and infrastructure evidence. It flags ADR drift, detects and masks secrets and PII, and tracks session and tool-usage history with keyword-scored retrieval. The server exposes 63 tools that run in CE-MCP mode by default, where the host LLM executes orchestration directives returned by each tool.

It uses tree-sitter AST analysis for code understanding and links ADRs to related code files with keyword extraction and ripgrep search. The server works with Claude Desktop, Cline, Cursor and Windsurf, and requires Node.js 20 or higher. It is aimed at AI coding assistant users, enterprise architects and development teams who want their ADRs to stay accurate.

Written from the project's README and checked against it.

Tools it gives your assistant

  • Drift DetectionValidates ADR decisions against live code and infrastructure evidence.
  • Content SafetyDetects and masks secrets, PII, and sensitive content automatically.
  • Decision MemoryTracks sessions and tool usage with keyword-scored retrieval over JSON snapshots.
  • Technology DetectionIdentifies tech stacks and architectural patterns in a project.
  • ADR ManagementGenerates, suggests, and maintains Architectural Decision Records.
  • Smart Code LinkingDiscovers code files related to ADRs using keyword extraction and ripgrep search.
  • Deployment ReadinessRuns zero-tolerance test validation with hard blocking.

What you need

  • Node.js 20.0.0 or higher
  • npm 9.0.0 or higher
  • An MCP-compatible client such as Claude Desktop, Cline, Cursor or Windsurf
  • Internet access during npm install for native modules
SettingNeededWhat it is
PROJECT_PATHEnvironment variableOptionalPath to the project directory to analyze (defaults to current directory)
OPENROUTER_API_KEYEnvironment variable, secretOptionalOpenRouter API key for AI-powered analysis (required for full execution mode)
EXECUTION_MODEEnvironment variableOptionalExecution mode: 'ce-mcp' (default), 'full' for AI results, or 'prompt-only' for prompts
ADR_DIRECTORYEnvironment variableOptionalADR directory relative to project path (default: docs/adrs)

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • Check my ADRs for drift against the current code in this project
  • Mask any secrets or PII in this architecture document
  • Remember this architectural decision for future sessions

Good to know

  • Full mode requires an OpenRouter API key and is not recommended by the author.
  • If native builds fail, the server runs in reduced mode without tree-sitter analysis.
  • The ADR Aggregator sync is an optional SaaS integration that needs its own API key.

Security check

C
  • Downloads a script from the internet and runs itIn README.md: curl -sSL https://raw.githubusercontent.com/tosin2013/mcp-adr-analysis-server/main/scripts/install-rhel.sh | bash

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to mcp-adr-analysis-server

All alternatives →

Compare with Jitsu, Vexa or Linkedin MCP server

mcp-adr-analysis-server: common questions

Does mcp-adr-analysis-server need an API key?

No. The default CE-MCP mode needs no API key, because the host LLM runs the analysis. An OpenRouter key is only needed for the optional legacy full mode.

What does CE-MCP mean?

CE-MCP stands for Claude-Enriched MCP. Tools return orchestration directives for the host LLM instead of making their own AI calls.

What happens if tree-sitter fails to build?

The server operates in reduced mode without tree-sitter code analysis. The source says offline fallback is available when native builds fail.

How do I install mcp-adr-analysis-server?

In Claude Code run claude mcp add mcp-adr-analysis-server -- npx -y mcp-adr-analysis-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is mcp-adr-analysis-server the official server?

mcp-adr-analysis-server is a community project by tosin2013, not verified by a company domain.

Is mcp-adr-analysis-server free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is mcp-adr-analysis-server safe to use?

It scores 80 of 100. Grades: maintenance A, licence A, quality C. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.

What are alternatives to mcp-adr-analysis-server?

Similar MCP servers: Jitsu, Vexa, Linkedin MCP server, Netsapiens MCP.

Does mcp-adr-analysis-server work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

mcp-adr-analysis-server Install

Add to stack

Loading.