Skip to content
Grok

code-graph for Grok

io.github.cyberchronos00/cg-code-graph

Local dependency graph: callers, entry points and file:line evidence for what a change affects.

client:Grok transport:stdio runtime:pypi

Install code-graph in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "cg-code-graph": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "cg-code-graph"
      ]
    }
  }
}

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 in other clients