# io.github.BenAHammond/code-auditor-mcp

> Enforces architectural invariants and code quality rules inside your AI agent's edit loop.

- name: io.github.BenAHammond/code-auditor-mcp
- version: 5.0.2
- connection class: R0 (autonomous)
- trust: 94/100
- quality: 96/100 (strong)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/io.github.BenAHammond%2Fcode-auditor-mcp
- tools: https://api.protogrid.dev/v1/servers/io.github.BenAHammond%2Fcode-auditor-mcp/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "code-auditor-mcp": {
      "type": "http",
      "url": "https://www.codeauditormcp.com/api/mcp"
    }
  }
}
```


## Trust

- hygiene: 100
- liveness: 100
- freshness: 100
- provenance: 80
- drivers: +repository +namespace-matches-repo +reachable +uptime-100% +updated-10d-ago
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 96/100 (strong)

### protocol: 88 (weight 25)

- pass `protocol.modern`: supports 2026-07-28 (server/discover)
- pass `protocol.stateless`: answers without a session
- pass `protocol.transport`: streamable HTTP
- warn `protocol.list_ttl`: tools/list declares ttlMs 0, so clients re-fetch it on every use

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 100 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 4 of 4 tools declare readOnlyHint or destructiveHint
- pass `tools.directory_hints`: every tool declares readOnlyHint, destructiveHint, idempotentHint and openWorldHint
- pass `tools.token_cost`: about 736 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump

### stability: 100 (weight 15)

- pass `stability.changes`: 4 tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: deps.dev does not know code-auditor-mcp@5.0.2

- tools: 4, about 736 tokens to load them all
- tool set hash: 5263e9818efc11db6d2ad072b276d030
- tools last changed: 2026-10-11T21:58:43.843Z
- badge: [![protogrid quality](https://protogrid.dev/badge/io.github.BenAHammond/code-auditor-mcp.svg)](https://protogrid.dev/servers/io.github.BenAHammond/code-auditor-mcp)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

- 2026-10-11 `request_rule` added
  - 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.
- 2026-10-10 `explain_symptom` changed (outputSchema, annotations)
- 2026-10-10 `lookup_rule` changed (outputSchema, annotations)
- 2026-10-10 `get_install_commands` changed (outputSchema, annotations)

Full history: https://api.protogrid.dev/v1/servers/io.github.BenAHammond%2Fcode-auditor-mcp/changes

## Dependencies

- npm code-auditor-mcp@5.0.2: unknown

Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0.

## Remotes

- https://www.codeauditormcp.com/api/mcp (streamable-http, auth none, reachable true, uptime30d 1)

## Packages

- npm code-auditor-mcp@5.0.2

## Tools (4)

- `explain_symptom`: 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.
- `get_install_commands`: 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).
- `lookup_rule`: 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).
- `request_rule`: 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.
