LlamaIndex processes documents for AI applications and provides developer documentation and integrations.
Chunk Tuner
Chunk Tuner benchmarks document chunking strategies for RAG and recommends a configuration through a CLI, Python library, or MCP server.

About Chunk Tuner
Chunk Tuner is an open-source tool that automates the selection of optimal document chunking strategies for retrieval-augmented generation (RAG) pipelines. It solves the common problem where document chunking approach directly impacts RAG retrieval quality, removing the need for manual trial-and-error testing of different chunking setups.
The tool ingests documents from local files, URLs, or repositories, then tests a range of built-in chunking strategies including fixed-token windows, recursive character splitting, semantic splitting, PDF structural chunking, and AST-based code chunking. Each strategy is evaluated against real retrieval metrics such as token recall, MRR, and NDCG, with optional generation metrics including RAGAS faithfulness and answer relevancy. After benchmarking all configurations against a baseline, it outputs a recommended setup saved as a .autochunk.yaml file.
Chunk Tuner is accessible via a command-line interface (CLI), Python library for programmatic pipeline integration, and MCP server for use with tools like Claude Desktop. It supports zero-cost offline testing with dummy embeddings, and provides a dry-run cost estimate before running evaluations that require paid embedding API calls. It is suited for developers and teams building or optimizing RAG systems who want to improve retrieval performance without manual configuration work.
Key features
- Benchmarks multiple RAG document chunking strategies.
- Scores configs against retrieval and optional generation metrics.
- Available as CLI, Python library, and MCP server.
- Provides free dry-run cost estimates before paid calls.
- Supports zero-cost offline testing with dummy embeddings.
- Outputs recommended config as .autochunk.yaml.
- Open-source with no mandatory costs for initial testing.
- Supports multiple integration interfaces for different workflows.
- Tests a wide range of common chunking strategies.
- Provides clear ranked results with baseline performance comparison.
- Real embedding and generation metric evaluation may require paid third-party API calls.
- Requires technical familiarity to integrate into existing RAG workflows.
Chunk Tuner at a glance
- Type
- Open-source project
- Pricing
- Free
- Platforms
- Windows
- Open source
- Yes · Source code
- Language
- English
- Last checked
- Oct 5, 2026 · Online when checked
- Listed
- Oct 5, 2026
Chunk Tuner alternatives
Tools and sites you could use instead, ranked by how closely they match.
Neurolink connects AI model providers to applications and includes generation, streaming, voice, RAG, and file processing features.
PySyft supports data science on data that remains on another person’s server.
DEAP provides a Python framework for prototyping evolutionary computation algorithms and testing new ideas.
OneCompression is a Python package for compressing large language models.
PDF Parser extracts structured data from complex PDFs for retrieval-augmented generation workflows.
Popular in AI Infrastructure & MLOps
Well-known listings from the same topic.
Chunk Tuner FAQ
Is Chunk Tuner free to use?
What interfaces does Chunk Tuner offer?
What metrics are used to evaluate chunking strategies?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.












