プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。プロトタイプ · 30分ごとに更新
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説 ログイン

RAGDial

作者:Salman-khannバージョン 0.2.0i★ 1iパソコンで動くリポジトリ ↗

インストール方法

できること

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

作者による原文

  • 接続方法 パソコンで動く
  • アカウントまたはキー キー不要
  • カテゴリ 検索・AIの記憶

一緒に使える

この種の作業を AI に教える Skill。これと一緒に使えます

last30days-skill

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

作者:mvanhorn★ 75,1131 個の skill

Skill · 手順書

timesfm

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

作者:google-research★ 35,6991 個の skill

Skill · 手順書

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…

作者:BigBodyCobain★ 11,6311 個の skill

Skill · 手順書

この順位の理由

一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり

人気4/80GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます
新しさ12/1230 日以内のリリースかコード更新で満点
応答中0/8前回の確認でクラウドのエンドポイントが応答
利用スコア16/100

品質: 基本チェック 3/3 項目に合格(表示のみ、並び順には不使用) · 勢い: データなし (「急上昇」タブでのみ使用)

インストール

使っているAIアプリを選んで、設定をコピーしてください。

ひとことで AI にインストールしてもらう

RAGDial をインストールして。https://mcp.popnx.com/i/salman-khann-ragdial-mcp.md に従い、コマンドを見せて、私が OK するまで実行しないで。

パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る

チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月25日

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude につなげますが、先に準備が必要です

先にパソコンへ Python (uv) を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません

AI にインストールしてもらう

このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude に MCP server RAGDial を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "ragdial": { "command": "uvx", "args": [ "ragdial-mcp" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、RAGDial のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. uv を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    uv --version
    • バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します

    uv のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: uv --version

    一度入れれば、uv を使うすべてのツールで使えます

  2. パソコン版 Claude アプリの設定ファイルを開く

    SettingsDeveloperEdit Config

  3. この設定を貼り付けて保存

    {
      "mcpServers": {
        "ragdial": {
          "command": "uvx",
          "args": [
            "ragdial-mcp"
          ]
        }
      }
    }
  4. Claude を終了してもう一度開く

  5. 試してみる

    RAGDial を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が RAGDial を使っていると言うか、回答に RAGDial のツール名が出れば接続成功です

追加の設定 1 項目(入力しなくても使えます)

上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。

  • RAGDIAL_HOME SQLite 実験ストアのディレクトリ(既定値: /.ragdial)
    英語の原文を見るDirectory for the SQLite experiment store (default: ~/.ragdial)

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT はまだ RAGDial につなげません

RAGDial はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません

代わりにできること

A · RAGDial につなげるアプリを使う

  • 先にパソコンへ Python (uv) を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
  • 先にパソコンへ Python (uv) を入れてください(1 回だけ)
  • 先にパソコンへ Python (uv) を入れてください(1 回だけ)
  • 先にパソコンへ Python (uv) を入れてください(1 回だけ)

B · 検索・AIの記憶 の中で ChatGPT につなげる別のサーバー

同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました

Claude Code につなげますが、先に準備が必要です

先にパソコンへ Python (uv) を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude Code に MCP server RAGDial を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user ragdial -- uvx ragdial-mcp 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、RAGDial のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. uv を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    uv --version
    • バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します

    uv のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: uv --version

    一度入れれば、uv を使うすべてのツールで使えます

  2. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く

  3. このコマンドを貼り付けて Enter

    claude mcp add --scope user ragdial -- uvx ragdial-mcp
  4. Claude Code で /mcp と入力

    RAGDial が一覧にあり、接続済みと表示されれば OK です

  5. 試してみる

    RAGDial を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が RAGDial を使っていると言うか、回答に RAGDial のツール名が出れば接続成功です

追加の設定 1 項目(入力しなくても使えます)

上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。

  • RAGDIAL_HOME SQLite 実験ストアのディレクトリ(既定値: /.ragdial)
    英語の原文を見るDirectory for the SQLite experiment store (default: ~/.ragdial)

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげますが、先に準備が必要です

先にパソコンへ Python (uv) を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Cursor に MCP server RAGDial を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "ragdial": { "command": "uvx", "args": [ "ragdial-mcp" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、RAGDial のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. uv を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    uv --version
    • バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します

    uv のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: uv --version

    一度入れれば、uv を使うすべてのツールで使えます

  2. このボタンで Cursor を開く

    Cursor で開く

    Cursor がインストールの確認をするので Install を押します

  3. Cursor の AI チャットを Agent モードで開く

  4. 試してみる

    RAGDial を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が RAGDial を使っていると言うか、回答に RAGDial のツール名が出れば接続成功です

追加の設定 1 項目(入力しなくても使えます)

上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。

  • RAGDIAL_HOME SQLite 実験ストアのディレクトリ(既定値: /.ragdial)
    英語の原文を見るDirectory for the SQLite experiment store (default: ~/.ragdial)

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげますが、先に準備が必要です

先にパソコンへ Python (uv) を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの VS Code に MCP server RAGDial を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "ragdial": { "type": "stdio", "command": "uvx", "args": [ "ragdial-mcp" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、RAGDial のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. uv を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    uv --version
    • バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します

    uv のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: uv --version

    一度入れれば、uv を使うすべてのツールで使えます

  2. このボタンで VS Code を開く

    VS Code で開く

    VS Code がインストールの確認をするので Install を押します

  3. VS Code の AI チャットを Agent モードで開く

  4. 試してみる

    RAGDial を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が RAGDial を使っていると言うか、回答に RAGDial のツール名が出れば接続成功です

追加の設定 1 項目(入力しなくても使えます)

上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。

  • RAGDIAL_HOME SQLite 実験ストアのディレクトリ(既定値: /.ragdial)
    英語の原文を見るDirectory for the SQLite experiment store (default: ~/.ragdial)

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

JSON 設定は下の「開発者向け」にあります

つまずいたら?RAGDial を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

パソコンにインストール

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"
      ]
    }
  }
}

自分で入力する値

  • RAGDIAL_HOME env
    SQLite 実験ストアのディレクトリ(既定値: /.ragdial)
    英語の原文を見るDirectory for the SQLite experiment store (default: ~/.ragdial)

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

ひと目でわかる

レジストリ名
io.github.Salman-khann/ragdial-mcp
週あたりのダウンロードi
npm/PyPIにない
接続方法
パソコンで動く
最新バージョンi
0.2.0
レジストリ公開日i
2026年11月25日
コードの最終更新i
2026年11月25日
作者
Salman-khann
パッケージ
pypi: ragdial-mcp
ウェブサイト
github.com
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

パソコン上で動かせるアプリ

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

すべてのアプリと長所・短所 →

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月26日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント Salman-khann で確認済みです

  • ✓ 合格

    今もメンテナンスされている

    コードの最終更新:昨日

  • ✓ 合格

    ライセンスがある

    MITを使用

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

公開済みの脆弱性(OSV.dev)

まだ確認していません

確認していること → · JSON

作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける

作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。

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

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

ログインして投稿

ユーザーレビュー

まだレビューはありません

ログインしてレビューを書く

検索・AIの記憶のほかのサーバーとの比較i

  • このカテゴリのほかの6881件のうち77%よりスターが多い
  • このカテゴリのほかの6881件のうち97%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの6881件のうち99%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

RAGDialは安全ですか?

当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は昨日、最新バージョン(0.2.0)がレジストリに届いたのは昨日です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。

代わりに使えるものは?

同じカテゴリには:OpenSEO, Exa, Microsoft Learn MCP, Docs, COTAL actions (cotal.ai)

似た働きのほかの候補

同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

OpenSEO

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

作者:every-app広く使われている★ 2.9万12 日前更新

すぐ接続できる(URL あり) · ログインが必要✓ everyapp.com

Exa

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

作者:exa-labs広く使われている★ 52696 日前更新

すぐ接続できる(URL あり) · キーが必要✓ 提供元 · exa.aiPopNx チームが実際に試用

Microsoft Learn MCP

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

作者:MicrosoftDocs広く使われている★ 200612 か月前更新

すぐ接続できる(URL あり)ツール 3 個 · 軽め✓ 提供元 · microsoft.comPopNx チームが実際に試用

Docs

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

作者:proxysoul成長中★ 16373 か月前更新

すぐ接続できる(URL あり)ツール 4 個 · 軽め✓ empryo.com

COTAL actions (cotal.ai)

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

作者:Cotal-AI成長中★ 4123 か月前更新

すぐ接続できる(URL あり)ツール 12 個 · 軽め✓ 提供元 · cotal.ai
似たものと比べる
これ
RAGDial
OpenSEOExaMicrosoft Learn MCPDocsCOTAL actions (cotal.ai)
動く場所パソコンにインストールが必要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要
キーが必要いいえいいえいいえいいえいいえいいえ
Claude で + から追加いいえはいはいはいいいえいいえ
基本チェック3/35/52/44/44/44/4
ライセンスMITMITMITCC-BY-4.0NOASSERTIONApache-2.0
料金登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

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

冒頭だけを表示しています。続きはリポジトリで読めます