Skip to content
Grok

Code-Graph-RAG for Grok

io.github.vitali87/code-graph-rag

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

client:Grok transport:stdio runtime:pypi

Install Code-Graph-RAG in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "code-graph-rag": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "code-graph-rag"
      ],
      "env": {
        "ORCHESTRATOR_PROVIDER": "<ORCHESTRATOR_PROVIDER>",
        "ORCHESTRATOR_MODEL": "<ORCHESTRATOR_MODEL>",
        "ORCHESTRATOR_API_KEY": "<ORCHESTRATOR_API_KEY>",
        "CYPHER_PROVIDER": "<CYPHER_PROVIDER>",
        "CYPHER_MODEL": "<CYPHER_MODEL>",
        "CYPHER_API_KEY": "<CYPHER_API_KEY>",
        "MEMGRAPH_HOST": "<MEMGRAPH_HOST>",
        "MEMGRAPH_PORT": "<MEMGRAPH_PORT>",
        "TARGET_REPO_PATH": "<TARGET_REPO_PATH>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

Code-Graph-RAG in other clients