Skip to content
VS Code

chunktuner for VS Code

io.github.shantanu-deshmukh/chunktuner

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

client:VS Code transport:stdio runtime:pypi

Install chunktuner in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "chunk-tuner-base-dir",
      "description": "CHUNK_TUNER_BASE_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "chunk-tuner-allow-urls",
      "description": "CHUNK_TUNER_ALLOW_URLS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "chunktuner-llm-model",
      "description": "CHUNKTUNER_LLM_MODEL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "chunktuner-api-base",
      "description": "CHUNKTUNER_API_BASE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "chunktuner-api-key",
      "description": "CHUNKTUNER_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "chunktuner": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "chunktuner"
      ],
      "env": {
        "CHUNK_TUNER_BASE_DIR": "${input:chunk-tuner-base-dir}",
        "CHUNK_TUNER_ALLOW_URLS": "${input:chunk-tuner-allow-urls}",
        "CHUNKTUNER_LLM_MODEL": "${input:chunktuner-llm-model}",
        "CHUNKTUNER_API_BASE": "${input:chunktuner-api-base}",
        "CHUNKTUNER_API_KEY": "${input:chunktuner-api-key}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

chunktuner in other clients