r/OpenSourceeAI • u/Desperate-Ad-9679 • Mar 07 '26
CodeGraphContext - An MCP server that converts your codebase into a graph database, enabling AI assistants and humans to retrieve precise, structured context
CodeGraphContext- the go to solution for graphical code indexing for Github Copilot or any IDE of your choice
It's an MCP server that understands a codebase as a graph, not chunks of text. Now has grown way beyond my expectations - both technically and in adoption.
Where it is now
v0.2.6 released
~1k GitHub stars, ~325 forks
50k+ downloads
75+ contributors, ~150 members community
Used and praised by many devs building MCP tooling, agents, and IDE workflows
Expanded to 14 different Coding languages
What it actually does
CodeGraphContext indexes a repo into a repository-scoped symbol-level graph: files, functions, classes, calls, imports, inheritance and serves precise, relationship-aware context to AI tools via MCP.
That means:
Fast “who calls what”, “who inherits what”, etc queries
Minimal context (no token spam)
Real-time updates as code changes
Graph storage stays in MBs, not GBs
It’s infrastructure for code understanding, not just 'grep' search.
Ecosystem adoption
It’s now listed or used across: PulseMCP, MCPMarket, MCPHunt, Awesome MCP Servers, Glama, Skywork, Playbooks, Stacker News, and many more.
Python package→ https://pypi.org/project/codegraphcontext/
Website + cookbook → https://codegraphcontext.vercel.app/
GitHub Repo → https://github.com/CodeGraphContext/CodeGraphContext
Our Discord Server → https://discord.gg/dR4QY32uYQ
This isn’t a VS Code trick or a RAG wrapper- it’s meant to sit
between large repositories and humans/AI systems as shared infrastructure.
Happy to hear feedback, skepticism, comparisons, or ideas from folks building MCP servers or dev tooling.
1
u/Aistar Mar 10 '26
There are some problem with Kuzu DB on Windows.
For Python 3.14, it cannot be (easily) installed via pip, because there is no pre-built wheels, and for local build it requires 'make' (even though the build process is, in fact, based on CMake, and Makefile is a wrapper around CMake, which makes zero sense to me).
CGC version available via pip is too old and doesn't support Kuzu (maybe build pipeline is broken and packages don't get uploaded to pip?)
CGC version downloaded from site can't seem to find Kuzu, even though it is installed.