groundcheck
The groundcheck server evaluates RAG (Retrieval-Augmented Generation) outputs for faithfulness, hallucination detection, and retrieval quality — using your MCP client's own model as the judge, requiring no separate API keys.
Evaluate Faithfulness (
groundcheck_evaluate_faithfulness): Score how well an answer is supported by source chunks, claim by claim. Returns a 0–1 score, counts of supported/unsupported/contradicted claims, and per-claim verdicts. Supportsconcise(problems only) ordetailed(all claims) output.Detect Hallucinations (
groundcheck_detect_hallucinations): Identify only unsupported or contradicted claims, returning specific answer spans and reasons — ideal for fix-it loops. Returns an empty list if the answer is clean.Evaluate Retrieval Quality (
groundcheck_evaluate_retrieval): Compute precision@k, recall@k, MRR, and NDCG. Use gold relevance labels for instant, math-only calculation, or LLM-graded relevance (0–3 per chunk) when no labels are available.Compare Two Answers (
groundcheck_compare): A/B judge two candidate answers across criteria like faithfulness, completeness, and relevance. Mitigates position bias by running both orderings and reporting ties where verdicts flip.Run Evaluation Suites (
groundcheck_run_suite): Batch-evaluate multiple cases (inline or from a JSONL file), persisting a full report and returning a summary with mean faithfulness, mean NDCG, and the worst-performing cases.Fetch Reports (
groundcheck_get_report): Retrieve a previously saved report by ID inconcise(summary) ordetailed(all case results) format. No model calls required.Generate Dashboards: Use the
groundcheck-dashboardCLI to produce a self-contained HTML dashboard from persisted reports for visual analysis.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@groundcheckCheck if this answer is faithful to the provided documents."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
groundcheck
Playwright verifies your UI. Sentry verifies your runtime. groundcheck verifies your AI's answers.
An MCP server that lets any AI agent evaluate RAG outputs -- faithfulness scoring, hallucination detection, and retrieval quality metrics -- with zero API keys, using MCP sampling so the judge model is whatever the connected client is already running.
The problem
You've vibe-coded a RAG app. It answers, but sometimes it makes stuff up, and you can't tell when. There's no test for "did the model lie about what the documents say." groundcheck is that test.
Related MCP server: multivon-mcp
Demo

Eval dashboard

