MCP directory
C

chunktuner

by github.com/shantanu-deshmukh · v0.3.0 · updated Nov 29, 2026

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

PyPI

Run it locally

Install the package and point your AI client at it.

PyPI

uvx chunktuner==0.3.0

Environment variables

  • CHUNK_TUNER_BASE_DIRrequired

    Absolute corpus root; every local path a tool receives must be under it.

  • CHUNK_TUNER_ALLOW_URLS

    Set to 1 to let tools fetch public http(s) URLs (SSRF-guarded). Off when unset.

  • CHUNKTUNER_LLM_MODEL

    LiteLLM model id for dataset generation, generation metrics and agentic.

  • CHUNKTUNER_API_BASE

    Optional OpenAI-compatible endpoint for LiteLLM (e.g. a local server).

  • CHUNKTUNER_API_KEYsecret

    Optional API key for CHUNKTUNER_API_BASE.

More MCP servers