Code-Graph-RAG MCP Server
Knowledge-graph RAG for multi-language codebases: index, query and edit code in natural language.
Code-Graph-RAG scores 77 (Good), licensed MIT and written in Python. It installs as a local process. It does not declare tools yet. Filed under AI and memory. GitHub shows 5,259 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
77 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Where the 77 comes from
22 + 20 + 12 + 10 + 10 + 3 = 77. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 12 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 10 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "vitali87-code-graph-rag": { "command": "uvx", "args": [ "code-graph-rag" ], "env": { "ORCHESTRATOR_PROVIDER": "ollama", "ORCHESTRATOR_MODEL": "llama3.2", "ORCHESTRATOR_API_KEY": "YOUR_ORCHESTRATOR_API_KEY", "CYPHER_PROVIDER": "ollama", "CYPHER_MODEL": "llama3.2", "CYPHER_API_KEY": "YOUR_CYPHER_API_KEY", "MEMGRAPH_HOST": "localhost", "MEMGRAPH_PORT": "7687", "TARGET_REPO_PATH": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
ORCHESTRATOR_PROVIDER | Optional | LLM provider for the orchestrator agent (openai, anthropic, google, azure, cohere, ollama) |
ORCHESTRATOR_MODEL | Optional | Model name for the orchestrator agent |
ORCHESTRATOR_API_KEYSecret | Optional | API key for the orchestrator LLM provider (not needed for the default local ollama provider) |
CYPHER_PROVIDER | Optional | LLM provider for Cypher query generation (openai, anthropic, google, azure, cohere, ollama) |
CYPHER_MODEL | Optional | Model name for Cypher query generation |
CYPHER_API_KEYSecret | Optional | API key for the Cypher LLM provider (not needed for the default local ollama provider) |
MEMGRAPH_HOST | Optional | Hostname of the Memgraph database |
MEMGRAPH_PORT | Optional | Port of the Memgraph database |
TARGET_REPO_PATH | Optional | Path to the repository to analyze (auto-detected from working directory if not set) |
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
Knowledge-graph RAG for multi-language codebases: index, query and edit code in natural language.
Frequently asked questions
What is Code-Graph-RAG MCP Server?
Knowledge-graph RAG for multi-language codebases: index, query and edit code in natural language.
How do I install Code-Graph-RAG MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Code-Graph-RAG MCP Server runs locally from the PyPI package code-graph-rag with the command uvx code-graph-rag.
Is Code-Graph-RAG MCP Server free and open source?
Yes. Code-Graph-RAG MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Code-Graph-RAG MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Code-Graph-RAG MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is Code-Graph-RAG MCP Server's trust score calculated?
Code-Graph-RAG MCP Server scores 77 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.