# Code Auditor MCP

> Code Auditor MCP is an open-source MCP server. Enforces architectural invariants and code quality rules inside your AI agent's edit loop. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/benahammond/code-auditor-mcp
- **MCP Registry name:** io.github.BenAHammond/code-auditor-mcp
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http code-auditor-mcp https://www.codeauditormcp.com/api/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://www.codeauditormcp.com/api/mcp
```

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "code-auditor-mcp": {
      "serverUrl": "https://www.codeauditormcp.com/api/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

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

## FAQ

### Is Code Auditor MCP free?

Yes. Code Auditor MCP is open source, so you can use and self-host it for free.

### How do I add Code Auditor MCP to Claude Code?

Run this command in your terminal: claude mcp add --transport http code-auditor-mcp https://www.codeauditormcp.com/api/mcp

---
Source: https://ai-powered.com/mcp/code-auditor-mcp
