MCP tools

Build the graph before calling tools: codegenome analyze .

ToolDescription
search_nodesFind symbols by name or file path
get_nodeFetch a single node by ID
get_neighborsImports, callers, callees around a node
get_graphSerialized subgraph with limits
query_graphFiltered graph queries

Intelligence

ToolDescription
get_entry_pointsModules/symbols with no inbound deps
get_dead_codeUnreachable or unreferenced symbols
get_circular_depsDependency cycles
get_god_nodesHighly connected hub nodes
get_complexityComplexity rankings (limit param)
get_churnChurn rankings from timeline

Timeline

ToolDescription
get_timelineHistory for a node (optional node_id)
get_changesDiff between two snapshot IDs

Tips for agent authors