Home › Search & Research › Code-Graph-RAG

Code-Graph-RAG

Knowledge-graph RAG for multi-language codebases: index, query and edit code in natural language.

Python
★ 5,345 stars Last pushed 2026-11-08 License: MIT

Connect

Review any command before running it. Package names and URLs come from the server's own registry entry.

Package (pypi 0.6.0)

uvx code-graph-rag

Or add to your MCP client config:

{
  "mcpServers": {
    "code-graph-rag": {
      "command": "uvx",
      "args": [
        "code-graph-rag"
      ],
      "env": {
        "ORCHESTRATOR_PROVIDER": "<YOUR_VALUE>",
        "ORCHESTRATOR_MODEL": "<YOUR_VALUE>",
        "ORCHESTRATOR_API_KEY": "<YOUR_VALUE>",
        "CYPHER_PROVIDER": "<YOUR_VALUE>",
        "CYPHER_MODEL": "<YOUR_VALUE>",
        "CYPHER_API_KEY": "<YOUR_VALUE>",
        "MEMGRAPH_HOST": "<YOUR_VALUE>",
        "MEMGRAPH_PORT": "<YOUR_VALUE>",
        "TARGET_REPO_PATH": "<YOUR_VALUE>"
      }
    }
  }
}
  • 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 secret — 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 secret — 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)

This server takes extra arguments — see its repository.

Related servers

Data from the Official MCP Registry