groundcheck-dashboard --out docs/dashboard.html generates a single
self-contained HTML file from your report store -- summary cards, a
faithfulness-by-report chart, a sortable per-case table, and worst-5-cases,
all with Chart.js loaded from a CDN and the data embedded inline. Opens
straight from disk, no server required.
docs/dashboard.html in this repo is generated from a real report: knowledge-assistant's 18-query eval (see its Evaluation section, cross-linked above) -- not synthetic smoke-test numbers. Enable GitHub Pages on this repo to get a live, clickable link instead of a clone-and-open file (see Roadmap).
Quickstart
Claude Code:
claude mcp add groundcheck -- uvx groundcheckClaude Desktop -- add to claude_desktop_config.json
(full example):
{ "mcpServers": { "groundcheck": { "command": "uvx", "args": ["groundcheck"] } } }Cursor -- same shape, in .cursor/mcp.json (see
examples/claude_code.md for the full config).
No API key needed if your client supports MCP sampling. Try it: ask your
agent to run groundcheck_detect_hallucinations on an answer and its
sources.
Tools
Tool | What it does | Judge? |
| Claim-by-claim faithfulness score (0-1) against sources | LLM (sampling) |
| Only the unsupported/contradicted claims, for a fix-it loop | LLM (sampling) |
| precision@k, recall@k, MRR, NDCG -- gold labels (instant) or LLM-graded | Optional |
| Judge which of two candidate answers is better, with position-bias mitigation | LLM (sampling) |
| Batch-evaluate a set of cases (inline or JSONL), persist a report | LLM (sampling) |
| Fetch a persisted report by id | None |
How it works
flowchart LR
subgraph Client["Your MCP client (Claude Desktop / Code / Cursor)"]
Model[("Your LLM")]
end
Client -- "tool call" --> Server["groundcheck MCP server"]
subgraph Server["groundcheck"]
Det["Deterministic tools\nmetrics.py -- pure Python\nprecision@k, recall@k, MRR, NDCG"]
Judged["LLM-judged tools\nclaim decomposition + verification"]
end
Judged -- "sampling/createMessage" --> Model
Model -- "judged verdicts" --> Judged
Server -- "result" --> ClientThe split matters: retrieval metrics with gold labels are pure math and run
instantly with zero model calls. Faithfulness, hallucination detection, and
compare need semantic judgment, so they call back into your own connected
model via MCP sampling
-- no separate API key, no separate bill. If your client doesn't support
sampling yet, set ANTHROPIC_API_KEY as a fallback; if neither is available,
you get a clear error naming both options.
Cost: deterministic metrics are free (no model calls). LLM-judged tools cost 1-2 model calls via your client's existing inference -- no API key required on top of what you're already paying your client for.
What groundcheck is NOT
Not an observability platform. It doesn't collect traces, dashboards, or alerts over time -- it scores the RAG output you hand it, once, when you ask. For production observability, look at LangSmith or Arize Phoenix.
Not for agent-trajectory evals. It judges answers against sources, not whether an agent took the right sequence of actions.
Not enterprise-scale. Reports are local JSON files. If you need multi-tenant dashboards, RBAC, or dataset versioning at scale, LangSmith or Phoenix are the right tool.
Case studies
evals/RESULTS.md tracks tool-selection and hallucination-detection accuracy before and after tuning tool docstrings -- the actual before/after numbers, not just the final descriptions.
Real RAG app: knowledge-assistant (a multi-tenant document Q&A app) uses groundcheck to score its own real pipeline output -- 18 real queries against a real document, 85% mean faithfulness, 94% mean NDCG@5. The interesting finding wasn't a perfect score: the app never hallucinated a fact, but groundcheck's strict literal-support judge flagged several accurate paraphrases as "unsupported" -- a useful data point about judge strictness, not just app quality. Full breakdown in its README Evaluation section.
Security
Read-only, compute-only server: no shell access, no network egress except an
opt-in ANTHROPIC_API_KEY fallback, no filesystem writes outside the local
report store. dataset_path is validated against an allowlisted directory
to prevent path traversal. Full threat model in SECURITY.md.
Roadmap
MCP Tasks primitive for async
run_suiteon large datasets.MCP Apps report UI (render a report inline instead of raw JSON).
Publish to PyPI and the MCP Registry (packaging is ready; not yet published).
Live FastAPI dashboard (v2) --
groundcheck-dashboard's static HTML file is the v1 by design (zero deployment burden); a running app with live updates is a reasonable next step once there's a reason to keep one up.Enable GitHub Pages for
docs/dashboard.htmlso there's a live, clickable "see eval results" link with no clone required.
Development
uv sync --all-extras
uv run pytest
uv run ruff check .MIT licensed. See LICENSE.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityBmaintenanceMCP-native agent evaluation and observability server. Log traces, evaluate output quality with 12 built-in rules (PII detection, prompt injection, cost thresholds), and track agent costs. Real-time dashboard, OTel-compatible spans. Self-hosted, MIT licensed.Last updated9747MIT

multivon-mcpofficial
AlicenseAqualityAmaintenanceMCP server that gives AI coding agents direct access to evaluation tools.Last updated22Apache 2.0- AlicenseAqualityCmaintenanceA local MCP server that packages LLM evaluation gates as reusable CI/CD primitives, enabling AI agents to run datasets against models, score responses, and enforce quality thresholds.Last updated10MIT
- AlicenseAqualityCmaintenanceAn MCP server that exposes RAG retrieval evaluation as agent tools, allowing agents to retrieve passages and measure retrieval quality across multiple strategies.Last updated3MIT
Related MCP Connectors
MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.
Local-first RAG engine with MCP server for AI agent integration.
Hosted MCP server for LLM cost estimation, model comparison, and budget-aware routing.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/offquestxo/groundcheck'
If you have feedback or need assistance with the MCP directory API, please join our Discord server