Code Auditor MCP
Audits AI-edited code against configurable architectural rules and can block violating changes through supported agent hooks.
Install Code Auditor MCP
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"code-auditor-mcp": {
"command": "npx",
"args": [
"-y",
"code-auditor-mcp"
]
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Automated check passed— started and listed 8 tools correctly (16d ago).
Overview
Use cases
- Enforce import and module boundaries during AI-assisted edits
- Block banned APIs or AST patterns before changes land
- Audit only files changed against a base branch
- Review violations one file at a time with an agent
- Require naming conventions for exported symbols
Key features
- Configurable architectural invariants in `.codeauditor.json`
- Seven built-in rule categories
- Full and changed-code audits
- Blocking and advisory agent hook modes
- SQLite-backed project code index
- MCP configuration generation for multiple clients
Tools8
What Code Auditor MCP lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
What it can do
From the 8 tools this server returned when we ran it.
Observed 2026-10-25 in an isolated sandbox. A description of reach, not a security audit.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 17d ago via OSV.dev · code-auditor-mcp (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Code Auditor MCP works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Code Auditor MCP
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/code-auditor-mcp)<a href="https://allmcps.com/mcp/code-auditor-mcp"><img src="https://allmcps.com/api/badge/code-auditor-mcp?style=directory" alt="Code Auditor MCP on AllMCPs" /></a>