CodeGraphContext
Index a local codebase into a graph database and query its call chains from AI assistants over MCP.
Sources and review
Checked against public documentation on . Suitability guidance is our editorial judgment; this is not a performance benchmark or an endorsement.
Large or unfamiliar codebases where an agent needs structural answers, such as who calls a function, rather than grep results.
About CodeGraphContext
CodeGraphContext (CGC) parses repositories with tree-sitter into a graph database and exposes that graph through an MCP server and a CLI, so assistants can answer questions about call chains, dependencies and relationships that text search misses. It installs with pip or runs from a Docker image, with a choice of database back ends and optional SCIP indexing.
CodeGraphContext is an open-source project written primarily in Python, with 4.2k stars on GitHub. It was last updated in September 2026.
pip install codegraphcontextCodeGraphContext vs. the alternatives
All 163 alternatives →| Record | Stars | Pricing | ||
|---|---|---|---|---|
| CodeGraphContextthis listing | 4.2k | Python | MIT | Open source |
| MCP Reference Servers | 91k | TypeScript | MIT AND Apache-2.0 | Open source |
| context7 | 62k | TypeScript | MIT | Open source |
| chrome-devtools-mcp | 53k | TypeScript | Apache-2.0 | Open source |
| Playwright MCP | 37k | TypeScript | Apache-2.0 | Open source |
| github-mcp-server | 33k | Go | MIT | Open source |
