io. github. BenAHammond/ code-auditor-mcp
by BenAHammond · remote · local (npm) · no sign-in to list tools · v5.0.2 · published by GitHub user BenAHammond
Enforces architectural invariants and code quality rules inside your AI agent's edit loop.
4 tools: 1 can delete or cancel things and 3 only read.
Scanned Oct 21, 2026
- Deletes or cancels1Claude Code: deny: see these tools
- Can't be undone0Claude Code: ask
- Changes things0Claude Code: ask
- Only reads3Claude Code: allow: see these tools
No check matched anything in the tool definitions. No finding is not a safety guarantee. How the checks work.
claude mcp add --transport http code-auditor https://www.codeauditormcp.com/api/mcpTools
Open a tool for its reasons and full description. Descriptions are the publisher's own words, shown as they are.
4 tools
Deletes or cancels 1Claude Code: deny
request_ruleRequest a new Code Auditor rule.No findings
Why it is in this group
- The name "request_rule" says "request": a word for a change.
- The server marks it destructive (destructiveHint: true).
Description, as the server wrote it Request a new Code Auditor rule. Call lookup_rule or explain_symptom first to confirm no existing rule covers it. Provide a minimal example that should be flagged and a corrected example that should not. Reduce both to the smallest code that shows the difference, and remove secrets and proprietary identifiers. Returns a receipt id.
Annotations the server declares
- readOnlyHint: false
- destructiveHint: true
- idempotentHint: false
- openWorldHint: false
Only reads 3Claude Code: allow
explain_symptomMap a natural-language symptom (e.g.No findings
Why it is in this group
- The name "explain_symptom" says "explain": a word for reading.
Description, as the server wrote it Map a natural-language symptom (e.g. 'my app is slow', 'hardcoded password', 'infinite react loop') to the relevant Code Auditor rule(s) and their fixes. Call this when a user describes a problem rather than naming a rule.
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- idempotentHint: true
- openWorldHint: false
get_install_commandsReturn the exact install commands for Code Auditor for a given AI agent.No findings
Why it is in this group
- The name "get_install_commands" says "get": a word for reading.
Description, as the server wrote it Return the exact install commands for Code Auditor for a given AI agent. Call this when a user asks how to install Code Auditor, or asks for the command for a specific agent (claude, cursor, codex, gemini, agents, zcode, or all).
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- idempotentHint: true
- openWorldHint: false
lookup_ruleReturn the rule kind, description, default severity, detection method, and threshold for a given Code Auditor rule or analyzer.No findings
Why it is in this group
- The name "lookup_rule" says "lookup": a word for reading.
Description, as the server wrote it Return the rule kind, description, default severity, detection method, and threshold for a given Code Auditor rule or analyzer. Call this when a user asks what a specific rule does (e.g. import-ban, sql-injection, n+1).
Annotations the server declares
- readOnlyHint: true
- destructiveHint: false
- idempotentHint: true
- openWorldHint: false
This is not a safety rating, and no finding is not a safety guarantee. The groups and findings come from fixed checks of the tool definitions the server returned on the date shown, not from its code or what it does when called. How the checks work.
Install
Pinned to version 5.0.2. Values in angle brackets are yours to fill in.
claude mcp add --transport http code-auditor https://www.codeauditormcp.com/api/mcpRun in a terminal.
Claude Code permissions
Allow the reads, ask before a change, deny the deletes. Paste into .claude/settings.json.
{
"permissions": {
"allow": [
"mcp__code-auditor__get_install_commands",
"mcp__code-auditor__lookup_rule",
"mcp__code-auditor__explain_symptom"
],
"ask": [],
"deny": [
"mcp__code-auditor__request_rule"
]
}
}Tools that only read are allowed, tools that change things ask first, tools that delete or cancel are denied. It assumes the server is installed as code-auditor. Review it before you use it.
