RAGScore MCP server
io.github.HZYAI/ragscore·v0.8.6·15 starsGenerate QA datasets & evaluate RAG systems with failure diagnosis. Any LLM.
15 stars59 downloads/wk
Reviews
Write oneNobody has reviewed RAGScore yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
RAGScore tools (4)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
evaluate_ragEvaluate a RAG API endpoint against a QA dataset.
generate_qa_datasetGenerate QA pairs from documents for RAG evaluation or synthetic data.
get_correctionsGet corrections from the last quick test for RAG improvement.
quick_test_ragQuick RAG accuracy test - generate QAs and evaluate in one call.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan21 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 122 days ago8/15
- Maintainer identityregistry namespace matches repository owner7/10
How RAGScore compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 71/100
- higher than 38% of 4,460 AI and agents servers
- Tools
- 4
- the typical AI and agents server has 6
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 15
- more than 87% of 2,711 AI and agents servers
- Downloads a week
- 59
- more than 49% of 1,538 AI and agents servers with a package
What its tools let an agent do: 2 read · 1 create · 1 run or deploy
Install RAGScore in Claude Code, Cursor or VS Code
claude mcp add ragscore -- uvx ragscore
What the publisher says
From the RAGScore repository's README, as published. We do not edit it. Read it on GitHub
<!-- mcp-name: io.github.HZYAI/ragscore -->
Generate QA datasets & evaluate RAG systems in 2 commands
🔒 Privacy-First • ⚡ Lightning Fast • 🤖 Any LLM • 🏠 Local or Cloud • 🌍 Multilingual
English | 中文 | 日本語 | Deutsch
⚡ 2-Line RAG Evaluation
# Step 1: Generate QA pairs from your docs
ragscore generate docs/
# Step 2: Evaluate your RAG system
ragscore evaluate http://localhost:8000/queryThat's it. Get accuracy scores and incorrect QA pairs instantly.
============================================================
✅ EXCELLENT: 85/100 correct (85.0%)
Average Score: 4.20/5.0
============================================================
❌ 15 Incorrect Pairs:
1. Q: "What is RAG?"
Score: 2/5 - Factually incorrect
2. Q: "How does retrieval work?"
Score: 3/5 - Incomplete answer🚀 Quick Start
Install
pip install ragscore # Core (works with Ollama)
pip install "ragscore[openai]" # + OpenAI support
pip install "ragscore[notebook]" # + Jupyter/Colab support
pip install "ragscore[all]" # + All providersAlready installed? Keep up to date — new versions add features like failure diagnosis and retrieved context capture:
bash
pip install --upgrade ragscore
Option 1: Python API (Notebook-Friendly)
Perfect for Jupyter, Colab, and rapid iteration. Get instant visualizations.
from ragscore import quick_test
# 1. Audit your RAG in one line
result = quick_test(
endpoint="http://localhost:8000/query", # Your RAG API
docs="docs/", # Your documents
n=10, # Number of test questions
)
# 1b. Tailored QA — target specific audiences
result = quick_test(
endpoint="http://localhost:8000/query",
docs="docs/",
audience="developers", # Who asks the questions?
purpose="api-integration", # What's the document for?
)
# 2. See the report
result.plot()
# 3. Inspect failures
bad_rows = result.df[result.df['score'] < 3]
display(bad_rows[['question', 'rag_answer', 'reason']])Rich Object API:
- result.accuracy - Accuracy score
- result.df - Pandas DataFrame of all results
- result.plot() - 3-panel visualization (4-panel with detailed=True)
- result.corrections - List of items to fix
Option 2: CLI (Production)
Generate QA Pairs
# Set API key (or use local Ollama - no key needed!)
export OPENAI_API_KEY="sk-..."
# Generate from any document
ragscore generate paper.pdf
ragscore generate docs/*.pdf --concurrency 10
# Tailored QA generation — target specific audiences
ragscore generate docs/ --audience developers --purpose faq
ragscore generate docs/ --audience customers --purpose "pre-sales"
ragscore generate docs/ --audience "compliance auditors" --purpose "security audit"Evaluate Your RAG
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
RAGScore: common questions
- Is RAGScore MCP server safe?
- Mostly: it is graded B (71/100). Read the RAGScore safety report
- How do I install RAGScore?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does RAGScore need an API key?
- Yes. The registry entry asks for
OPENAI_API_KEY,ANTHROPIC_API_KEY. - Is RAGScore maintained?
- The last commit was 159 days ago (2026-05-29). The latest release is v0.8.6.
- What can I use instead of RAGScore?
- Servers from other publishers that do the same job: PaperBanana MCP server, Agent-Native Slides MCP server and Local Rag MCP server.
- How does RAGScore compare with other AI and agents MCP servers?
- safety score 71/100 (higher than 38% of 4,460 AI and agents servers); tools 4 (the typical AI and agents server has 6); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to RAGScore
Same job from other publishers: the closest match first, then the best rated.
- PaperBananaGenerate academic diagrams and statistical plots from text using multi-agent AI.not reviewedEstablishedA
- Agent-Native SlidesAgent-Native Google Slides - generate and edit React presentationsnot reviewedEstablishedA
- Local RagEasy-to-setup local RAG server with minimal configurationnot reviewedEstablishedA
- Butterbase AIButterbase MCP server — manage your backend: schemas, auth, functions, storage, RAG, deploys.not reviewedEstablishedA
GuaardvarkLocal AI studio on your GPU: images, video, music, voice, RAG. Needs the Guaardvark app installed.not reviewedEstablishedB