Skip to main content

chunktuner

io.github.shantanu-deshmukh/chunktuner

v0.3.0Updated Nov 29, 2026stdio · PyPI

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

Install

Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add chunktuner -e 'CHUNK_TUNER_BASE_DIR=<your-chunk-tuner-base-dir>' -e CHUNK_TUNER_ALLOW_URLS=0 -- uvx chunktuner==0.3.0

The registry lists extra launch arguments or environment variables for this server that could change what runs. They are left out here; check its repository before adding any.

Configuration

6 settings.

  • CHUNK_TUNER_BASE_DIR
    Env var· required
    Absolute corpus root; every local path a tool receives must be under it.
  • CHUNKTUNER_API_KEY
    Env var· optional· secret
    Optional API key for CHUNKTUNER_API_BASE.
  • CHUNK_TUNER_ALLOW_URLS
    Env var· optional
    Set to 1 to let tools fetch public http(s) URLs (SSRF-guarded). Off when unset.Default: 0
  • CHUNKTUNER_LLM_MODEL
    Env var· optional
    LiteLLM model id for dataset generation, generation metrics and agentic.
  • CHUNKTUNER_API_BASE
    Env var· optional
    Optional OpenAI-compatible endpoint for LiteLLM (e.g. a local server).
  • --with
    Argument· optional
    The MCP SDK (chunktuner's optional 'mcp' extra).

Listed in the official MCP Registry since Nov 29, 2026. Mirrored daily; last checked Nov 29, 2026.