Skip to content
Grok

chunktuner for Grok

io.github.shantanu-deshmukh/chunktuner

Benchmark chunking strategies on your corpus and recommend the best RAG chunking config.

client:Grok transport:stdio runtime:pypi

Install chunktuner 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": {
    "chunktuner": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "chunktuner"
      ],
      "env": {
        "CHUNK_TUNER_BASE_DIR": "<CHUNK_TUNER_BASE_DIR>",
        "CHUNK_TUNER_ALLOW_URLS": "<CHUNK_TUNER_ALLOW_URLS>",
        "CHUNKTUNER_LLM_MODEL": "<CHUNKTUNER_LLM_MODEL>",
        "CHUNKTUNER_API_BASE": "<CHUNKTUNER_API_BASE>",
        "CHUNKTUNER_API_KEY": "<CHUNKTUNER_API_KEY>"
      }
    }
  }
}

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

chunktuner in other clients