Skip to content

codebase context mcp for Grok

io.github.jhackman2019/codebase-context-mcp

Codebase indexing and search via WASM tree-sitter. Works on ARM64 and x86_64.

client:Grok transport:stdio runtime:npm

Install codebase context mcp in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "codebase-context-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "codebase-context-mcp"
      ]
    }
  }
}

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

codebase context mcp in other clients