Skip to content
Grok

code context for Grok

io.github.infino-ai/code-context

Local code search for AI coding agents: hybrid keyword + semantic + SQL over an index in your repo.

client:Grok transport:stdio runtime:npm

Install code context 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-context": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@infino-ai/code-context"
      ],
      "env": {
        "CX_ROOT": "<CX_ROOT>",
        "CX_INDEX_DIR": "<CX_INDEX_DIR>",
        "CX_AUTO_SYNC": "<CX_AUTO_SYNC>",
        "CX_NO_EMBED": "<CX_NO_EMBED>",
        "CX_NO_RECEIPT": "<CX_NO_RECEIPT>"
      }
    }
  }
}

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