Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words Sign in

RAGDial

by Salman-khannversion 0.2.0i★ 1iRuns on your computerRepository ↗

How to install

What it does

Run RAG chunking & retrieval ablations: boundary-damage audits, Recall@k, MRR, nDCG@k, hybrid search

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Search & AI memory

Use together with

Skills that teach the AI this kind of work; they work alongside this one

last30days-skill

AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary

by mvanhorn★ 75,1131 skills

Skill · How-to guide

timesfm

TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.

by google-research★ 35,6991 skills

Skill · How-to guide

Shadowbroker

Open-source intelligence for the global theater. Track everything from the corporate/private jets of the wealthy, and spy satellites, to seismic events in one unified interface. Hook an AI agent up to have it parse through data and find previously unseen correlations. The knowledge is available to…

by BigBodyCobain★ 11,6311 skills

Skill · How-to guide

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity4/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score16/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install RAGDial. Follow https://mcp.popnx.com/i/salman-khann-ragdial-mcp.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 25, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server RAGDial for Claude on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "ragdial": { "command": "uvx", "args": [ "ragdial-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the RAGDial tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "ragdial": {
          "command": "uvx",
          "args": [
            "ragdial-mcp"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use RAGDial and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using RAGDial or shows a RAGDial tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • RAGDIAL_HOME Directory for the SQLite experiment store (default: ~/.ragdial)

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect RAGDial yet

RAGDial runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect RAGDial

  • Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time)

