Claude Code Guardian
About
AI-Safe Code Analysis with 113+ MCP tools for guard validation, memory, workflow, and testing.
Details
- Author
- phuongrealmax
- Downloads
- 351
- Categories
- Developer Tools, AI
Jump to
- 20+ code validation rules (fake tests, empty catch, security issues)
- Persistent knowledge storage across sessions
- Task tracking with progress dashboard
- Automated test runner plus browser testing with Playwright
- Hotspot detection, complexity analysis, and refactoring plans
- Multi-phase reasoning for complex tasks
- Auto-save, resume, and session checkpoints
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Claude Code GuardianCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install globally with npm install -g codeguardian-studio, then add the server configuration to your Claude Desktop config. The server is invoked via npx -y codeguardian-studio as an MCP command.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"claude code guardian": {
"claude-code-guardian": {
"command": "npx",
"args": [
"-y",
"codeguardian-studio"
]
}
}
}
}
McpServers
{
"claude-code-guardian": {
"command": "npx",
"args": [
"-y",
"codeguardian-studio"
]
}
}
AI-Safe Code Analysis with 113+ MCP tools for guard validation, memory, workflow, and testing.
AI-powered code refactor engine for large repositories, built on Claude Code + MCP.
Version:4.1.0 |License:MIT (open-core)
Website & Docs:https://codeguardian.studio
CCG stands out as themost comprehensive MCP serverfor Claude Code:
- 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
Want detailed comparisons?SeeCCG vs Competitors
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.
Key Stats (from dogfooding CCG on itself)
Get your first code analysis in one command:
# Install globally npm install -g codeguardian-studio # Run quickstart (auto-initializes + analyzes your code) ccg quickstart
That's it! The quickstart command will:
- Initialize CCG in your project
- Scan your codebase
- Analyze code complexity and hotspots
- Generate a detailed markdown report
Open the generated report and start fixing hotspots (highest score first).
Want more control?SeeManual Setupor read the fullQuickstart Guide.
- code_scan_repository- Map your entire codebase
- code_metrics- Calculate complexity, nesting, branch scores
- code_hotspots- Find files that need attention
- code_refactor_plan- Generate step-by-step refactor plans
- code_record_optimization- Log optimization sessions
- code_generate_report- Create Markdown reports
- code_quick_analysis- Scan + metrics + hotspots in one call
- code_optimizer_status- Check module status
- Memory- Persistent storage across sessions
- Guard- Block dangerous patterns (fake tests, empty catches, etc.)
- Workflow- Task management and tracking
- Latent Chain- Multi-phase reasoning for complex tasks
- Agents- Specialized agent coordination
- Thinking- Structured reasoning models
- Documents- Documentation management
- Testing- Test runner integration
Dev tier is 100% local and self-hostable. Team/Enterprise require license validation viaapi.codeguardian.studio.
SeeLicense Tiersfor feature comparison.
- Website:https://codeguardian.studio
- Case Study:https://codeguardian.studio/case-study
- Partners:https://codeguardian.studio/partners
- GitHub:https://github.com/phuongrealmax/code-guardian
- MCP Directory:https://mcp.so/server/code-guardian
- GitHub Action:ccg-action- CI/CD integration for PR analysis
# 1. Install npm install -g codeguardian-studio # 2. Initialize CCG in your project ccg init # 3. Run analysis with custom options ccg code-optimize --report # 4. For advanced options ccg code-optimize --help-advanced
CCG usesbetter-sqlite3(native SQLite bindings) which requires build tools on your system:
sudo apt-get update sudo apt-get install build-essential python3 npm install -g codeguardian-studio
# Install Xcode Command Line Tools xcode-select --install npm install -g codeguardian-studio
# Install Visual Studio Build Tools # Download from: https://visualstudio.microsoft.com/downloads/ npm install -g codeguardian-studio
FROM node:20-slim # Install build dependencies RUN apt-get update && apt-get install -y \ build-essential \ python3 \ && rm -rf /var/lib/apt/lists/* RUN npm install -g codeguardian-studio
Error:gyp ERR! stack Error: not found: make
- Solution: Install build tools (see above for your OS)
- Solution: Node.js version mismatch. Rebuild with:
npm rebuild better-sqlite3
- ✅ Supported on Apple Silicon (M1/M2/M3)
- ✅ Supported on Ubuntu ARM64
- May require build from source on some platforms
- Features- Complete guide to 113+ MCP tools
- User Guide- Complete feature documentation
- Quickstart- Get started in 3 minutes
- Comparison- CCG vs competitors
- Migration Guide- Upgrading to v4.0.0
- License System- Open-core architecture
- Changelog- Version history
Have questions or ideas? We'd love to hear from you!
- 💬GitHub Discussions- Ask questions, share ideas, get help
- 🐛Report Issues- Bug reports and feature requests
- ⭐Star us on GitHub- Show your support!
MIT (open-core). SeeLICENSEfor details.
Built with Claude. Protected by Guardian.
This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.
A powerful Model Context Protocol (MCP) server that supercharges your Python development workflow with AI-powered code review, intelligent test generation, and comprehensive test execution.
Help agents automatically write and test stories for your UI components
AI-to-AI code review platform — Claude, Codex, and Gemini cross-check each other via MCP, REST API, and CLI for consensus-based results.
A stateful LSP runtime for AI agents: warm language server sessions with 50+ tools for go-to-definition, find-references, diagnostics, rename, and more across 30+ languages.
Persistent code index using Tree-sitter for fast, precise code search. Replaces grep with ~50 token responses instead of 2000+.
Orchestrates a dual-AI engineering loop where a Primary AI plans and implements, while a Review AI validates and reviews, with continuous feedback for optimal code quality. Supports custom AI pairing (Claude, Codex, Gemini, etc.)
AmazingMCP — MCP Server for .NET / C# Codebases
An MCP server that gives AI agents deep understanding of C# codebases via Roslyn — type search, dependency graphs, usage analysis, and architecture overviews, all from a live in-memory compilation.
MCP server that bridges LCOV coverage reports to AI agents.
Uses TypeScript AST to determine which tests are affected by code changes
A platform-agnostic code analysis library with semantic search capabilities and MCP server support.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




