v4.0.0 — MIT Open-Core

Turn Claude Code into a refactor engine for your biggest repos.

Free, local-first. Advanced tech-debt reports when your team is ready.

Dev tier runs fully offline. No license required.

Built on ClaudeMIT Open-Core100% Offline (Dev)

Real results from dogfooding CCG on itself

75→68
Tech Debt Index
-9.3%
TDI Improvement
62k
Lines Analyzed
<1s
Quickstart Time

Built for Real Developer Workflows

No JSON wrangling. No complex setup. Just results.

CLI-First, No JSON

You never touch raw MCP JSON. Just run ccg quickstart and use natural language with Claude. The tools handle the rest.

IDE-Native

VS Code extension shows Tech Debt Index in your status bar. Claude Code MCP integration means you stay in your editor.

Fast Enough for Daily Use

Quickstart analyzes ~100k LOC in under a second. Heavy Latent Chain reasoning is there when you need it, not blocking your flow.

What It Does

Four capabilities organized by what you need and when.

Dev — Free

Scan & Measure

Tech Debt Index (0-100, grade A-F) gives you one number for codebase health. Hotspot detection finds large files and high complexity.

Dev — Free

Plan & Refactor with Claude

Latent Chain mode walks through Analysis, Plan, Impl, Review. Guard module blocks dangerous patterns before they ship.

Team

Track Progress Over Time

Before/after metrics and TDI trend charts. Session history shows how your codebase improves sprint over sprint.

Team / Enterprise

Integrate with Your Workflow

GitHub Action PR comments + quality gates. VS Code extension. Multi-repo config for monorepos. Claude Code MCP integration.

Real Results

From our own codebase analysis (yes, we dogfood).

RankFileScoreIssueAction
#1agents.service.ts90542 lines, complexity 78split-module
#2workflow.service.ts89518 lines, nesting 7split-module
#3commands.service.ts88502 lines, complexity 72split-module
#4ccg.ts85489 lines, nesting 6refactor
#5latent.service.ts83467 lines, complexity 65refactor

How It Works

From install to insights in 4 steps.

1. Install

npm install -g codeguardian-studio

One global install. Works on any Node.js project.

2. Run Quickstart

ccg quickstart

Scans repo, finds hotspots, writes markdown report to docs/reports/. Works offline.

3. Review & Refactor

Open the report in your editor. Start with worst-grade files. Use Claude Code + CCG MCP tools to refactor safely with Latent Chain.

4. Track Progress (Team)

ccg dogfood-report --summary

Track TDI and hotspots over time. See trends across sessions.

Agent Collaboration Workflow

How CCG's specialized agents work together to solve complex tasks

TRIGGERTask InputANALYSISSelect AgentCode OptimizerSCANRepository ScanFind files & structureMETRICSCalculate ComplexityNesting & branchesCONDITIONIdentify HotspotsRank by priorityACTIONGenerate Refactor PlanLatent Chain Mode

For Open Source Maintainers

Automate code quality checks on every pull request.

Automatic PR Comments

Every PR gets a formatted comment showing top hotspots, TDI delta, and suggested fixes. No manual review needed.

Quality Gates

Set a TDI threshold and let CI fail on critical hotspots. Prevent complex code from being merged without review.

GitHub Actions Ready

Copy-paste our workflow file and start enforcing quality in minutes. Works with any Node.js project.

# .github/workflows/ccg-pr.yml
- run: npx codeguardian-studio code-optimize --ci --threshold 70

Pricing

Start free. Scale when ready.

Dev

Free

For solo devs & side projects

  • Core CLI & hotspot detection
  • Tech Debt Index per run
  • Basic markdown reports
  • GitHub Actions template
  • Fully local, no license
Get Started

Enterprise

Custom

For large orgs & compliance

  • Everything in Team
  • Unlimited repos
  • SSO / SAML
  • Audit logs
  • Dedicated cloud backend
  • SLA + dedicated support
Contact Sales

FAQ

Why not just use SonarQube + Claude?

You could! But Code Guardian Studio gives you:

  • Tech Debt Index — one number for codebase health (0-100, grade A-F)
  • Trend tracking — see how TDI changes sprint over sprint
  • Multi-session reports — before/after comparisons out of the box
  • Claude-native workflow — Latent Chain mode, MCP integration, no glue code

SonarQube is great for static analysis. CCG adds the "what changed" and "what to do next" layers that turn analysis into action.

Does the free tier have limits?

No artificial limits. Dev tier includes full CLI, hotspot detection, Tech Debt Index, and basic reports. It runs 100% offline with no license key required.

Team tier adds trend tracking, advanced reports, PR comments, and VS Code integration for teams who want visibility into progress over time.

What languages are supported?

JavaScript/TypeScript have the best support. Python, Java, Go, Rust, and C/C++ work with basic metrics. Any language with recognizable syntax gets file-level analysis.

Ready to clean up your codebase?

npm install -g codeguardian-studio
ccg quickstart

That's it. Report appears in docs/reports/.

View on GitHub See Case Study
Get Started