Codegraph
Maps source files, symbols, references, and dependencies so coding agents can navigate repositories and assess change impact.
Install Codegraph
Run the project’s own setup commands, in order.
Setup steps from the project
codegraph installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com
npm install -g @lzehrung/codegraphcodegraph installirm https://github.com/lzehrung/codegraph/releases/latest/download/install.ps1 | iexcurl -fsSL https://github.com/lzehrung/codegraph/releases/latest/download/install.sh | sh
Overview
Use cases
- Explore an unfamiliar repository before choosing files to inspect
- Trace references and reverse dependencies during a refactor
- Review changes and identify candidate affected tests
- Export a repository graph for analysis or visualization
Key features
- Tree-sitter source analysis
- File, symbol, reference, and dependency mapping
- Change impact and affected-test analysis
- Read-only refactoring and rename previews
- Graph export to JSON, SQLite, Mermaid, and DOT
- Repository health and API-surface inspections
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Codegraph works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Codegraph
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/codegraph-3)<a href="https://allmcps.com/mcp/codegraph-3"><img src="https://allmcps.com/api/badge/codegraph-3?style=directory" alt="Codegraph on AllMCPs" /></a>