graphrag
Query relationships — "what calls this function?", "what does this module import?"
How to use it
graphrag is exposed by the Octocode MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the graphrag tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Octocode
claude mcp add octocode -- octocode mcp --path /path/to/your/projectOther tools in Octocode (6)
Find all usages of a symbol across the workspace (requires --with-lsp)
Jump to a symbol's definition (requires --with-lsp)
Type info and documentation for a symbol (requires --with-lsp)
Find code by meaning — "authentication flow", "error handling", "database queries"
AST pattern matching — find .unwrap() calls, new instantiations, specific patterns
View file structure — function signatures, class definitions, imports