Skip to main content

Code-Graph-RAG

io.github.vitali87/code-graph-rag

v0.7.79Updated Nov 21, 2026stdio · PyPI

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

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add code-graph-rag -e ORCHESTRATOR_PROVIDER=ollama -e ORCHESTRATOR_MODEL=llama3.2 -e CYPHER_PROVIDER=ollama -e CYPHER_MODEL=llama3.2 -e MEMGRAPH_HOST=localhost -e MEMGRAPH_PORT=7687 -- uvx code-graph-rag==0.7.79 mcp-server

Configuration

9 settings.

  • ORCHESTRATOR_API_KEY
    Env var· optional· secret
    API key for the orchestrator LLM provider (not needed for the default local ollama provider)
  • CYPHER_API_KEY
    Env var· optional· secret
    API key for the Cypher LLM provider (not needed for the default local ollama provider)
  • ORCHESTRATOR_PROVIDER
    Env var· optional
    LLM provider for the orchestrator agent (openai, anthropic, google, azure, cohere, ollama)Default: ollama
  • ORCHESTRATOR_MODEL
    Env var· optional
    Model name for the orchestrator agentDefault: llama3.2
  • CYPHER_PROVIDER
    Env var· optional
    LLM provider for Cypher query generation (openai, anthropic, google, azure, cohere, ollama)Default: ollama
  • CYPHER_MODEL
    Env var· optional
    Model name for Cypher query generationDefault: llama3.2
Show 3 more
  • MEMGRAPH_HOST
    Env var· optional
    Hostname of the Memgraph databaseDefault: localhost
  • MEMGRAPH_PORT
    Env var· optional
    Port of the Memgraph databaseDefault: 7687
  • TARGET_REPO_PATH
    Env var· optional
    Path to the repository to analyze (auto-detected from working directory if not set)

Listed in the official MCP Registry since Nov 21, 2026. Mirrored daily; last checked Nov 26, 2026.