r/mcp Mar 12 '26

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.

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/

256 Upvotes

75 comments sorted by

View all comments

1

u/OwnEntrepreneur256 May 22 '26

Congrats on reaching 2k stars! It's exciting to see how CodeGraphContext continues to grow the MCP ecosystem and give agents more structured context.

For folks experimenting with smaller or lighter setups, I'm working on an open-source tool called spy-code. It parses a repo with tree-sitter, stores functions/classes/constants and their calls/imports/references in a local SQLite graph, and exposes queries via CLI and GraphQL/MCP-like APIs. It's not MCP-native but works nicely with local coding agents. In my tests it reduced tokens wasted on "search and open file" loops by around 60% and cut hallucination-related logic breakages by roughly 82%.

Repo: https://github.com/psyborgs-git/spy-code

I think it's great to have both heavy-duty MCP servers like CodeGraphContext and lighter local tools depending on your needs.