Code-Graph-RAG runs on your own machine — the client starts it, so there is no endpoint to ping. 1 891 installs a week from pypi. Last commit 3 Nov 2026.
Knowledge-graph RAG for multi-language codebases: index, query and edit code in natural language.
Today is the operative word: we check Code-Graph-RAG every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add code-graph-rag -- uvx code-graph-rag
{
"mcpServers": {
"code-graph-rag": {
"command": "uvx",
"args": [
"code-graph-rag"
]
}
}
}
[mcp_servers.code-graph-rag]
command = "uvx"
args = ["code-graph-rag"]
{
"mcpServers": {
"code-graph-rag": {
"command": "uvx",
"args": [
"code-graph-rag"
]
}
}
}
{
"servers": {
"code-graph-rag": {
"type": "stdio",
"command": "uvx",
"args": [
"code-graph-rag"
]
}
}
}
Optional settings from the registry entry, left out of the block above:
ORCHESTRATOR_PROVIDER (LLM provider for the orchestrator agent (openai, anthropic, google, azure, cohere, ollama)), ORCHESTRATOR_MODEL (Model name for the orchestrator agent), ORCHESTRATOR_API_KEY (API key for the orchestrator LLM provider (not needed for the default local ollama provider)), CYPHER_PROVIDER (LLM provider for Cypher query generation (openai, anthropic, google, azure, cohere, ollama)), CYPHER_MODEL (Model name for Cypher query generation), CYPHER_API_KEY (API key for the Cypher LLM provider (not needed for the default local ollama provider)), MEMGRAPH_HOST (Hostname of the Memgraph database), MEMGRAPH_PORT (Port of the Memgraph database), TARGET_REPO_PATH (Path to the repository to analyze (auto-detected from working directory if not set)).
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Local codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Temporal knowledge graph for codebases with constraint enforcement at the edit boundary.
Indexes codebase into a local knowledge graph with 40+ AI tools and codebase-guard.
Cross-project knowledge graph for MCP — map features across mobile, backend, and admin codebases.
Read-only visualization for Cortex memory, knowledge, sessions, traces, and codebase graphs.
Repository knowledge graph MCP server for codebase understanding and debugging.
Codebase knowledge graph — architectural awareness for AI coding agents via MCP
Answers built from our own checks of this server.