Generate QA datasets & evaluate RAG systems. Privacy-first, any LLM, local or cloud.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Generate QA datasets & evaluate RAG systems in 2 commands
๐ Privacy-First โข โก Lightning Fast โข ๐ค Any LLM โข ๐ Local or Cloud โข ๐ Multilingual
That's it. Get accuracy scores and incorrect QA pairs instantly.
Already installed? Keep up to date โ new versions add features like failure diagnosis and retrieved context capture:
Perfect for Jupyter, Colab, and rapid iteration. Get instant visualizations.
Rich Object API:
result.accuracy - Accuracy scoreresult.df - Pandas DataFrame of all resultsresult.plot() - 3-panel visualization (4-panel with detailed=True)result.corrections - List of items to fixGo beyond a single score. Add detailed=True to get 5 diagnostic dimensions per answer โ in the same single LLM call.
| Metric | What it measures | Scale |
|---|---|---|
| Correctness | Semantic match to golden answer | 5 = fully correct |
| Completeness | Covers all key points | 5 = fully covered |
| Relevance | Addresses the question asked | 5 = perfectly on-topic |
| Conciseness | Focused, no filler | 5 = concise and precise |
| Faithfulness | No fabricated claims | 5 = fully faithful |
CLI:
--diagnose)When answers fail, --diagnose tells you why โ retriever miss, generator hallucination, incomplete answer, or wrong interpretation:
Uses the support_span already generated with each QA pair to give the judge grounding context. Combine with --detailed for full diagnostics:
| Category | Meaning |
|---|---|
| Retriever Miss | RAG didn't retrieve the chunk containing the evidence |
| Generator Hallucination | Retrieved correctly but fabricated information |
| Incomplete Answer | Retrieved correctly but answer is partial |
| Wrong Interpretation | Retrieved correctly but misunderstood the content |
๐ Full demo notebook โ build a mini RAG and test it with detailed metrics.
๐ฏ Audience & Purpose demo โ generate tailored QA for developers, customers, auditors, and more.
๐ Ollama local demo โ 100% private RAG evaluation with no API keys.
Perfect for: Healthcare ๐ฅ โข Legal โ๏ธ โข Finance ๐ฆ โข Research ๐ฌ
RAGScore generates complex structured QA pairs (question + answer + rationale + support span) in JSON format. This requires models with strong instruction-following and JSON output capabilities.
| Model | Size | Min RAM | QA Quality | Recommended |
|---|---|---|---|---|
llama3.1:70b | 40GB | 48GB VRAM | Excellent | GPU server (A100, L40) |
qwen2.5:32b | 18GB | 24GB VRAM | Excellent | GPU server (A10, L20) |
llama3.1:8b | 4.7GB | 8GB VRAM | Good | Best local choice |
qwen2.5:7b | 4.4GB | 8GB VRAM | Good | Good local alternative |
mistral:7b | 4.1GB | 8GB VRAM | Good | Good local alternative |
llama3.2:3b | 2.0GB | 4GB RAM | Fair | CPU-only / testing |
qwen2.5:1.5b | 1.0GB | 2GB RAM | Poor | Not recommended |
Minimum recommended: 8B+ models. Smaller models (1.5Bโ3B) produce lower quality support spans and may timeout on longer chunks.
Expected performance (28 chunks, 5 QA pairs per chunk):
| Hardware | Model | Time | Concurrency |
|---|---|---|---|
| MacBook (CPU) | llama3.2:3b | ~45 min | 2 |
| MacBook (CPU) | llama3.1:8b | ~25 min | 2 |
| A10 (24GB) | llama3.1:8b | ~3โ5 min | 5 |
| L20/L40 (48GB) | qwen2.5:32b | ~3โ5 min | 5 |
| OpenAI API | gpt-4o-mini | ~2 min | 10 |
RAGScore auto-reduces concurrency to 2 for local Ollama to avoid GPU/CPU contention.
| Provider | Setup | Notes |
|---|---|---|
| Ollama | ollama serve | Local, free, private |
| OpenAI | export OPENAI_API_KEY="sk-..." | Best quality |
| Anthropic | export ANTHROPIC_API_KEY="..." | Long context |
| DashScope | export DASHSCOPE_API_KEY="..." | Qwen models |
| vLLM | export LLM_BASE_URL="..." | Production-grade |
| Any OpenAI-compatible | export LLM_BASE_URL="..." | Groq, Together, etc. |
output/generated_qas.jsonl)--output results.json)RAGScore is designed for AI agents and automation:
CLI Reference:
| Command | Description |
|---|---|
ragscore generate <paths> | Generate QA pairs from documents |
ragscore generate <paths> --audience <who> | Tailored QA for specific audience |
ragscore generate <paths> --purpose <why> | Focus QA on document purpose |
ragscore evaluate <endpoint> | Evaluate RAG against golden QAs |
ragscore evaluate <endpoint> --detailed | Multi-metric evaluation |
ragscore evaluate <endpoint> --diagnose | Failure root-cause classification |
ragscore --help | Show all commands and options |
ragscore generate --help | Show generate options |
ragscore evaluate --help | Show evaluate options |
Zero config required. Optional environment variables:
| Data | Cloud LLM | Local LLM |
|---|---|---|
| Documents | โ Local | โ Local |
| Text chunks | โ ๏ธ Sent to LLM | โ Local |
| Generated QAs | โ Local | โ Local |
| Evaluation results | โ Local | โ Local |
Compliance: GDPR โ โข HIPAA โ (with local LLMs) โข SOC 2 โ
RAGScore collects telemetry only in MCP server mode (ragscore serve). Standard CLI and Python API usage do not send telemetry.
We collect limited anonymous operational metrics to understand feature usage and improve reliability. No document content, prompts, QA text, model outputs, API keys, endpoint URLs, or file paths are collected.
Collected in MCP mode:
ragscore version, Python version, OS typeOpt out:
โญ Star us on GitHub if RAGScore helps you!
Made with โค๏ธ for the RAG community
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/ragscore)<a href="https://allmcps.com/mcp/ragscore"><img src="https://allmcps.com/api/badge/ragscore?style=directory" alt="RAGScore on AllMCPs" /></a>