CodeGraphContext
CodeGraphContext is an MCP server that turns code repositories into a queryable graph for AI agents. 🌐 Languages: - 🇬🇧 English - 🇨🇳 中文 - 🇰🇷 한국어 - 🇺🇦 Українська - 🇷🇺 Русский - 🇯🇵 日本語 - 🇮🇳 தமிழ் - 🇪🇸… It has 4,354 GitHub stars, is released under the MIT license and runs locally with uvx codegraphcontext.
github.com/CodeGraphContext/CodeGraphContext (opens in a new tab)
Data as of from the GitHub API; description from the project's repository. Report an error
- Needs API key
- Developer tools
- MIT
- Active
Install CodeGraphContext
Generated from the server's published package. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"codegraphcontext": {
"command": "uvx",
"args": [
"codegraphcontext"
],
"env": {
"NEO4J_PASSWORD": "your-value"
}
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --env NEO4J_PASSWORD=your-value --transport stdio codegraphcontext -- uvx codegraphcontextCursor
{
"mcpServers": {
"codegraphcontext": {
"type": "stdio",
"command": "uvx",
"args": [
"codegraphcontext"
],
"env": {
"NEO4J_PASSWORD": "your-value"
}
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"inputs": [
{
"type": "promptString",
"id": "neo4j_password",
"description": "NEO4J_PASSWORD",
"password": true
}
],
"servers": {
"codegraphcontext": {
"type": "stdio",
"command": "uvx",
"args": [
"codegraphcontext"
],
"env": {
"NEO4J_PASSWORD": "${input:neo4j_password}"
}
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Environment variables
Variables the server reads at startup.
| Name | Required | Description |
|---|---|---|
NEO4J_URI | No | Shown in the README's example configuration. |
NEO4J_USERNAME | No | Shown in the README's example configuration. |
NEO4J_PASSWORDsecret | No | Shown in the README's example configuration. |
CGC_OUTPUT_FORMAT | No | Shown in the README's example configuration. |
About CodeGraphContext
Turn code repositories into a queryable graph for AI agents. 🌐 Languages: - 🇬🇧 English - 🇨🇳 中文 - 🇰🇷 한국어 - 🇺🇦 Українська - 🇷🇺 Русский - 🇯🇵 日本語 - 🇮🇳 தமிழ் - 🇪🇸 Español (Soon)
- hacktoberfest2025
- social-winter-of-code
- codegraph
- codegraphcontext
Similar MCP servers
More developer tools MCP servers
Firebase MCP Server
firebase/firebase-tools
Gives AI development tools Firebase-specific capabilities and expertise.
Active · last commit Oct 23, 2026
Developer toolsTypeScriptNotFair
nowork-studio/notfair-plugin
OAuth MCP for Google, Meta, X, LinkedIn, Reddit, TikTok, GSC, GA4, WordPress and GHL.
Maintained · last commit Oct 19, 2026
Developer toolsPythonXcodeBuildMCP
getsentry/MobileBuildMCP
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
Active · last commit Oct 22, 2026
OfficialDeveloper toolsTypeScriptSem
Ataraxy-Labs/sem
Entity-level code intelligence: semantic diff, impact analysis, blame, and context for AI agents.
Active · last commit Oct 26, 2026
OfficialDeveloper toolsRustUnity MCP Server
IvanMurzak/Unity-MCP
Make 3D games in Unity Engine with AI. MCP Server + Plugin for Unity Editor and Unity games.
Active · last commit Oct 26, 2026
Developer toolsC#Cortex
cortex-docs/cortex
Cortex - Generates interactive API documentation, typed SDKs, and MCP servers from OpenAPI, AsyncAPI, GraphQL, gRPC, OpenRPC, and Markdown.
Active · last commit Oct 1, 2026
Developer toolsTypeScript
How do I install the CodeGraphContext MCP server?
Add the command uvx codegraphcontext to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is CodeGraphContext free?
The server is open source under the MIT license, so running it is free. It needs credentials (NEO4J_PASSWORD) for the service it connects to, which may require a paid account.
Is CodeGraphContext actively maintained?
The most recent commit was on Oct 22, 2026. The latest release is v0.5.7, published Aug 8, 2026. appsgit only lists MCP servers with a commit in the last six months.