Claude Code Guardian MCP Server

AI-powered code refactor engine for large repositories, built on Claude Code + MCP.

Remote serverstreamable-http

What is the Claude Code Guardian MCP Server?

AI-powered code refactor engine for large repositories, built on Claude Code + MCP.

The short version

CCG stands out as the most comprehensive MCP server for Claude Code:

Code Guardian Studio (CCG) is an MCP server that transforms Claude Code into an intelligent refactoring assistant. It scans your codebase, finds hotspots, generates optimization reports, and helps you refactor safely.

  • All-in-one — Guard + Metrics + Workflow + Memory in a single server
  • 113+ MCP tools — The most comprehensive toolset available
  • Session management — Resume work across conversations
  • Real-time progress — Track refactoring progress with live dashboard
  • Latent Chain — Multi-phase reasoning for complex tasks

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
code_scan_repositoryMap your entire codebase
code_metricsCalculate complexity, nesting, branch scores
code_hotspotsFind files that need attention
code_refactor_planGenerate step-by-step refactor plans
code_record_optimizationLog optimization sessions
code_generate_reportCreate Markdown reports
code_quick_analysisScan + metrics + hotspots in one call
code_optimizer_statusCheck module status

How to install the Claude Code Guardian MCP Server

{
  "mcpServers": {
    "claude-code-guardian": {
      "command": "npx",
      "args": ["-y", "codeguardian-studio"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • “Use Claude Code Guardian to code scan repository.”
  • “Use Claude Code Guardian to code metrics.”
  • “Use Claude Code Guardian to code hotspots.”

Frequently asked questions

AI-powered code refactor engine for large repositories, built on Claude Code + MCP. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.