last30days-skill
AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary
Run RAG chunking & retrieval ablations: boundary-damage audits, Recall@k, MRR, nDCG@k, hybrid search
제작자가 쓴 원문
이런 작업을 AI에게 가르치는 Skill, 이것과 함께 쓸 수 있습니다
AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary
TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.
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…
목록은 사용 점수(100점 만점)로 정렬되며 구성은 다음과 같습니다
| 인기 | 4/80 | GitHub 별 또는 주간 다운로드: 큰 쪽 60, 작은 쪽 20 |
|---|---|---|
| 최신성 | 12/12 | 30일 안에 릴리스나 코드 변경이 있으면 만점 |
| 응답 중 | 0/8 | 마지막 점검 때 클라우드 엔드포인트가 응답 |
| 사용 점수 | 16/100 |
품질: 기본 점검 3/3개 통과(표시만, 정렬에는 안 씀) · 상승세: 데이터 없음 (급상승 탭에서만 사용)
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
한 문장으로 AI에게 설치 맡기기
RAGDial 설치해 줘. https://mcp.popnx.com/i/salman-khann-ragdial-mcp.md 를 따라 하고, 명령을 먼저 보여 주고 내가 승인하면 실행해.내 컴퓨터에서 작업하는 AI(Claude Code, Cursor 등)에 붙여 넣으세요. 단계를 읽고 명령을 보여 준 뒤 승인을 기다립니다. 키도 가입도 필요 없습니다. · AI가 읽을 전체 내용 보기
검사 3/3 통과 · 내 컴퓨터에서 실행돼요 · ✓ 명령 확인 2026년 11월 25일
먼저: 어떤 AI를 쓰시나요?
쓰는 앱을 고르면 아래에 단계가 나옵니다.
Claude에 연결할 수 있지만 먼저 준비가 필요해요
먼저 컴퓨터에 Python (uv)를 설치하세요 (한 번만) · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요
이 메시지를 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가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.
이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter
uv --versionMac: ⌘ + Space를 누르고 Terminal 입력 후 Enter
Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"
아직 설치하지 않았다면: uv에는 클릭형 설치 파일이 없습니다. uv 공식 페이지에서 내 시스템(macOS 또는 Windows)용 한 줄 명령을 복사해 터미널에 붙여 넣으세요 · Python을 따로 설치할 필요 없이 uv가 필요할 때 자동으로 내려받습니다
설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: uv --version
한 번 설치하면 uv가 필요한 모든 도구에서 쓸 수 있습니다
SettingsDeveloperEdit Config
{
"mcpServers": {
"ragdial": {
"command": "uvx",
"args": [
"ragdial-mcp"
]
}
}
}RAGDial을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Claude가 RAGDial을 쓰고 있다고 하거나 답에 RAGDial 도구 이름이 나오면 연결된 거예요
위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.
RAGDIAL_HOME SQLite 실험 저장소의 디렉터리(기본값: /.ragdial) 설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.
메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
ChatGPT는 아직 RAGDial에 연결할 수 없어요
RAGDial는 내 컴퓨터에 설치해서 쓰지만 ChatGPT는 웹에서 도는 서버만 연결할 수 있어요
A · RAGDial에 연결되는 앱 쓰기
Claude Code에 연결할 수 있지만 먼저 준비가 필요해요
먼저 컴퓨터에 Python (uv)를 설치하세요 (한 번만)
이 메시지를 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가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.
이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter
uv --versionMac: ⌘ + Space를 누르고 Terminal 입력 후 Enter
Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"
아직 설치하지 않았다면: uv에는 클릭형 설치 파일이 없습니다. uv 공식 페이지에서 내 시스템(macOS 또는 Windows)용 한 줄 명령을 복사해 터미널에 붙여 넣으세요 · Python을 따로 설치할 필요 없이 uv가 필요할 때 자동으로 내려받습니다
설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: uv --version
한 번 설치하면 uv가 필요한 모든 도구에서 쓸 수 있습니다
Mac: Command+스페이스를 누르고 Terminal 입력 · Windows: PowerShell 열기
claude mcp add --scope user ragdial -- uvx ragdial-mcpRAGDial이 목록에 있고 연결됨으로 보이면 돼요
RAGDial을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Claude Code가 RAGDial을 쓰고 있다고 하거나 답에 RAGDial 도구 이름이 나오면 연결된 거예요
위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.
RAGDIAL_HOME SQLite 실험 저장소의 디렉터리(기본값: /.ragdial) 설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.
메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
Cursor에 연결할 수 있지만 먼저 준비가 필요해요
먼저 컴퓨터에 Python (uv)를 설치하세요 (한 번만)
이 메시지를 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가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.
이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter
uv --versionMac: ⌘ + Space를 누르고 Terminal 입력 후 Enter
Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"
아직 설치하지 않았다면: uv에는 클릭형 설치 파일이 없습니다. uv 공식 페이지에서 내 시스템(macOS 또는 Windows)용 한 줄 명령을 복사해 터미널에 붙여 넣으세요 · Python을 따로 설치할 필요 없이 uv가 필요할 때 자동으로 내려받습니다
설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: uv --version
한 번 설치하면 uv가 필요한 모든 도구에서 쓸 수 있습니다
RAGDial을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Cursor가 RAGDial을 쓰고 있다고 하거나 답에 RAGDial 도구 이름이 나오면 연결된 거예요
위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.
RAGDIAL_HOME SQLite 실험 저장소의 디렉터리(기본값: /.ragdial) 설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.
메뉴 이름은 2026년 11월 11일에 Cursor 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
VS Code에 연결할 수 있지만 먼저 준비가 필요해요
먼저 컴퓨터에 Python (uv)를 설치하세요 (한 번만)
이 메시지를 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가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.
이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter
uv --versionMac: ⌘ + Space를 누르고 Terminal 입력 후 Enter
Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"
아직 설치하지 않았다면: uv에는 클릭형 설치 파일이 없습니다. uv 공식 페이지에서 내 시스템(macOS 또는 Windows)용 한 줄 명령을 복사해 터미널에 붙여 넣으세요 · Python을 따로 설치할 필요 없이 uv가 필요할 때 자동으로 내려받습니다
설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: uv --version
한 번 설치하면 uv가 필요한 모든 도구에서 쓸 수 있습니다
RAGDial을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ VS Code가 RAGDial을 쓰고 있다고 하거나 답에 RAGDial 도구 이름이 나오면 연결된 거예요
위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.
RAGDIAL_HOME SQLite 실험 저장소의 디렉터리(기본값: /.ragdial) 설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.
메뉴 이름은 2026년 11월 11일에 VS Code 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
Claude Code
claude mcp add --scope user ragdial -- uvx ragdial-mcpClaude 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설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.
이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
io.github.Salman-khann/ragdial-mcppypi: ragdial-mcp이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.
내 컴퓨터에서 실행하는 앱
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 26일 점검
레지스트리 이름이 GitHub 계정 Salman-khann 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
코드 마지막 변경: 어제
MIT 사용
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
아직 확인하지 않았습니다
제작자라면 이 코드를 README에 붙여 넣으세요. 배지는 이 페이지로 연결됩니다.
[](https://mcp.popnx.com/en/servers/salman-khann-ragdial-mcp)질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.
아직 리뷰가 없어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 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 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
Keyword research, site audits, rank tracking and AI visibility for your AI agent.
Official Exa MCP for web search, content fetching, and multi-step research.
Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.
Search and read Empryo's documentation. Read-only, no auth, no local access.
cotal.ai actions: product overview, site search, build log, feedback, Cloud waitlist, updates, calls
| 이 항목 RAGDial | OpenSEO | Exa | Microsoft Learn MCP | Docs | COTAL actions (cotal.ai) | |
|---|---|---|---|---|---|---|
| 실행 위치 | 컴퓨터에 설치 필요 | 클라우드에서 동작, 설치 불필요 | 클라우드에서 동작, 설치 불필요 | 클라우드에서 동작, 설치 불필요 | 클라우드에서 동작, 설치 불필요 | 클라우드에서 동작, 설치 불필요 |
| 키 필요 | 아니요 | 아니요 | 아니요 | 아니요 | 아니요 | 아니요 |
| Claude에서 +로 추가 | 아니요 | 예 | 예 | 예 | 아니요 | 아니요 |
| 기본 점검 | 3/3 | 5/5 | 2/4 | 4/4 | 4/4 | 4/4 |
| 라이선스 | MIT | MIT | MIT | CC-BY-4.0 | NOASSERTION | Apache-2.0 |
| 가격 | 등록 정보에 비용 없음 | 등록 정보에 비용 없음 | 등록 정보에 비용 없음 | 등록 정보에 비용 없음 | 등록 정보에 비용 없음 | 등록 정보에 비용 없음 |
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
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.
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.
The demo compares three chunkers on the bundled pack (30 questions, BM25, top-5):
| Chunker | Median chunk | Tables cut | nDCG@5 | 95% CI |
|---|---|---|---|---|
| fixed-256, no overlap (naive baseline) | 256 tok | 12 of 14 | 0.763 | 0.63 to 0.88 |
| fixed-512, 64-token overlap (tuned baseline) | 512 tok | 3 of 14 | 0.865 | 0.79 to 0.94 |
| markdown-256 (header-aware) | 110 tok | 5 of 14, header repeated | 0.926 | 0.86 to 0.98 |
Read it this way:
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.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.
Claude Code:
claude mcp add ragdial -- uvx ragdial-mcp
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
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."*
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.
ingest_corpus reads any folder on your disk directly, with no upload step.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:
bge-reranker-base many times faster than a laptop CPU.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
Drop --gpus all on a machine without an NVIDIA GPU.
Keep in mind when hosting:
ingest_corpus reads folders on the *server*, so mount the document folders into the container (read-only, as above).| Local (stdio) | Hosted (Streamable HTTP) | |
|---|---|---|
| Who pays for compute | Each user's machine | The server |
| Where documents live | User's disk | Mounted on the server |
| Setup per user | Install uv, clone or uvx | Paste a URL |
| Experiment history | Per user (~/.ragdial) | Shared (/data) |
| GPU for reranking | Only if the user has one | Provision once on the server |
| Access control | Your OS account | Your network or reverse proxy (none built in) |
| Tool | Key parameters | Returns |
|---|---|---|
ingest_corpus | folder_path, corpus_id | File count, total tokens, detected headers/tables/nested tables/code/lists, document IDs |
run_chunking_ablation | corpus_id, strategies[], chunk_sizes[], overlaps[], embedder | Per config: chunk count, token p50/p95/max, boundary-damage score, severed/total per structure kind |
inspect_boundary_splits | run_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_retrieval | run_id, dataset_path, retrievers[], reranker, top_k, configs[], embedder, vector_store | Recall@k, MRR, nDCG@k, hit rate, p50/p95 latency per *chunk config × retriever*, plus the 3 worst queries |
diff_experiment_runs | run_a, run_b, variant_a, variant_b | Metric deltas (B − A), query IDs that flipped miss→hit or regressed, and rank-movement counts |
| URI | Content |
|---|---|
ragdial://experiments | Index of corpora and runs with configs, timestamps and headline metrics |
ragdial://experiments/{run_id}/report | Full JSON: every variant and the per-query hit/miss table with top chunk IDs |
ragdial://corpus/{corpus_id}/stats | Document metadata, token counts and structural breakdown |
| Prompt | What 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 |
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.
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