npx -y code-graph-context{
"mcpServers": {
"code-graph-context": {
"command": "npx",
"args": [
"-y",
"code-graph-context"
]
}
}
}code-graph-context is a community MCP server that connects AI assistants like Claude to mcp server that builds code graphs to provide rich context to llms. It runs locally on your machine, keeping your data private and giving you full control over the connection. This makes it easy to query and manage your data without leaving your AI assistant.
About code-graph-context
Overview
MCP server that builds code graphs to provide rich context to LLMs
Links
Topics
mcp, mcp-server, model-context-protocol, code-graph, code-analysis, neo4j, graph-database, typescript, nestjs, ast-parser, semantic-search, openai, embeddings, graph-rag, llm, claude
Who Should Use code-graph-context?
- 1Search and retrieve information using natural language
- 2Run natural-language queries against your database without writing SQL
- 3Inspect schemas, tables, and relationships during development
- 4Automate data exports, migrations, and reporting tasks
How to Install code-graph-context
Before you start
You will need Node.js (v18 or later) installed on your machine — download it from nodejs.org if you haven't already.
- 1Open a terminal (Terminal on Mac, Command Prompt or PowerShell on Windows).
- 2Paste the install command above and press Enter — Node.js will download and run the server automatically.
- 3Add the server to your Claude Desktop config file (see the JSON snippet above) and restart Claude.
The Claude Desktop config snippet above can be copied and pasted directly into your claude_desktop_config.json file — no editing required.