Version-controlled golden datasets and RAG evaluation, no API key needed.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
mcp-name: io.github.nipunkhanderia/golden-dataset-mcp
An MCP server wrapping golden-dataset-studio — version-controlled golden dataset management and semantic evaluation for RAG/LLM pipelines.
This is a thin protocol layer over the existing golden_dataset library (DatasetStore, Evaluator). It does not reimplement any logic — it exposes the library's existing Python API as MCP tools so an agent (Claude Desktop, Claude Code, or any MCP client) can manage golden datasets conversationally.
No LLM API key required. Evaluation uses TF-IDF cosine similarity (scikit-learn), not an LLM call.
golden-dataset-studio?golden-dataset-studio is a CLI tool — designed for a human typing golden add, golden commit, etc. in a terminal. golden-dataset-mcp exposes the same underlying operations as MCP tools so an LLM agent can drive them programmatically, e.g. as part of an automated RAG evaluation pipeline. Keeping them as separate PyPI packages means CLI users aren't forced to pull in fastmcp as a dependency, and MCP users get a clean, protocol-focused package.
| Tool | What it does |
|---|---|
init_dataset | Initialise a new dataset at a given path |
add_entry | Add a question/answer pair to the working tree |
update_entry | Edit fields of an existing working-tree entry |
delete_entry | Remove an entry from the working tree |
list_entries | List working-tree or committed-version entries |
commit_version | Snapshot the working tree as a new immutable version |
diff_versions | Show entries added/removed/changed between two versions |
evaluate_answers | Score actual answers against a version via TF-IDF cosine similarity |
dataset_status | Show current version, working tree size, and version history |
dataset_pathUnlike the CLI (which operates on the current working directory), every tool here requires an explicit dataset_path parameter. This keeps the server fully stateless between calls — no hidden "current dataset" session state to lose track of, and safe for one server instance to manage multiple datasets or serve multiple concurrent clients.
This pulls in golden-dataset-studio and scikit-learn automatically as dependencies.
No environment variables needed — no API key, no config.
As your RAG pipeline changes over time, commit_version again after edits and use diff_versions to see exactly what changed in your golden set between releases.
golden-dataset-studio | golden-dataset-mcp | |
|---|---|---|
| Interface | CLI (golden ...) | MCP tools |
| Driven by | A human typing commands | An LLM agent / MCP client |
| Path handling | Current working directory | Explicit dataset_path per call |
| Dependency direction | — | Depends on golden-dataset-studio |
If you want the human-driven CLI, use golden-dataset-studio directly. If you want an agent to drive it, use this package.
Validate the MCP-facing contract:
evaluate_answers uses TF-IDF cosine similarity, which captures lexical overlap better than deep semantic meaning. For embedding-based or RAGAS-style metrics, call the underlying library's Evaluator.ragas_evaluate() directly (requires pip install "golden-dataset-studio[ragas]" — not exposed as an MCP tool in this version).ValueError: empty vocabulary on inputs like a bare "4" or "the a an". Avoid single-token golden answers, or expect evaluate_answers to fail on them.<dataset_path>/.golden_dataset/; this server does no remote storage or syncing.MIT
No reviews yet — be the first to share how this listing worked for you.
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/golden-dataset-mcp)<a href="https://allmcps.com/mcp/golden-dataset-mcp"><img src="https://allmcps.com/api/badge/golden-dataset-mcp?style=directory" alt="Golden Dataset MCP on AllMCPs" /></a>