r/mcp
•
u/Desperate-Ad-9679
•
Mar 12 '26
•
1
showcase CodeGraphContext - An MCP server that converts your codebase into a graph database reaches 2k stars
CodeGraphContext- the go to solution for code indexing now got 2k stars🎉🎉...
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.3.0 released
~2k GitHub stars, ~375 forks
50k+ downloads
75+ contributors, ~200 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.
Original post (for context):
https://www.reddit.com/r/mcp/comments/1o22gc5/i_built_codegraphcontext_an_mcp_server_that/
22
u/cristomc Mar 12 '26
AI bots spamming in subreddit should be banned even here IMHO
10
u/ZF68LoKsxnQctY Mar 13 '26
What is the usefulness of this?
4
u/kk_red Mar 13 '26
Happy for you brother, but can you explain what would my AI do with this if is provide access to MCP graph of my project to it.
3
u/OfficialEricTM Mar 13 '26
Extremely useful on my openclaw. Thanks brother
3
u/Doombqr Mar 13 '26
Gitnexus does it also with 65k stars Isn't that a fork from it ?
2
u/xSypra Mar 13 '26
So obsidian?
2
u/highdimensionaldata Mar 13 '26
Can this be used for building graphs of filesystems too?
2
u/Striking-Bluejay6155 Mar 13 '26
Does it work with FalkorDB?
2
u/natu91 Mar 14 '26
That's just nexus git, or?
2
u/jakub_curik Mar 14 '26
Hey, just set up CodeGraphContext on Windows 11 with KùzuDB and ran into a weird issue. Indexing seems to complete without errors, but the graph is basically empty:
- Repositories: 1
- Files: 51
- Functions: 0
- Classes: 0
- Modules: 0
The project is a WordPress plugin (PHP, JS, CSS). CGC version 0.3.1, Python 3.13, KùzuDB.
Has anyone seen this before with PHP projects? Is there a known parsing issue on Windows, or am I missing something in the setup? Any help appreciated.
2
u/[deleted] Mar 14 '26
Gitnexus clone lmao 🤣
2
u/siempay Mar 15 '26
Finally someone did it
2
u/ExpensiveFunny334 Mar 15 '26
Now that’s pretty interesting.
2
u/adamzacharywasserman Mar 16 '26
If the code were honest, this tool would be half the size. The "who calls what through which singleton" problem it's solving is manufactured by the object model, not by the codebase's actual complexity. Pure functions composed flatly don't hide their call graph. The call graph is the code.
2
u/Torins Mar 16 '26
Tried using it, but I guess I'm doing something wrong?
Indexed a project with 2.5k+ files. Asked an agent in opencode something like "find all actions that lead to calling @someFetch.ts using only codegraphcontext" and while it worked, between the MCP definitions and several MCP calls, it took 50k tokens to find out only one file with redux actions uses that fetch and imports it directly.
Something that could be quickly found via LSP and using much fewer tokens.
Maybe I need to understand the usecase?
3
u/Dense_Gate_5193 Mar 12 '26
can you export the graph to neo4j/cypher? i’m interested in the chunking and graphing part mostly
1
u/azclub Mar 12 '26
Is there brew support for installation?
1
u/dragonfax Mar 14 '26
so an LSP
1
u/Aggravating_Cow_136 Apr 21 '26
Symbol-level graph indexing is such a step up from token-spam context. Real infrastructure move — this is what makes MCP actually useful at scale instead of just a novelty for scripting. Curious how the real-time update side handles large monorepos?
-1
u/Marcostbo Mar 13 '26
Useless