
Repo Graph
Structural graph map of a codebase for LLMs, with orient, find, impact, trace, read, and refresh tools.
- GitHub stars
- 46
- tools
- 6
- transport
- STDIO
- env var
- 1
- last updated
- Nov 3, 2026
What it does
- Reads structure with
orient,find, andread, returning node counts, entry points, ranked matches, and exact source slices - Analyzes changes with
impactfor blast radius andtracefor feature paths across languages, services, and stacks - Runs locally via
uvxwith therefreshtool rebuilding the graph incrementally, and needs no API key or external service - Designed for large, multi-language, and multi-service repos where tracing a feature by hand is slow
Tools
6 toolsPublic tool metadata for what this MCP can expose to an agent.
orientThe first call on a repo: node/edge counts, detected kinds, entry points, and a blind-spots note flagging which languages/edges are under-linked.
The first call on a repo: node/edge counts, detected kinds, entry points, and a blind-spots note flagging which languages/edges are under-linked.
No parameter schema in public metadata yet.
findTurn any text into the ranked nodes that matter — a symbol/keyword, or a pasted stacktrace / failing-test id / diff (resolved to the code it implicates).
Turn any text into the ranked nodes that matter — a symbol/keyword, or a pasted stacktrace / failing-test id / diff (resolved to the code it implicates).
No parameter schema in public metadata yet.
impactBlast radius: what a change affects (forward) or depends on / is used by (backward), as a ranked, located closure.
Blast radius: what a change affects (forward) or depends on / is used by (backward), as a ranked, located closure.
No parameter schema in public metadata yet.
traceOne arg: a feature end-to-end across the stack, each hop labelled with its mechanism; two args: the shortest path between two nodes.
One arg: a feature end-to-end across the stack, each hop labelled with its mechanism; two args: the shortest path between two nodes.
No parameter schema in public metadata yet.
readA node's exact source, sliced from its file by the graph's line span, plus a context footer.
A node's exact source, sliced from its file by the graph's line span, plus a context footer.
No parameter schema in public metadata yet.
refreshRebuild the graph (incremental by default — only changed files re-parse). repo_path retargets a different path or git URL; full=true forces a clean reparse.
Rebuild the graph (incremental by default — only changed files re-parse). repo_path retargets a different path or git URL; full=true forces a clean reparse.
No parameter schema in public metadata yet.
Configuration
REPO_GRAPH_REPOPath to the target repository to map. Alternative to --repo; takes effect when --repo is not passed.
Readme
repo-graph
Structural graph memory for AI coding assistants. Map your codebase. Navigate by structure. Read only what matters.
repo-graph gives LLMs a map of your codebase — entities, relationships, and flows — so they can navigate to the right files without reading everything first.
Instead of flooding an LLM's context window with your entire codebase (or hoping it guesses right), repo-graph builds a lightweight graph of what exists, how things connect, and where the entry points are. The LLM queries the graph, finds the minimal set of files it needs, and reads only those.
It pays off most where that's hardest to do by hand: large repos, monorepos that span several languages, and multi-service systems where a feature's path crosses files, stacks, and service boundaries. On a small single-language project a model can just read the files — see Where it fits best for the honest sweet spot.
Install in one click:
Details
- Repository
- github.com/james-chahwan/repo-graph
- Categories
- Developer Tools, Memory & Context
- Package
mcp-repo-graph- Transport
- STDIO
- Registry
- MCP registry, active
Similar to Repo Graph
More Developer Tools
sourcegraphPluginanthropics/claude-plugins-official47.9K starsCode search and understanding across codebases. Search, read, and trace references across repositories; analyze refactor impact; investigate incidents via commi
ArborMCP serveranandb71161 starsCode graph and call tracing for symbol impact, callers, and paths across a codebase.
Codebase MemoryMCP serverdeusdata49K starsLocal knowledge graph that connects code, docs, and infrastructure for AI coding agents.
CodegraphMCP servercodegraph-ai166 starsSemantic code graph over 38 languages, exposing callers, impact analysis, memory, and PR review tools.
Trace McpMCP servernikolai-vysotskyi204 starsCode graph MCP that indexes repositories across 81 languages and 91 frameworks for review and navigation.
graphifySkillhowell5/willhong-skills2K installsStructural AST index for 12 languages that replaces blind keyword search with symbol lookup.