Code-Graph-RAG

io.github.vitali87/code-graph-rag

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "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"
      }
    }
  }
}
Environment variables
  • ORCHESTRATOR_PROVIDERLLM provider for the orchestrator agent (openai, anthropic, google, azure, cohere, ollama)
  • ORCHESTRATOR_MODELModel name for the orchestrator agent
  • ORCHESTRATOR_API_KEYsecretAPI key for the orchestrator LLM provider (not needed for the default local ollama provider)
  • CYPHER_PROVIDERLLM provider for Cypher query generation (openai, anthropic, google, azure, cohere, ollama)
  • CYPHER_MODELModel name for Cypher query generation
  • CYPHER_API_KEYsecretAPI key for the Cypher LLM provider (not needed for the default local ollama provider)
  • MEMGRAPH_HOSTHostname of the Memgraph database
  • MEMGRAPH_PORTPort of the Memgraph database

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.5.0
Registry
active
Published
11/3/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that Code-Graph-RAG is listed here — it’s also the link we check for a free listing.

Code-Graph-RAG — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-vitali87-code-graph-rag?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Code-Graph-RAG — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Code-Graph-RAG — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-vitali87-code-graph-rag?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.