


CodeGraphContext - An MCP server that converts your codebase into a graph database, enabling AI assistants and humans to retrieve precise, structured context.
A lot of AI coding tools today feel weirdly centralized and opaque.
So I’ve been building an open-source alternative approach called CodeGraphContext.
Instead of sending your repository off to some remote indexing service, it builds a local graph representation of your codebase and exposes it through MCP for tools like Cursor, Claude, Gemini CLI, VS Code, etc.
The interesting part for me wasn’t “AI autocomplete”.
It was making repositories understandable:
- function relationships
- imports
- inheritance
- architecture traversal
- dependency graphs
A few things I cared about while building it:
- fully open source
- local-first workflow
- works on your own machine
- incremental indexing + caching
- tiny graph storage compared to huge vector indexes
Started as a side project and somehow grew to:
- 100k+ downloads
- 3k+ GitHub stars
- 250+ Discord members in community