chunktuner
● Activeio.github.shantanu-deshmukh/chunktuner
Benchmark chunking strategies on your corpus and recommend the best RAG chunking config.
Connect this server
One click to install, or copy the config below. Suits: Claude Desktop · Cursor.
Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):
{
"mcpServers": {
"chunktuner": {
"command": "uvx",
"args": [
"--with",
"mcp[cli]>=2.3,<3",
"chunktuner"
],
"env": {
"CHUNK_TUNER_BASE_DIR": "<your CHUNK_TUNER_BASE_DIR>",
"CHUNK_TUNER_ALLOW_URLS": "0",
"CHUNKTUNER_API_KEY": "<your CHUNKTUNER_API_KEY>"
}
}
}
}claude mcp add --env CHUNK_TUNER_BASE_DIR='<your CHUNK_TUNER_BASE_DIR>' --env CHUNK_TUNER_ALLOW_URLS=0 --env CHUNKTUNER_API_KEY='<your CHUNKTUNER_API_KEY>' --transport stdio chunktuner -- uvx --with 'mcp[cli]>=2.3,<3' chunktunercodex mcp add chunktuner --env CHUNK_TUNER_BASE_DIR='<your CHUNK_TUNER_BASE_DIR>' --env CHUNK_TUNER_ALLOW_URLS=0 --env CHUNKTUNER_API_KEY='<your CHUNKTUNER_API_KEY>' -- uvx --with 'mcp[cli]>=2.3,<3' chunktunercode --add-mcp '{"name":"chunktuner","type":"stdio","command":"uvx","args":["--with","mcp[cli]>=2.3,<3","chunktuner"],"env":{"CHUNK_TUNER_BASE_DIR":"<your CHUNK_TUNER_BASE_DIR>","CHUNK_TUNER_ALLOW_URLS":"0","CHUNKTUNER_API_KEY":"<your CHUNKTUNER_API_KEY>"}}'Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.
- CHUNK_TUNER_BASE_DIRrequiredAbsolute corpus root; every local path a tool receives must be under it.
- CHUNK_TUNER_ALLOW_URLSSet to 1 to let tools fetch public http(s) URLs (SSRF-guarded). Off when unset.
- CHUNKTUNER_API_KEYsecretOptional API key for CHUNKTUNER_API_BASE.
A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.
Is it safe? Is it maintained?
Serverdex check: Dec 2, 2026Looks healthy: chunktuner is maintained, open source.
- Maintained
- Active
- Last commit 6 days ago (Nov 29, 2026), 0 open issues.
- Official registry
- Active
- Published as io.github.shantanu-deshmukh/chunktuner in the official MCP registry, version 0.3.0.
- Source
- Open source, MIT
- Public repository under the MIT licence, 2 stars, 0 forks.
- Runs
- On your machine
- A local PyPI package started by your client; it can reach whatever your user account can.
- Credentials
- 2 required
- Declared environment variables: CHUNK_TUNER_BASE_DIR, CHUNKTUNER_API_KEY. They stay on your machine; the config on this page shows where each goes.
- Owner
- Unclaimed
- Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.
Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself.
Report Card
How the grade works →Grade A · Production-ready
Maintenance & production-readiness — 80/100 from the six repository signals below. A comparable rollup, not a code audit.
- Recent commits+30/30
Last commit 6 days ago.
- Open licence+15/15
MIT on GitHub.
- Documentation+15/15
The repository ships a README.
- Adoption0/20
2 GitHub stars.
- Registry status+12/12
Active in the official MCP registry.
- Product surface+8/8
Has a homepage or a published package/endpoint.
Own this server? Add the grade badge — it links back here
<a href="https://serverdex.io/server/io-github-shantanu-deshmukh-chunktuner?utm_source=report-badge"><img src="https://serverdex.io/server/io-github-shantanu-deshmukh-chunktuner/report-badge.svg" alt="chunktuner — Serverdex Report Card A" height="22"></a>Compare every server's grade on best-maintained MCP servers.
On GitHub
read Nov 30, 2026Pythonchunkingembeddingevaluationlangchainlitellmllamaindexllmmcpoptimizationragragasretrievaltext-splittingvector-database
From the README
chunktuner Auto chunking tuner and MCP server for RAG pipelines. Give it your documents. It tries multiple chunking strategies, measures which setup supports retrieval best, and recommends a configuration for your corpus and use case. Zero API cost to start — run estimate for a dry-run before any paid calls. Full documentation: shantanu-deshmukh.github.io/chunktuner What it does When building a RAG pipeline, how you split documents into chunks directly impacts retrieval quality. chunktuner automates the process of finding the optimal chunking strategy for your specific corpus, embedding model, and use case. It benchmarks strategies like fixed-token windows, recursive character splitting, semantic splitting, PDF structural chunking, and AST-based code chunking — then scores each one against retrieval metrics (token recall, MRR, NDCG) over an evaluation dataset (your own question file, LLM-generated questions, or a built-in placeholder dataset). Generation metrics (RAGAS faithfulness, answer relevancy) are opt-in (--generation-metrics with the ragas extra and a real dataset); they are reported next to the retrieval metrics but are not part of the default scores. The CLI ingests local files and directories, a single http(s) URL (HTML, plain text, markdown or PDF) and, with --repo, a local code repository (vendor and build directories skipped). The MCP server and HTTP API take files and repositories under CHUNKTUNERBASEDIR, and URLs only when CHUNKTUNERALLOWURLS=1.…
Read the full README on GitHub →Alternatives to chunktuner
All chunktuner alternatives →Best AI & Agents servers →Compare side by side →The most-starred AI & Agents servers in the index, with their live-check result.
| Server | Stars | Last push | Live check |
|---|---|---|---|
| Ruflo | 82,393 | Nov 2026 | Local / not checked |
| Claude Flow | 82,392 | Nov 2026 | Local / not checked |
| CodeBurn | 11,945 | Nov 2026 | Local / not checked |
| Kaneo | 9,891 | Nov 2026 | Local / not checked |
| Ha MCP | 8,110 | Nov 2026 | Local / not checked |
chunktuner: questions people ask
- Is chunktuner a remote or a local MCP server?
- According to its entry in the official MCP registry, chunktuner ships as a local package (PyPI) that your client starts on your machine.
- Does chunktuner need an API key?
- Its registry entry declares 2 required environment variables: CHUNK_TUNER_BASE_DIR, CHUNKTUNER_API_KEY. The config on this page shows where each goes.
- Is chunktuner safe to use?
- Looks healthy: chunktuner is maintained, open source. In detail — maintained: Active; official registry: Active; source: Open source, MIT; runs: On your machine; credentials: 2 required. Serverdex check of Dec 2, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
- Is chunktuner still maintained?
- Active: the repository's last commit 6 days ago. Last push Nov 29, 2026, 2 GitHub stars, MIT licence. Read from GitHub on Nov 30, 2026.
- How do I add chunktuner to Claude, Cursor or VS Code?
- Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
More AI & Agents servers
Browse all AI & Agents →Model MCP
Production-ready
Revit MCP server. Agent install: https://sharafutdinovdi.github.io/revit-model-mcp/agent-install/
Google AI Search MCP
Well-maintained
Google AI search and documentation tools for MCP clients using Vertex AI or the Gemini API.
AI Visibility
Well-maintained
Track brand visibility across ChatGPT, Perplexity, Claude, and Gemini.
The Cartographer
Well-maintained
Ask which agent skills fit a task before you start it: picks from a vetted skill catalogue.
Baron Munchausen
Production-ready
Local grounded memory for coding agents: MCP over stdio, stdlib only, a verdict per answer
Donezo
Production-ready
Let Claude Code read and write your Donezo tasks, comments and memos. No delete tools; RLS-scoped.
Add the badge to your site
Show visitors that chunktuner is listed here — it’s also the link we check for a free listing.
HTML — for your website
<a href="https://serverdex.io/server/io-github-shantanu-deshmukh-chunktuner?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="chunktuner — listed on Serverdex" width="123" height="40" loading="lazy"></a>Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.
Markdown — for your README
[](https://serverdex.io/server/io-github-shantanu-deshmukh-chunktuner?utm_source=badge)Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.
Install buttons — for your README
[](https://serverdex.io/install/cursor/io-github-shantanu-deshmukh-chunktuner) [](https://serverdex.io/install/vscode/io-github-shantanu-deshmukh-chunktuner) [](https://serverdex.io/install/claude-code/io-github-shantanu-deshmukh-chunktuner)One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.
Install buttons — HTML for your docs
<a href="https://serverdex.io/install/cursor/io-github-shantanu-deshmukh-chunktuner"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-shantanu-deshmukh-chunktuner"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-shantanu-deshmukh-chunktuner"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>Same buttons as plain links for a docs page or website.
Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).