MCP tools
Build the graph before calling tools: codegenome analyze .
Search & navigation
| Tool | Description |
search_nodes | Find symbols by name or file path |
get_node | Fetch a single node by ID |
get_neighbors | Imports, callers, callees around a node |
get_graph | Serialized subgraph with limits |
query_graph | Filtered graph queries |
Intelligence
| Tool | Description |
get_entry_points | Modules/symbols with no inbound deps |
get_dead_code | Unreachable or unreferenced symbols |
get_circular_deps | Dependency cycles |
get_god_nodes | Highly connected hub nodes |
get_complexity | Complexity rankings (limit param) |
get_churn | Churn rankings from timeline |
Timeline
| Tool | Description |
get_timeline | History for a node (optional node_id) |
get_changes | Diff between two snapshot IDs |
Tips for agent authors
- Prefer
search_nodes before reading entire files
- Use
get_neighbors to trace impact of edits
- Call
get_circular_deps before large refactors
- Install rules via
codegenome rules so agents know when to call tools