B · Others in Search & AI memory that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server RAGDial for Claude Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user ragdial -- uvx ragdial-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the RAGDial tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user ragdial -- uvx ragdial-mcp
  4. Type /mcp in Claude Code

    You should see RAGDial listed as connected

  5. Try it

    Use RAGDial and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using RAGDial or shows a RAGDial tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • RAGDIAL_HOME Directory for the SQLite experiment store (default: ~/.ragdial)

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server RAGDial for Cursor on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "ragdial": { "command": "uvx", "args": [ "ragdial-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the RAGDial tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use RAGDial and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using RAGDial or shows a RAGDial tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • RAGDIAL_HOME Directory for the SQLite experiment store (default: ~/.ragdial)

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server RAGDial for VS Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "ragdial": { "type": "stdio", "command": "uvx", "args": [ "ragdial-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the RAGDial tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use RAGDial and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using RAGDial or shows a RAGDial tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • RAGDIAL_HOME Directory for the SQLite experiment store (default: ~/.ragdial)

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use RAGDial💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user ragdial -- uvx ragdial-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "ragdial": {
      "command": "uvx",
      "args": [
        "ragdial-mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "ragdial": {
      "command": "uvx",
      "args": [
        "ragdial-mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "ragdial": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "ragdial-mcp"
      ]
    }
  }
}

Values you fill in

  • RAGDIAL_HOME env
    Directory for the SQLite experiment store (default: ~/.ragdial)

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Registry name
io.github.Salman-khann/ragdial-mcp
Downloads per weeki
Not on npm/PyPI
Connection
Runs on your computer
Latest versioni
0.2.0
Published to registryi
Nov 25, 2026
Code last changedi
Nov 25, 2026
Maker
Salman-khann
Packages
pypi: ragdial-mcp
Website
github.com
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 26, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account Salman-khann, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed yesterday

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

Not checked yet

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/salman-khann-ragdial-mcp.svg)](https://mcp.popnx.com/en/servers/salman-khann-ragdial-mcp)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Search & AI memoryi

  • More stars than 77% of the other 6881 servers in this category
  • Published to the registry more recently than 97% of the other 6881 servers in this category
  • Basic checks equal to or better than 99% of the other 6881 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is RAGDial safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed yesterday, and the latest version (0.2.0) reached the registry yesterday.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.

What can I use instead?

In the same category: OpenSEO, Exa, Microsoft Learn MCP, Docs, COTAL actions (cotal.ai)

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

OpenSEO

Keyword research, site audits, rank tracking and AI visibility for your AI agent.

by every-appWidely used★ 28.9KUpdated 12 days ago

Connect now (has URL) · sign-in✓ everyapp.com

Exa

Official Exa MCP for web search, content fetching, and multi-step research.

by exa-labsWidely used★ 5.3KUpdated 6 days ago

Connect now (has URL) · needs a key✓ service owner · exa.aiTried by the PopNx team

Microsoft Learn MCP

Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.

by MicrosoftDocsWidely used★ 2KUpdated 12 months ago

Connect now (has URL)3 tools · light✓ service owner · microsoft.comTried by the PopNx team

Docs

Search and read Empryo's documentation. Read-only, no auth, no local access.

by proxysoulGrowing★ 1.6KUpdated 3 months ago

Connect now (has URL)4 tools · light✓ empryo.com

COTAL actions (cotal.ai)

cotal.ai actions: product overview, site search, build log, feedback, Cloud waitlist, updates, calls

by Cotal-AIGrowing★ 412Updated 3 months ago

Connect now (has URL)12 tools · light✓ service owner · cotal.ai
Compared with similar ones
This one
RAGDial
OpenSEOExaMicrosoft Learn MCPDocsCOTAL actions (cotal.ai)
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoYesYesYesNoNo
Basic checks3/35/52/44/44/44/4
LicenseMITMITMITCC-BY-4.0NOASSERTIONApache-2.0
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

RAGDial MCP

RAGDial MCP is a RAG retrieval ablation & chunking lab, packaged as an MCP server. It turns an AI coding assistant (Claude Code, Cursor, Claude Desktop) into a systematic retrieval tuner. Instead of guessing chunk sizes and overlaps, the agent runs controlled experiments, looks at exactly which tables and code blocks got cut in half, and compares pipelines on Recall@k, MRR, nDCG@k and p95 latency, with confidence intervals so small differences aren't mistaken for wins.

ingest_corpus → run_chunking_ablation → inspect_boundary_splits → benchmark_retrieval → diff_experiment_runs

Everything runs locally: no API keys and no paid services. The first run downloads tiktoken's tokenizer file (about 1.7 MB); offline, a regex tokenizer takes over and every result says which one was used. On the bundled benchmark pack, the full loop takes a few seconds on a laptop.

A real run of ragdial-demo, captured with its colours and rendered by scripts/make_demo_gif.py. Orange = naive fixed-size chunking, green = tuned fixed-size chunking, blue = header-aware chunking.


Quick start (under 2 minutes)

You need uv and nothing else; uv fetches Python 3.11+ if it's missing.

Add it to Claude Code:

claude mcp add ragdial -- uvx ragdial-mcp

Then ask: *"Ingest @sample, ablate fixed vs markdown chunking at 256/512 tokens, show me which tables got split, and benchmark against @sample."* The @sample shortcut points the tools at the bundled 13-document benchmark pack and its 30 golden questions. Point ingest_corpus at your own docs folder when you're ready.

See the whole loop in your terminal, no agent needed:

uvx --from ragdial-mcp ragdial-demo

Work on the code:

git clone https://github.com/Salman-khann/RAGDial-MCP.git

cd RAGDial-MCP uv sync # core deps: MCP SDK, tiktoken, rank-bm25, numpy uv run ragdial-demo # full before/after loop on sample_data/ (about 4 s) uv run pytest # 32 deterministic tests, no downloads

To run the latest unreleased main instead of the PyPI release, use uvx --from git+https://github.com/Salman-khann/RAGDial-MCP ragdial-mcp.

What the demo shows, and what it doesn't

The demo compares three chunkers on the bundled pack (30 questions, BM25, top-5):

ChunkerMedian chunkTables cutnDCG@595% CI
fixed-256, no overlap (naive baseline)256 tok12 of 140.7630.63 to 0.88
fixed-512, 64-token overlap (tuned baseline)512 tok3 of 140.8650.79 to 0.94
markdown-256 (header-aware)110 tok5 of 14, header repeated0.9260.86 to 0.98

Read it this way:

  • Against naive fixed-size chunking, header-aware chunking clearly wins: +0.163 nDCG@5 (95% CI +0.06 to +0.28). 4 questions go from miss to hit and none go the other way, though 4-0 alone is not significant (sign test p = 0.125).
  • Against a tuned baseline, the difference is within noise: +0.061 against fixed-512 with overlap (95% CI −0.01 to +0.14). On this pack the tool reports six variants as statistically tied with the best.
  • Where markdown's gain comes from: its chunks are smaller (median 110 vs 256 tokens) and start with a Doc > Section breadcrumb. Without the breadcrumb, markdown-256 scores 0.897, so about 0.03 of the 0.163 comes from that prefix, not from where the text is split.
  • This is a demo, not evidence. The corpus and questions are synthetic, table-heavy, and written by the same author as the chunkers. Run RAGDial on your own documents and questions before deciding anything.

To use real models (BAAI/bge-small-en-v1.5, the BAAI/bge-reranker-base cross-encoder, and ChromaDB):

uvx --from "ragdial-mcp[ml]" ragdial-demo --embedder bge-small --reranker bge-reranker-base

An earlier run with real models (v0.1.2, before the 0.2 metric fixes, laptop CPU, no GPU) showed the same direction: nDCG@5 0.779 for fixed-256 vs 0.950 for markdown-256 with dense retrieval and the bge reranker. The cross-encoder took 13 to 17 seconds per question on CPU, and that time grows with chunk length. That's the trade-off generate_rag_spec weighs against a latency budget.

Connect it to an agent

Claude Code:

claude mcp add ragdial -- uvx ragdial-mcp

with real models:

claude mcp add ragdial -- uvx --from "ragdial-mcp[ml]" ragdial-mcp

Inside a clone, the project-scoped .mcp.json also offers the ragdial server automatically, running your local checkout.

Cursor / Claude Desktop (mcpServers entry):

{ "ragdial": { "command": "uvx", "args": ["ragdial-mcp"] } }

Remote / container (Streamable HTTP on http://localhost:8000/mcp):

uv run ragdial-mcp --transport streamable-http --port 8000

or

docker build -t ragdial-mcp . && docker run --rm -p 8000:8000 -v ragdial:/data ragdial-mcp

Inspect the schemas with the MCP Inspector:

npx @modelcontextprotocol/inspector uv run ragdial-mcp

Then ask the agent something like: *"Ingest sample_data/corpus, ablate fixed/recursive/markdown/semantic at 128/256/512 with 0 and 64 overlap, show me the worst table splits, benchmark against sample_data/golden_qa.jsonl and tell me which config to ship."*


Local or hosted?

RAGDial does its work (parsing, chunking, embedding, ranking) in its own process, so whoever runs that process supplies the CPU, RAM and disk. The AI model only receives the compact JSON results.

Run it locally (the default, recommended for most people). Your MCP client starts ragdial-mcp on your machine over stdio, as set up in .mcp.json and the quick start.

  • Your documents never leave your machine. Only metric summaries and short excerpts reach the model.
  • ingest_corpus reads any folder on your disk directly, with no upload step.
  • There's no server to pay for and no account or API key to manage.
  • The core mode is light: the full sample loop runs in seconds. Expect real CPU and RAM use only with the ml extra. Its models total about 1.3 GB on disk, and the cross-encoder reranker is slow on CPU but uses an NVIDIA GPU automatically if PyTorch finds one.

Host it as a shared server when one of these applies:

  • Heavy models on weak laptops: a GPU server runs bge-reranker-base many times faster than a laptop CPU.
  • Teams: everyone shares one experiment history and can diff each other's runs.
  • Large corpora: tens of thousands of documents need more memory and time than a laptop comfortably gives.
  • Zero install for users: people connect with a URL instead of installing uv and Python.
docker build -t ragdial-mcp:ml --build-arg EXTRAS=ml .

docker run -d -p 8000:8000 --gpus all \ -v ragdial:/data \ -v /srv/corpora:/corpora:ro \ ragdial-mcp:ml

clients connect to http:// :8000/mcp and ingest e.g. folder_path="/corpora/my-docs"

Drop --gpus all on a machine without an NVIDIA GPU.

Keep in mind when hosting:

  • Paths are server paths. ingest_corpus reads folders on the *server*, so mount the document folders into the container (read-only, as above).
  • There is no built-in authentication. Anyone who can reach the port can run experiments and read any folder the container can see. Keep it on a private network or behind a reverse proxy that handles auth and TLS. Never expose it directly to the internet.
  • Data in `/data` is shared by all users of that server: corpora, runs and reports.
Local (stdio)Hosted (Streamable HTTP)
Who pays for computeEach user's machineThe server
Where documents liveUser's diskMounted on the server
Setup per userInstall uv, clone or uvxPaste a URL
Experiment historyPer user (~/.ragdial)Shared (/data)
GPU for rerankingOnly if the user has oneProvision once on the server
Access controlYour OS accountYour network or reverse proxy (none built in)

MCP surface

Tools (model-driven actions)
ToolKey parametersReturns
ingest_corpusfolder_path, corpus_idFile count, total tokens, detected headers/tables/nested tables/code/lists, document IDs
run_chunking_ablationcorpus_id, strategies[], chunk_sizes[], overlaps[], embedderPer config: chunk count, token p50/p95/max, boundary-damage score, severed/total per structure kind
inspect_boundary_splitsrun_id, limit=5, config_id, kinds[]Excerpts of about 110 characters on each side of every cut through a table, code fence, list or paragraph
benchmark_retrievalrun_id, dataset_path, retrievers[], reranker, top_k, configs[], embedder, vector_storeRecall@k, MRR, nDCG@k, hit rate, p50/p95 latency per *chunk config × retriever*, plus the 3 worst queries
diff_experiment_runsrun_a, run_b, variant_a, variant_bMetric deltas (B − A), query IDs that flipped miss→hit or regressed, and rank-movement counts
Resources (read-only context)
URIContent
ragdial://experimentsIndex of corpora and runs with configs, timestamps and headline metrics
ragdial://experiments/{run_id}/reportFull JSON: every variant and the per-query hit/miss table with top chunk IDs
ragdial://corpus/{corpus_id}/statsDocument metadata, token counts and structural breakdown
Prompts (user-triggered workflows)
PromptWhat it makes the agent do
diagnose_retrieval_failures(run_id)Pull the worst queries from the report, run inspect_boundary_splits, classify each miss (boundary damage / ranking / vocabulary / dilution), test one targeted fix and confirm it with diff_experiment_runs
generate_rag_spec(corpus_id, latency_budget_ms)Drop variants over the p95 budget, treat variants statistically tied on nDCG as equal and choose among them by latency and simplicity, never recommend dense/hybrid from hash-embedder runs, and emit a YAML production spec that cites the supporting run IDs and confidence intervals
Context-window discipline, by design

Each tool returns a typed Pydantic model (exposed as an MCP outputSchema with structuredContent) holding metric tables, IDs and a next_step hint. No tool returns chunk text. The only text that reaches the model is the clipped excerpts from inspect_boundary_splits, at most 25 of them. Full per-query detail sits behind ragdial://experiments/{run_id}/report, and the agent reads it only for the queries it is investigating. A 48-config ablation costs a few KB of context, not a few MB.


How it measures things

Chunkers (chunking/strategies.py)

Each chunker records the exact source span (start/end character offsets) of every chunk, which is what makes the boundary audit exac

Only the beginning is shown; read the rest in the repo