CodeGraphContext
Level ALocalAn MCP server plus a CLI tool that indexes local code into a graph database to provide context to AI assistants.
Overview
CodeGraphContext is an MCP server and CLI toolkit that indexes local code into a graph database to give AI assistants and developers code context. It turns a repository into a graph of files, symbols, calls, inheritance, and imports, so you can trace call chains across files and packages, explore class hierarchies and module boundaries, and find dead code or unexpected dependencies. Use it standalone for code analysis or connect it to an AI IDE via MCP to query complex call chains in natural lan…
Installation
MCP client config (paste into mcp.json)
{
"mcpServers": {
"codegraphcontext-codegraphcontext": {
"command": "codegraphcontext",
"args": [
"mcp",
"start"
]
}
}
}Agent install prompt
Copy and paste into Cursor / Claude / other agents to install this MCP for you
Please read this MCP repository and install it into my current environment:
https://github.com/CodeGraphContext/CodeGraphContext
Known working client config (can write into mcp.json):
{
"mcpServers": {
"codegraphcontext-codegraphcontext": {
"command": "codegraphcontext",
"args": [
"mcp",
"start"
]
}
}
}
Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.
Related servers
mempalaceThe best-benchmarked open-source AI memory system. And it's free.private-gptComplete API layer for private AI applications on local models: RAG, skills, toocodebase-memory-mcpLocal code intelligence for developers and AI agents. Connect code, docs and infcontext-modeFree, local plugin that keeps tool output out of your coding agent's context wincogneeCognee is the open-source AI memory platform for agents. Give your AI agents pergraphitiBuild Real-Time Knowledge Graphs for AI Agents