Skip to content
MCP server
Registry

AdrMcp MCP Server

MCP server for Architectural Decision Records: navigate, author, validate, link, and analyze them.

AdrMcp scores 67 (Good), licensed MIT and written in C#. It installs as a local process. It declares 18 tools. Filed under Knowledge, AI and memory. GitHub shows 1 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by atypical-consultingMITC#1 stars
Trust score
67Good
Trust score 67 of 100, Good

Good trust

67 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 67 comes from

22 + 20 + 1 + 10 + 4 + 10 = 67. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity1 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 1 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "atypical-consulting-adrmcp": {      "command": "dnx",      "args": [        "AdrMcp"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools18Tool docs quality grade D

All capabilities

About

AdrMcp banner

AdrMcp

Table of Contents

Getting Started

Prerequisites

Run

git clone https://github.com/Atypical-Consulting/AdrMcp.git
cd AdrMcp
dotnet restore
dotnet build
dotnet run --project AdrMcp/AdrMcp.csproj

Every architectural decision, on the record โ€” an MCP server that turns a folder of Markdown ADRs into live tools your AI agent can use: search, author, validate, link, and trace decisions.

CI NuGet License: MIT .NET 10 MCP server

๐ŸŒ atypical-consulting.github.io/AdrMcp

AdrMcp โ€” Every architectural decision, on the record

Features

  • Read & search ADRs โ€” list_adrs, get_adr, search_adrs (lexical or semantic), and get_adr_index for the full decision timeline.
  • Author from a template โ€” create_adr drafts MADR- or Nygard-format ADRs; update_adr replaces or appends a single section.
  • Lifecycle-aware transitions โ€” set_status enforces the ADR lifecycle; supersede_adr creates the replacement and marks/links the old one superseded in a single call.
  • Relationship graph & staleness detection โ€” find_related_adrs / get_adr_graph expose links and supersession chains; find_stale_adrs flags ADRs whose code_refs no longer resolve in the codebase.
  • Conflict & coverage analysis โ€” detect_conflicts surfaces contradictory accepted decisions; coverage_report highlights ADR coverage gaps by architectural area.
  • Preview-by-default writes โ€” every mutating tool defaults to previewOnly: true and returns a unified diff before anything touches disk.
  • Ships as a dotnet tool, NuGet package, and Docker image, plus three bundled Claude Code skills (adr-author, adr-review, adr-supersede) for the judgment layer on top of the raw tools.

The problem

Architectural decisions get made in Slack threads, PR comments, and someone's head โ€” then the reasoning evaporates. Months later a teammate asks "why is it done this way?", nobody remembers, and the decision gets silently re-litigated or accidentally reversed. ADRs fix that โ€” if they're written and kept honest. But a folder of Markdown files is inert: you can't ask it what's still accepted, trace what superseded what, or notice a decision that no longer matches the code.

It's worse with AI coding agents: the one collaborator that could keep decisions current has no way to read, write, or reason about them.

The solution

AdrMcp makes that folder a live surface any MCP client can work. It gives your agent tools to list and search decisions, draft new ones from a MADR template, validate structure and links, supersede a decision while preserving its history, and flag stale or conflicting ones โ€” all preview-by-default, so nothing is written without you seeing the diff.

The records stay plain Markdown in git; AdrMcp adds the tools. Built as a .NET 10 stdio MCP server, architecturally modeled on RoselineMCP โ€” layered Tools โ†’ Services, [McpServerTool] attributes, shipped as a dotnet tool + Docker image.

Storage & format

ADRs are markdown files under an ADR root (default docs/adr/), one file per decision named NNNN-kebab-title.md, using MADR 4.0 frontmatter + sections:

---
id: 1
title: Use PostgreSQL for persistence
status: accepted          # proposed | accepted | rejected | deprecated | superseded
date: 2026-07-08
tags: [data]
links:
  - { type: superseded-by, target: 5 }
code_refs:
  - { path: src/Data/Repository.cs, symbol: PostgresRepository }
---

# Use PostgreSQL for persistence

## Context and Problem Statement
...
## Decision Outcome
...
## Consequences
...

Everything is git-native, human-readable, and diff-able โ€” no database.

Tools

ToolKindDescription
list_adrsreadList/filter ADRs (status, tag, date range)
get_adrreadGet one ADR; optionally only selected ## sections
search_adrsreadLexical (default) or semantic term-vector search
get_adr_indexreadThe decision log / timeline
find_related_adrsreadIncoming/outgoing links + supersession chain
get_adr_graphreadFull relationship graph (nodes + typed edges)
create_adrwriteCreate an ADR from a template (madr or nygard)
update_adrwriteReplace/append a single ## section
set_statuswriteTransition status (enforces the lifecycle)
supersede_adrwriteCreate replacement + mark old superseded + link, in one call
link_adrswriteTyped link between two ADRs (adds inverse)
validate_adrreadMADR compliance: sections, status, dangling links, duplicate ids
detect_conflictsreadExplicit conflicts-with + highly similar accepted ADRs
find_stale_adrsreadADRs whose code_refs no longer resolve
coverage_reportreadADR coverage per architectural area (tag); surfaces gaps
suggest_adr_from_changereadDraft an ADR proposal from a unified diff
render_indexwriteRegenerate the browsable README.md decision index
diff_adrreadDiff two ADRs, or a file vs its canonical rendering

Writes are preview-by-default. Every mutating tool takes previewOnly (default true) and returns a unified diff of the intended change; pass previewOnly=false to write to disk.

Configuration

Resolved in order: CLI arg โ†’ env var โ†’ default.

SettingCLIEnvDefault
ADR root--adr-root <path>ADR_ROOT<repo>/docs/adr
Repo root (for code_refs)--repo-root <path>ADR_REPO_ROOTcurrent directory

Code-linking is provider-based

find_stale_adrs resolves code_refs through an ICodeLinkProvider. The default FileSystemCodeLinkProvider is language-agnostic (a ref resolves if the file exists and, when a symbol is given, that symbol's text is present). A Roslyn (.NET) or codebase-memory provider can be plugged in behind the same interface โ€” deep symbol resolution stays the client's job.

Run

# from source
dotnet run --project AdrMcp -- --adr-root ./docs/adr

# as a global tool
dotnet tool install -g AdrMcp
adr-mcp --adr-root ./docs/adr

MCP client config

{
  "mcpServers": {
    "adr": {
      "command": "adr-mcp",
      "args": ["--adr-root", "/path/to/repo/docs/adr", "--repo-root", "/path/to/repo"]
    }
  }
}

Docker

docker build -t adr-mcp .
docker run --rm -i -v "$PWD:/workspace" adr-mcp --adr-root /workspace/docs/adr

Usage

Once adr-mcp is registered as an MCP server, an agent calls its tools directly. A typical read-then-write flow:

// "What ADRs do we have about data storage?"
list_adrs({ "tag": "data" })
// โ†’ [{ "id": 5, "title": "Use PostgreSQL for persistence", "status": "accepted", "tags": ["data"] }]

// "Draft a decision for switching to gRPC internally" โ€” nothing is written yet
create_adr({
  "title": "Adopt gRPC for internal services",
  "template": "madr",
  "previewOnly": true
})
// โ†’ unified diff of the new docs/adr/0006-adopt-grpc-for-internal-services.md

// Once the content looks right, write it for real
create_adr({ "title": "Adopt gRPC for internal services", "template": "madr", "previewOnly": false })

// Later, retire an old decision in favor of a new one, preserving history
supersede_adr({ "oldId": 2, "newTitle": "Replace REST gateway with gRPC", "previewOnly": false })

Claude skills

Three project skills under .claude/skills/ add the judgment/workflow layer on top of the MCP tools (the server provides the mechanics; the skills provide the craft). They activate automatically in Claude Code when the connected AdrMcp server is available:

SkillTriggers onWhat it does
adr-author"write an ADR", "record this decision"Decide if a decision warrants an ADR, frame a sharp Context/Decision/Consequences, draft via create_adr + validate_adr
adr-review"review this ADR", "does this decision hold up"Structural + substantive critique against a rubric, using validate_adr / detect_conflicts
adr-supersede"we changed our mind", "retire this decision"Pick the right lifecycle move and drive supersede_adr / set_status with correct linking

Develop

dotnet build AdrMcp.slnx
dotnet test AdrMcp.slnx        # unit tests + MCP-over-stdio integration tests
dotnet pack AdrMcp/AdrMcp.csproj -c Release -o ./artifacts

CI builds with build.cs, an Isotope build (needs the .NET 11 SDK). dotnet run build.cs lists its targets; dotnet run build.cs -- coverage runs the ubuntu leg locally, 80% coverage gate included. See CONTRIBUTING.md.

Continuous integration

CI/CD runs on GitHub Actions, modeled on RoselineMCP:

WorkflowTriggerWhat it does
ci.ymlpush / PR to main/devdotnet run build.cs matrix (ubuntu/windows/macos); 80% line-coverage gate on ubuntu
codeql.ymlpush / PR / weeklyCodeQL security analysis (C#)
pages.ymlpush to site/** on devPublish the landing page to GitHub Pages
release-please.ymlpush to devMaintain a release PR (Conventional Commits); on merge, publish NuGet + MCPB + MCP Registry + GHCR image

Releases are automated with release-please: merge the release PR it opens to ship. See PUBLISH.md.

Project layout

AdrMcp/
โ”œโ”€โ”€ Interfaces/   service contracts (IAdrRepository, ICodeLinkProvider, โ€ฆ)
โ”œโ”€โ”€ Services/     repository, templates, validation, graph, search, embeddings, code-links
โ”œโ”€โ”€ Tools/        Navigation / Authoring / Intelligence / Utility MCP tools
โ”œโ”€โ”€ Models/       Adr, AdrStatus, AdrLink, CodeRef, response DTOs
โ””โ”€โ”€ Program.cs    DI wiring + stdio MCP host

Tech Stack

  • .NET 10
  • ModelContextProtocol
  • xunit
  • xunit.runner.visualstudio
  • DiffPlex
  • Markdig
  • Microsoft.Extensions.Hosting
  • YamlDotNet

Roadmap

  • Real embedding-backed semantic search for search_adrs / detect_conflicts (beyond term-vector similarity)
  • Roslyn-based ICodeLinkProvider for deep C# symbol resolution in find_stale_adrs
  • Additional ADR templates beyond MADR/Nygard (e.g. Y-statements)
  • Editor extension (VS Code / JetBrains) to browse and visualize the decision graph
  • Broaden the CI coverage gate and publish to additional package registries

See the open issues for details and to propose new ideas.

Atypical MCP servers

Part of a suite of Model Context Protocol servers by Atypical Consulting:

  • RoselineMCP โ€” Roslyn code intelligence for AI agents
  • ASTral โ€” structured code retrieval (tree-sitter)
  • AdrMcp โ€” Architecture Decision Records over MCP
  • MarkdownInk โ€” Markdown rendering for the terminal

Contributing

Contributions are welcome. Open an issue first to discuss any significant change.

  1. Fork the repository and create your branch (git checkout -b feat/my-feature)
  2. Commit your changes (git commit -m 'feat: ...')
  3. Push the branch and open a Pull Request

Built by Atypical Consulting. We also make NuGetKeep, a self-hosted NuGet server with supply-chain quarantine.

Frequently asked questions

What is AdrMcp MCP Server?

MCP server for Architectural Decision Records: navigate, author, validate, link, and analyze them.

How do I install AdrMcp MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. AdrMcp MCP Server runs locally from the NuGet package AdrMcp with the command dnx AdrMcp.

Is AdrMcp MCP Server free and open source?

Yes. AdrMcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does AdrMcp MCP Server support remote (HTTP) connections?

No remote endpoint is listed for AdrMcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does AdrMcp MCP Server provide?

AdrMcp MCP Server provides 18 tools, including coverage_report, create_adr, detect_conflicts, and diff_adr. See the full tool list for descriptions and parameters.

How is AdrMcp MCP Server's trust score calculated?

AdrMcp MCP Server scores 67 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

โ€”Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server