# Code Auditor MCP > Open-source MCP server that audits codebases for bugs, security issues, and architecture violations. Free and MIT licensed. Code Auditor MCP (`code-auditor-mcp`) reads your whole project and finds the bugs your AI agent can fix before you ship. It installs a skill into your AI coding agent so it audits its own edits against your codebase's rules. ## Key Features - Detects N+1 database query performance bugs - Finds hardcoded secrets and credentials - Catches React useEffect infinite loops - Enforces module boundaries between UI and services - Identifies dead code and unused modules - Analyzes TypeScript, JavaScript, Go, and CSS ## Installation ``` npm install -g code-auditor-mcp code-audit install --agent all ``` ## How it works 1. `code-audit audit` — audit the whole repository. 2. `code-audit install --agent all` — your agent audits its own edits. 3. Ship clean — critical mistakes are blocked before they hit your repo. ## Supported AI Agents Claude Code, Cursor, Codex, Gemini CLI, VS Code / Copilot, ZCode ## Links - Source: https://github.com/BenAHammond/code-auditor-mcp - Docs: https://www.codeauditormcp.com