Version: 4.1.0 | License: MIT (open-core) Website & Docs: https://codeguardian.studio CCG stands out as the most comprehensive MCP server for Claude Code: Key Differentiators: - 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 p
Add this skill
npx mdskills install phuongrealmax/code-guardianComprehensive MCP server with 113+ code analysis tools and solid documentation for refactoring workflows
1# Code Guardian Studio23[](https://www.npmjs.com/package/codeguardian-studio)4[](https://www.npmjs.com/package/codeguardian-studio)5[](https://github.com/phuongrealmax/code-guardian/blob/main/LICENSE)6[](https://nodejs.org)7[](https://codeguardian.studio)8[](https://mcp.so/server/code-guardian)9[](https://github.com/phuongrealmax/code-guardian)10[](https://github.com/phuongrealmax/code-guardian/discussions)1112> AI-powered code refactor engine for large repositories, built on Claude Code + MCP.1314**Version:** 4.1.0 | **License:** MIT (open-core)1516**Website & Docs:** https://codeguardian.studio1718---1920## Why CCG?2122CCG stands out as the **most comprehensive MCP server** for Claude Code:2324| | CCG | Guardrails AI | NeMo | Semgrep MCP |25|---|:---:|:---:|:---:|:---:|26| **MCP Tools** | 113+ | - | - | ~10 |27| **Code Analysis** | ✅ | ❌ | ❌ | ✅ |28| **Hotspot Detection** | ✅ | ❌ | ❌ | ❌ |29| **Workflow Management** | ✅ | ❌ | ❌ | ❌ |30| **Session Persistence** | ✅ | ❌ | ❌ | ❌ |31| **Memory System** | ✅ | ❌ | ❌ | ❌ |32| **Progress Dashboard** | ✅ | ❌ | ❌ | ❌ |33| **Latent Chain Reasoning** | ✅ | ❌ | ❌ | ❌ |34| **Guard Rules** | ✅ | ✅ | ✅ | ✅ |3536**Key Differentiators:**37- **All-in-one**: Guard + Metrics + Workflow + Memory in a single server38- **113+ MCP tools**: The most comprehensive toolset available39- **Session management**: Resume work across conversations40- **Real-time progress**: Track refactoring progress with live dashboard41- **Latent Chain**: Multi-phase reasoning for complex tasks4243> **Want detailed comparisons?** See [CCG vs Competitors](docs/COMPARISON.md)4445---4647## What is Code Guardian Studio?4849Code 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.5051### Key Stats (from dogfooding CCG on itself)5253| Metric | Value |54|--------|-------|55| Lines Analyzed | 68,000 |56| Files Scanned | 212 |57| Hotspots Found | 20 |58| Analysis Time | < 1 minute |5960## 3-Minute Quickstart6162Get your first code analysis in one command:6364```bash65# Install globally66npm install -g codeguardian-studio6768# Run quickstart (auto-initializes + analyzes your code)69ccg quickstart70```7172That's it! The quickstart command will:73- Initialize CCG in your project74- Scan your codebase75- Analyze code complexity and hotspots76- Generate a detailed markdown report7778Open the generated report and start fixing hotspots (highest score first).7980**Want more control?** See [Manual Setup](#manual-setup) or read the full [Quickstart Guide](docs/QUICKSTART.md).8182## Features8384### Code Optimizer (8 tools)85- `code_scan_repository` - Map your entire codebase86- `code_metrics` - Calculate complexity, nesting, branch scores87- `code_hotspots` - Find files that need attention88- `code_refactor_plan` - Generate step-by-step refactor plans89- `code_record_optimization` - Log optimization sessions90- `code_generate_report` - Create Markdown reports91- `code_quick_analysis` - Scan + metrics + hotspots in one call92- `code_optimizer_status` - Check module status9394### Additional Modules95- **Memory** - Persistent storage across sessions96- **Guard** - Block dangerous patterns (fake tests, empty catches, etc.)97- **Workflow** - Task management and tracking98- **Latent Chain** - Multi-phase reasoning for complex tasks99- **Agents** - Specialized agent coordination100- **Thinking** - Structured reasoning models101- **Documents** - Documentation management102- **Testing** - Test runner integration103104## Pricing105106| Plan | Price | Best For |107|------|-------|----------|108| Dev | Free | Solo devs, fully offline |109| Team | $19/mo | Product teams & agencies |110| Enterprise | Custom | Large orgs & compliance |111112Dev tier is 100% local and self-hostable. Team/Enterprise require license validation via `api.codeguardian.studio`.113114See [License Tiers](docs/USER_GUIDE.md#license-tiers) for feature comparison.115116## Links117118- **Website:** https://codeguardian.studio119- **Case Study:** https://codeguardian.studio/case-study120- **Partners:** https://codeguardian.studio/partners121- **GitHub:** https://github.com/phuongrealmax/code-guardian122- **MCP Directory:** https://mcp.so/server/code-guardian123- **GitHub Action:** [ccg-action](ccg-action/) - CI/CD integration for PR analysis124125## Manual Setup126127If you prefer step-by-step control:128129```bash130# 1. Install131npm install -g codeguardian-studio132133# 2. Initialize CCG in your project134ccg init135136# 3. Run analysis with custom options137ccg code-optimize --report138139# 4. For advanced options140ccg code-optimize --help-advanced141```142143See the [User Guide](docs/USER_GUIDE.md) for more details.144145## Installation Requirements146147CCG uses `better-sqlite3` (native SQLite bindings) which requires build tools on your system:148149### Linux (Ubuntu/Debian)150```bash151sudo apt-get update152sudo apt-get install build-essential python3153npm install -g codeguardian-studio154```155156### macOS157```bash158# Install Xcode Command Line Tools159xcode-select --install160161npm install -g codeguardian-studio162```163164### Windows165```bash166# Install Visual Studio Build Tools167# Download from: https://visualstudio.microsoft.com/downloads/168169npm install -g codeguardian-studio170```171172### Docker173```dockerfile174FROM node:20-slim175176# Install build dependencies177RUN apt-get update && apt-get install -y \178 build-essential \179 python3 \180 && rm -rf /var/lib/apt/lists/*181182RUN npm install -g codeguardian-studio183```184185### Troubleshooting186187**Error: `gyp ERR! stack Error: not found: make`**188- Solution: Install build tools (see above for your OS)189190**Error: `Module did not self-register`**191- Solution: Node.js version mismatch. Rebuild with:192 ```bash193 npm rebuild better-sqlite3194 ```195196**ARM64 compatibility:**197- ✅ Supported on Apple Silicon (M1/M2/M3)198- ✅ Supported on Ubuntu ARM64199- May require build from source on some platforms200201## Documentation202203- [Features](docs/FEATURES.md) - Complete guide to 113+ MCP tools204- [User Guide](docs/USER_GUIDE.md) - Complete feature documentation205- [Quickstart](docs/QUICKSTART.md) - Get started in 3 minutes206- [Comparison](docs/COMPARISON.md) - CCG vs competitors207- [Migration Guide](docs/MIGRATION_OPEN_CORE.md) - Upgrading to v4.0.0208- [License System](docs/LICENSE_SYSTEM.md) - Open-core architecture209- [Changelog](CHANGELOG.md) - Version history210211## Community & Support212213Have questions or ideas? We'd love to hear from you!214215- 💬 **[GitHub Discussions](https://github.com/phuongrealmax/code-guardian/discussions)** - Ask questions, share ideas, get help216- 🐛 **[Report Issues](https://github.com/phuongrealmax/code-guardian/issues)** - Bug reports and feature requests217- ⭐ **[Star us on GitHub](https://github.com/phuongrealmax/code-guardian)** - Show your support!218219## License220221MIT (open-core). See [LICENSE](LICENSE) for details.222223---224225Built with Claude. Protected by Guardian.226
Full transparency — inspect the skill content before installing.