Claude Graph
Builds a local knowledge graph of your codebase for Claude Code, enabling structural queries without sending any code to the cloud.
Claude Graph is an essential local MCP server designed to empower Claude Code with a deep, structural understanding of your codebase without ever exposing your sensitive code to the cloud. It meticulously parses your repository using Tree-sitter, building a detailed knowledge graph of functions, classes, calls, imports, and test-coverage links stored in a local SQLite database. This innovative approach allows Claude Code to answer complex structural queries about your project, such as identifying function callers or understanding impact radii, by issuing a single, efficient MCP tool call. This not only keeps your data secure but also drastically reduces LLM token consumption—demonstrated by benchmarks showing up to 449x token reduction on large codebases like Django—making advanced code analysis feasible even within stringent context window limits.