CodeGraphy turns your repository into an interactive dependency graph, prunes boilerplate via AST while keeping types and signatures intact, and detects architectural drift locally.
Click through the five core views: canvas, token inspector, layered swimlanes, linter, and blast radius.
Explore your entire repository as an interactive dependency graph with a live file tree on the left and compiled AI context metrics on the right.
Instead of pasting 16 raw files into your coding assistant, CodeGraphy keeps the target file in Full mode and compresses 1-hop dependencies to AST skeletons (types, classes, imports, and function signatures).
Everything runs locally on your machine — fast AST parsing, deterministic graph layout, and native MCP integration.
Visualize Frontend UI, Backend API, and Core modules in automatic swimlanes with 1-hop neighbor isolation.
Tree-sitter powered skeleton extraction preserves imports, types, and signatures while cutting up to 85% of token noise.
Tarjan O(V+E) strongly connected components detect circular imports, layer boundary breaks, and god modules.
Trace reverse upstream callers before refactoring shared interfaces and compare architectural changes across commits.
Connect directly to Claude Code, Cursor, Windsurf, or Cline so agents query architecture instead of grepping blind.
Audit exact token counts, verify disk provenance, redact secrets, and override files between Full, AST, or Off.
Start free with CodeGraphy Lite via pip, or upgrade to Pro for full-repo AST compression and impact tooling.
| Capability | CodeGraphy Lite | CodeGraphy Pro |
|---|---|---|
| Interactive Architecture Canvas & Lanes | Included | Included |
| Project Scan Limit | Up to 35 files | Unlimited |
| MCP Server Tools (STDIO) | 3 core tools | Full 11 tools |
| AST Smart Context (-85% tokens) | — | Included |
| Hybrid Context Inspector & Secret Redaction | — | Included |
| Blast Radius, Git Diff & Test Impact | — | Included |