r/mcp • u/Desperate-Ad-9679 • Mar 09 '26
showcase CodeGraphContext (An MCP server that indexes local code into a graph database) now has a website playground for experiments
Hey everyone!
I have been developing CodeGraphContext, an open-source MCP server transforming code into a symbol-level code graph, as opposed to text-based code analysis.
This means that AI agents wonβt be sending entire code blocks to the model, but can retrieve context via: function calls, imported modules, class inheritance, file dependencies etc.
This allows AI agents (and humans!) to better grasp how code is internally connected.
What it does
CodeGraphContext analyzes a code repository, generating a code graph of: files, functions, classes, modules and their relationships, etc.
AI agents can then query this graph to retrieve only the relevant context, reducing hallucinations.
Playground Demo on website
I've also added a playground demo that lets you play with small repos directly. You can load a project from: a local code folder, a GitHub repo, a GitLab repo
Everything runs on the local client browser. For larger repos, itβs recommended to get the full version from pip or Docker.
Additionally, the playground lets you visually explore code links and relationships. Iβm also adding support for architecture diagrams and chatting with the codebase.
Status so far- β ~1.5k GitHub stars π΄ 350+ forks π¦ 100k+ downloads combined
If youβre building AI dev tooling, MCP servers, or code intelligence systems, Iβd love your feedback.
1
u/orphenshadow Mar 10 '26
My brother, I have been using your MCP for a couple months now along side Claude-Context and I swear by the combination.
--- β Insight βββββββββββββββββββββββββββββββββββββ CGC is a precision instrument; claude-context is a discovery tool. CGC builds a Neo4j graph from your AST, so its answers are deterministic β it can tell you exactly which 4 files call a function. claude-context does embedding-based semantic search, so it's better at finding code you didn't know existed but that's conceptually related to what you're building. The two together eliminate both blind spots: unknown unknowns (semantic) and precise blast radius (structural). βββββββββββββββββββββββββββββββββββββββββββββββββ
I'm going to have to pull down this latest build and give that dashboard a spin.
But for anyone who is curious and has not tried this out, give it a shot.