Skip to content

Releases

v0.1.2: easier-to-read demo output

Choose a tag to compare

@Salman-khann Salman-khann released this 24 Nov 11:41

ragdial-demo now explains itself. Run it with:

uvx --from ragdial-mcp ragdial-demo

ragdial-demo output

What changed

  • Five numbered steps, each with a one-line plain-English caption: read the documents, cut them two ways, see what breaks, ask 30 questions, verdict.
  • Bars instead of number columns for "tables cut in half" and nDCG@5, so the comparison reads at a glance.
  • A real chunk cut shown plainly, with the exact split point marked, instead of escaped text.
  • A verdict panel with before/after numbers and the questions that flipped, written out in full instead of IDs.
  • Consistent colours: orange is always fixed-size chunking and blue is always header-aware chunking (validated for colour-blind readers). Green and red appear only for outcomes, always next to ✓ or ✗.
  • More robust output: no crash on non-UTF-8 pipes, colour that works on Windows when FORCE_COLOR is set, and 100 columns when piped.

Under the hood

  • New dependency: rich.
  • The README GIF is rendered from the demo's real colour output by scripts/make_demo_gif.py.
  • 38 tests (new demo smoke test).

The MCP server's tools, resources and prompts are unchanged since v0.1.0.

v0.1.1: MCP Registry listing

Choose a tag to compare

@Salman-khann Salman-khann released this 24 Nov 11:17

RAGDial is now listed in the official MCP Registry as io.github.Salman-khann/ragdial-mcp, so MCP clients can discover it in search.

Install

claude mcp add ragdial -- uvx ragdial-mcp

Changes

  • Added server.json describing the server for the MCP Registry (PyPI package, stdio transport, runs with uvx).
  • The release workflow now publishes each new version to the MCP Registry after the PyPI upload, authenticating with GitHub OIDC (no stored secrets).
  • Tests keep server.json, the package version and the README ownership marker in sync.

No changes to the server's tools, resources, prompts or behaviour since v0.1.0.

v0.1.0: first release

Choose a tag to compare

@Salman-khann Salman-khann released this 24 Nov 11:11

First public release of RAGDial MCP: an MCP server that turns an AI coding assistant into a systematic RAG retrieval tuner. It runs controlled chunking and retrieval experiments, shows exactly which tables and code blocks a chunker cut in half, and picks a pipeline by Recall@k, MRR, nDCG@k and p95 latency.

Install

claude mcp add ragdial -- uvx ragdial-mcp

Try the full before/after loop in your terminal:

uvx --from ragdial-mcp ragdial-demo

What's in it

  • 5 tools: ingest_corpus, run_chunking_ablation, inspect_boundary_splits, benchmark_retrieval, diff_experiment_runs. Every tool returns compact typed summaries, never raw chunk text.
  • 3 resources: ragdial://experiments, ragdial://experiments/{run_id}/report, ragdial://corpus/{corpus_id}/stats
  • 2 prompts: diagnose_retrieval_failures, generate_rag_spec
  • 4 chunkers: fixed-token, recursive, header-aware Markdown (keeps tables/code atomic, replicates table headers), and embedding-based semantic splitting, all with exact source offsets for boundary-damage audits.
  • Retrieval: BM25, dense (ChromaDB or NumPy), hybrid via Reciprocal Rank Fusion, and optional bge-reranker-base cross-encoder reranking.
  • Bundled benchmark pack: 13 technical docs and 30 golden questions with verbatim evidence. Pass "@sample" to try it instantly.
  • Local-first: no API keys. Real models (bge-small, bge-reranker-base, ChromaDB) via uvx --from "ragdial-mcp[ml]" ragdial-mcp.
  • Transports: stdio for IDE clients, Streamable HTTP and a Dockerfile for hosted use.

Results on the bundled pack

Change Recall@5 nDCG@5 Queries fixed / regressed
fixed-256 → markdown-256 (BM25) 0.817 → 0.983 0.742 → 0.926 5 / 0
fixed-256 → markdown-256 (bge-small + reranker) 0.833 → 0.983 0.779 → 0.950 5 / 0

Requires Python 3.11+ and the MCP Python SDK v2. Tested on Linux, Windows and macOS.