graperoot — Claude Code plugin: code context graph
Indexes your project into a call graph and a dependency graph, then hands Claude the files and symbols that matter before it starts digging.
/plugin marketplace add anthropics/claude-plugins-community
/plugin install graperoot@claude-communityWhat graperoot does
graperoot maps functions, classes, imports and the calls between them. Ask a question and the graph returns the files and symbols closest to it, so Claude opens the right place first instead of walking the tree.
Two pieces ship with it. The MCP server mcp-graph-server exposes graph_continue, graph_scan, graph_read, graph_register_edit and fallback_rg. A skill named graph-context sets the retrieval order for Claude: reach for the graph tools first, and treat their confidence levels as a signal.
You need Python 3.10+ and Claude 1.0.33+. The package comes from pip install graperoot as compiled Cython binaries, so no source files are exposed. TypeScript, JavaScript, Python, Go, Rust, Java, C, C++, Ruby, PHP, Swift and Kotlin are covered, among others.
What it helps with
- locate the relevant files in an unfamiliar repository
- cut token spend on exploratory searching
- trace which callers depend on a given function
- point the agent at symbols tied to the current task
- record an edit so later queries see it
Example prompts for the agent
- Scan the project and list the files involved in payment handling
- Use the graph to find every caller of
parse_configand suggest a fix - Register my edit to
src/api/client.tsin the graph
How to install graperoot
Plugin marketplace
/plugin marketplace add anthropics/claude-plugins-community/plugin install graperoot@claude-communityStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about graperoot
How do I install graperoot in Claude Code?
Add the marketplace first: /plugin marketplace add anthropics/claude-plugins-community. Then install the plugin: /plugin install graperoot@claude-community. The package itself is separate — run pip install graperoot.
What does graperoot do?
It builds a call graph and a dependency graph of your codebase and feeds Claude the matching files and symbols on demand. That trims token use and keeps edits aimed at the right spot.
What does graperoot require?
Python 3.10+, Claude 1.0.33+ and the graperoot package. It is distributed as compiled binaries on PyPI, with the source kept closed.