AUTOMATIONSWITCH
CommunityDev Tools

CodeGraphContext

by CodeGraphContext (community)

MCP server plus CLI tool that indexes local code into a graph database to provide context to AI assistants. 3,195 GitHub stars and 100 commits on main in the last 30 days.

3,195·6 tools·Released NOV 2025·MIT
pip install code-graph-context
Share:

MCP server plus CLI tool that indexes local code into a graph database to provide context to AI assistants. 3,195 stars and 100 commits on main in the last 30 days.

Reviewed by M. Nouriel · MAY 2026

INSTALL THIS SERVER

{ "mcpServers": { "code-graph-context": { "command": "python", "args": [ "-m", "code_graph_context" ] } } }
PrereqPyPI: `code-graph-context`. First indexing run on large repos can take minutes. Path: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS).
{ "mcpServers": { "code-graph-context": { "command": "python", "args": [ "-m", "code_graph_context" ] } } }
{ "mcpServers": { "code-graph-context": { "command": "python", "args": [ "-m", "code_graph_context" ] } } }
{ "mcpServers": { "code-graph-context": { "command": "python", "args": [ "-m", "code_graph_context" ] } } }
{ "mcpServers": { "code-graph-context": { "command": "python", "args": [ "-m", "code_graph_context" ] } } }

6 TOOLS AVAILABLE

index_codebase
Index the local codebase into the graph database
Admin
query_graph
Query the code graph by Cypher-like syntax
Read
find_callers
Find all callers of a function across the graph
Read
find_dependencies
Find dependency edges from a module or symbol
Read
list_modules
List indexed modules and their statistics
Read
reindex_changed
Reindex files changed since the last indexing run
Admin

OUR ASSESSMENT

Strengths
  • 3,195 GitHub stars.
  • 100 commits on main in the last 30 days. Top cadence among code-graph MCPs.
  • MIT license.
  • Graph traversal beats grep for cross-file relationships.
  • Incremental reindex on changed files.
Weaknesses
  • First indexing run on large repos can take minutes.
  • Graph size grows with repo size; storage budget matters for monorepos.
  • Cypher-like query syntax has a learning curve for agent prompts.
Security Notes

Graph is stored locally. Indexing reads any file the host process can access; configure exclusions to skip secrets or .env files. No authentication or remote calls.

Best For

Large codebases where dependency-graph traversal beats text-based search; refactoring agents that need to know all callers before changing a function; architectural-review agents that benefit from edge-and-node graph data.

TECHNICAL DETAILS

Language
python
Transport
stdio
Clients
Claude DesktopClaude CodeCursorVS CodeWindsurf
License
MIT
npm
code-graph-context
Last Release
code-graph-context (PyPI latest)MAY 8, 2026
First Released
NOV 1, 2025

ADOPTION METRICS

// GitHub Stars
3,195

// Reading this3,195 stars on CodeGraphContext/CodeGraphContext. 100 commits on main in the last 30 days.

// Popularity Rank
#8
Globally · #8 in Dev Tools

// Reading thisPairs with Serena, Repomix, Claude Code MCP, OpenSpec, MCP Inspector for code-context infrastructure. CodeGraphContext owns the graph-database-context slot.

SOURCES & VERIFICATION

We don't take any single directory's word for it. Before scoring, we cross-reference 4 public MCP sources, install the server ourselves against the clients we cover, and record when we last re-verified.

01
Discovered
Manual submission
First indexed MAY 8, 2026
02
Cross-referenced
4 directories
PulseMCP, MCP.so, Glama, Smithery
03
Verified against
Claude Desktop, Cursor, Claude Code
Installed and tested across clients
04
Last re-checked
MAY 8, 2026
Weekly re-verification
// How other directories see it

The same server, 4 different lenses. We reconcile these signals into our editorial score, which is why our number sometimes diverges from a directory-aggregate star count.

SourceTheir ratingTheir star countTheir downloadsLast synced
AutomationSwitch This page4.4editorial3,195MAY 8, 2026
PulseMCP— unratedunavailableunavailableMAY 8, 2026
MCP.so— unratedunavailableunavailableMAY 8, 2026
Glama— unratedunavailableunavailableMAY 8, 2026
Smithery— unratedunavailableunavailableMAY 8, 2026

// Counts are directory-reported; we don't adjust them. Discrepancies usually come from different snapshot times or star-caching.

OTHER DEV TOOLS MCP SERVERS

Official5

GitHub

GitHub

Official GitHub MCP server. 29,469 stars, MIT, 33 commits on main in the last 30 days. Repo, issue, PR, action, and code search tools backed by the GitHub REST + GraphQL APIs.

24 tools29,469
Official4.7

Playwright

Microsoft

Official Microsoft Playwright MCP server. Browser automation tools (navigate, click, fill, screenshot, evaluate JS, network capture) backed by Playwright. 31,942 stars, 35 commits/30d, Apache-2.0.

11 tools31,942
Community4.7

Repomix

yamadashy (community)

Pack the entire repository into a single AI-friendly file. Optimised context for feeding codebases to Claude, ChatGPT, Gemini, and others. 24,515 GitHub stars and 100 commits on main in the last 30 days.

5 tools24,515
Community4.7

Serena

oraios (community)

Powerful MCP toolkit for coding. Provides semantic retrieval and editing capabilities, positioned as the IDE for the agent. 23,971 GitHub stars and 100 commits on main in the last 30 days.

7 tools23,971
Official4.7

MCP Registry

Model Context Protocol

The community-driven registry service for MCP servers, maintained by the Model Context Protocol project. Discover, list, and validate MCP servers from inside agents. 6,781 GitHub stars and 65 commits on main in the last 30 days.

5 tools6,781
Official4.6

MCP Inspector

Model Context Protocol

The official MCP debugging and testing tool maintained by the Model Context Protocol project. Visual inspector for MCP servers: invoke tools, inspect transports, validate protocol behaviour during development. 9,647 GitHub stars and 32 commits on main in the last 30 days.

6 tools9,647
// Get in touch

DISCUSS YOUR
MCP REQUIREMENTS.

Evaluating a server, scoping an internal deployment, or working out whether MCP is the right fit at all. Start the conversation and we will point you at the right piece of the ecosystem.

Discuss Your MCP Requirements →