mcpbeat Sign in

Code-Graph-RAG MCP Server

local only

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.

Installs per day peak 718 · avg 246 · -24% w/w
a month agotoday
1 891
Installs / week
pypi · code-graph-rag
5 309
Stars
368 open issues
3 Nov 2026
Last commit
from GitHub
MIT
License
Python

Nothing serious here today

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.

Three servers free · no card

Connect this server

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.

run in your terminal
claude mcp add code-graph-rag -- uvx code-graph-rag
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "code-graph-rag": {
      "command": "uvx",
      "args": [
        "code-graph-rag"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.code-graph-rag]
command = "uvx"
args = ["code-graph-rag"]
.cursor/mcp.json
{
  "mcpServers": {
    "code-graph-rag": {
      "command": "uvx",
      "args": [
        "code-graph-rag"
      ]
    }
  }
}
.vscode/mcp.json
{
  "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)).

Alternatives to Code-Graph-RAG

same job, measured the same way
Codebase Memory
by deusdata

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

14 284 installs/wk local only
Memory for AI
by lonelytraderbay

Local codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

67 installs/wk local only
World Model MCP
by saravananjaichandar

Temporal knowledge graph for codebases with constraint enforcement at the edit boundary.

275 installs/wk local only
codebase-synapse
by iwiels

Indexes codebase into a local knowledge graph with 40+ AI tools and codebase-guard.

60 installs/wk local only
Project Knowledge MCP
by batook22

Cross-project knowledge graph for MCP — map features across mobile, backend, and admin codebases.

59 installs/wk local only
Hypermnesia MCP Viz
by cdeust

Read-only visualization for Cortex memory, knowledge, sessions, traces, and codebase graphs.

170 installs/wk local only
Meeba Brain
by meemoprasad

Repository knowledge graph MCP server for codebase understanding and debugging.

5 tools answering
Pharaoh
by pharaoh

Codebase knowledge graph — architectural awareness for AI coding agents via MCP

2 237 installs/wk answering

Code-Graph-RAG — questions

Answers built from our own checks of this server.

Why is there no uptime for Code-Graph-RAG?
Code-Graph-RAG runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package code-graph-rag was installed 1 891 times last week.
How do I connect Code-Graph-RAG?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls code-graph-rag straight from pypi; nothing to host, nothing to sign up for.
How many people use Code-Graph-RAG?
The pypi package code-graph-rag was installed 1 891 times in the last week. Week over week that is -24%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Code-Graph-RAG open source?
Yes — it is published under the MIT licence, written in Python, 5 309 stars on GitHub and 368 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.