Skip to content
MCP server
Registry

evals-mcp-server MCP Server

Author verifiable eval records through a draft→review→revise→submit loop with enforced graders.

evals-mcp-server scores 71 (Good), licensed Apache-2.0 and written in TypeScript. It installs as a local process. It declares 10 tools. Filed under Data and analytics. GitHub shows 1 stars. Package registries report about 240 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by cyanheadsApache-2.0TypeScript1 stars
Trust score
71Good
Trust score 71 of 100, Good

Good trust

71 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: apache-2.0.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 71 comes from

22 + 20 + 5 + 10 + 4 + 10 = 71. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity5 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 5 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "cyanheads-evals-mcp-server": {      "command": "npx",      "args": [        "-y",        "@cyanheads/evals-mcp-server@0.2.0"      ],      "env": {        "EVALS_DATA_DIR": "./evals-data",        "EVALS_REQUIRE_CONFIRMATION": "false",        "EVALS_DEFAULT_LICENSE": "",        "EVALS_CAPTURE_DIR": "",        "MCP_LOG_LEVEL": "info"      }    }  }}

Environment variables

NameRequiredNotes
EVALS_DATA_DIROptionalRoot folder for record JSON. The store manages drafts/, submitted/, and exports/ subdirs under it.
EVALS_REQUIRE_CONFIRMATIONOptionalWhen 'true', evals_submit_draft requests human confirmation before finalizing.
EVALS_DEFAULT_LICENSEOptionalDefault metadata.license applied when a draft omits one.
EVALS_CAPTURE_DIROptionalDirectory of tool-call capture files; referenced EvalsIDs resolve to full dumps at submit.
MCP_LOG_LEVELOptionalSets the minimum log level for output (e.g., 'debug', 'info', 'warn').
MCP_TRANSPORT_TYPEOptionalSelects the HTTP transport.
MCP_HTTP_HOSTOptionalThe hostname for the HTTP server.
MCP_HTTP_PORTOptionalThe port to run the HTTP server on.
MCP_HTTP_ENDPOINT_PATHOptionalThe endpoint path for the MCP server.
MCP_AUTH_MODEOptionalAuthentication mode to use: 'none', 'jwt', or 'oauth'.
EVALS_DATA_DIROptionalRoot folder for record JSON. The store manages drafts/, submitted/, and exports/ subdirs under it.
EVALS_REQUIRE_CONFIRMATIONOptionalWhen 'true', evals_submit_draft requests human confirmation before finalizing.
EVALS_DEFAULT_LICENSEOptionalDefault metadata.license applied when a draft omits one.
EVALS_CAPTURE_DIROptionalDirectory of tool-call capture files; referenced EvalsIDs resolve to full dumps at submit.
MCP_LOG_LEVELOptionalSets the minimum log level for output (e.g., 'debug', 'info', 'warn').

Tools10Tool docs quality grade F

All capabilities

About

Version License Docker MCP SDK npm TypeScript Bun

Install in Claude Desktop Install in Cursor Install in VS Code

Framework


Overview

Build verifiable eval records with server-enforced graders. Draft a record with its own executable grader, revise it field by field, and submit through a gate that requires the gold and positive answers to pass, all negative cases to fail, and an independent check to agree. Export to JSONL, CSV, Inspect AI, or lm-evaluation-harness.

Tools

ToolDescription
evals_describe_schemaReturn the required and optional fields plus grader options for a task type. Call before drafting.
evals_create_draftCreate a draft eval record carrying its own grader; returns the parsed record, a review protocol, and a verification subagent prompt.
evals_get_recordRead a draft or submitted record by id; the id is stable across submit.
evals_revise_draftApply a surgical set / append / unset patch to a draft by dotted path; re-runs the self-consistency check.
evals_discard_draftDelete a draft record by id. Draft-only.
evals_run_checkRun a grader spec against candidate answers and get PASS/REJECT per candidate, decoupled from any saved record.
evals_submit_draftFinalize a draft through the committability gate, then freeze it.
evals_list_recordsBrowse and filter records by status, domain, task type, or tag. Returns a compact summary per record.
evals_export_recordsCompile submitted records to JSONL, CSV, Inspect AI, or lm-evaluation-harness and write the artifact under exports/.

Resources

ResourceDescription
eval://record/{id}The modeled fields of a draft or submitted record by id, for resource-capable clients.

All record data is also reachable through the tool surface — evals_get_record for a single record, evals_list_records to browse. The resource is a convenience mirror for clients that support resources, not the access path.

Skill

The evals-guide covers independent verification, submission blockers, corpus coverage, and downstream scoring. It ships with plugin, npm, Docker, and MCPB installs and is available over MCP at skill://evals-guide/SKILL.md.

Capability reference

evals_describe_schema tool

  • Accepts task_type: numeric, exact_answer, set_answer, mcq, regex_answer, json_answer, or free_response.
  • Returns the gold shape, grader kinds, required/optional fields, and authoring notes from static schemas; mcq requires choices, and free_response requires llm_rubric.

evals_create_draft tool

  • Accepts a record with its grader and discrimination cases, plus optional verification and captures (EvalsIDs); mcq requires choices, and free_response requires llm_rubric.
  • Saves the record as a draft once its grader runs, and returns the normalized record, a review protocol, a verification-subagent prompt, and what submit still needs. A draft whose gold fails its grader is still saved.
  • Readiness covers the record's grading, evidence, and decorrelation checks. Submit still resolves captures, checks duplicates, and handles optional confirmation.
  • Typed errors: grader_unexecutable, task_type_constraint, mcq_choice_mismatch.

evals_get_record tool

  • Reads a draft or submitted record by id, which stays stable across submit. Use the generated id from an authoring response or evals_list_records.
  • Returns the full grader, discrimination cases, and verification evidence; not_found points to evals_list_records. An invalid stored record reports record_invalid with its id and affected field paths.

evals_revise_draft tool

  • Applies set, append, and unset by dotted path to a draft; task_type and server-owned fields, including the entire captured_outputs subtree, cannot be changed. Arrays are replaced whole or appended, not edited by index.
  • Re-validates the record and grader before writing, then returns the record plus changed entries (op, path, before, after). An unknown path rejects the whole patch.
  • Typed errors: not_found, record_frozen for a submitted id, invalid_patch_path, grader_unexecutable, task_type_constraint, mcq_choice_mismatch.

evals_discard_draft tool

  • Deletes a draft by draft_id and returns discarded: true, including a corrupt draft that cannot be read or revised.
  • A submitted record reports record_frozen; a missing or already discarded id reports not_found.

evals_run_check tool

  • Runs a grader against one or more candidates without a saved record; supply gold for exact_match, while target-embedding kinds such as numeric and mcq ignore it.
  • Returns PASS/REJECT, detail, and the resolved reference per candidate. llm_rubric can't be run here.
  • Numeric grading accepts only finite real values; unit-bearing, complex, nonfinite, and non-scalar candidates are rejected. units is documentation only.
  • Numeric tolerances and rubric weights must be nonnegative; rubric thresholds must be between 0 and 1, with at least one positive effective criterion weight. Zero-weight diagnostic criteria may accompany scored criteria.
  • exact_match and set_match accept normalization operations. strip_punct replaces ASCII punctuation with spaces; remove_punct deletes it. strip_latex handles nested command arguments. Set strings split on commas and newlines by default; select comma or newline explicitly to keep the other delimiter inside an element.
  • Synchronous JSON Schema grading supports draft-07 by default and explicit 2019-09 or 2020-12 dialects. Ignored keyword or format diagnostics appear in each verdict's detail without changing the verdict.
  • Typed errors: grader_unexecutable, mcq_choice_mismatch.

evals_submit_draft tool

  • Finalizes by draft_id. Every draft needs a declared negative and decorrelated verification. Deterministic graders must pass the gold and every positive and reject every negative. Failed deterministic evidence blocks submission even without a computed value. Also resolves captures afresh against EVALS_CAPTURE_DIR, rejects duplicate content_hash, and can ask for confirmation via confirm or EVALS_REQUIRE_CONFIRMATION.
  • On success, freezes the record with submitted_at and checksum and returns status: submitted; a refusal leaves the draft intact. free_response records skip grader verdicts and carry server_verified: false.
  • Typed errors: not_found, record_invalid, record_frozen, verification_incomplete, grader_failed_on_gold, positive_case_failed, verification_disagrees_with_gold, missing_negative_case, negative_case_passed, duplicate, decorrelation_violation, capture_unresolved, submit_declined.

evals_list_records tool

  • Filters by status (draft/submitted), domain, task_type, or tag; limit is a positive integer and defaults to 50, and offset defaults to 0.
  • Returns summaries (id, status, task_type, domain, tags, timestamps), newest-first with id as a tie-breaker, plus shown, cap, totalCount, and truncated. Pass nextOffset as offset until it is absent.
  • Invalid record files are skipped with a diagnostic notice; valid records remain available.

evals_export_records tool

  • Exports submitted records, optionally filtered by domain, task_type, or tag, as jsonl (lossless), csv (lossy summary), inspect (Inspect AI sample array), or lm-eval (data manifest for a harness adapter).
  • Inspect samples put context before the prompt and use Inspect choice labels (A–Z, then 1, 2, …) for multiple-choice targets. Other gold values become strings, with structured values encoded as JSON. grader_spec retains the grading contract; optional scorer hints do not replace it or configure an Inspect task automatically.
  • The lm-eval manifest preserves context, choices, and grader_spec; it requires a task adapter. Only compatible built-in metric hints are included.
  • Writes under exports/ and returns the path, record count, byte size, and preview. Invalid record files are skipped with a diagnostic notice.

eval://record/{id} resource

  • Reads id from evals_list_records or a draft/submit response.
  • Returns the record's modeled fields as application/json, or not_found when no record matches. Use evals_get_record or JSONL export to retain extension fields in hand-edited files. Invalid stored records report record_invalid.
  • Resource discovery lists all valid records; skipped invalid files are logged on the server.

Features

Built on @cyanheads/mcp-ts-core: stdio and Streamable HTTP transports, pluggable auth (none / jwt / oauth), swappable storage (in-memory, filesystem, Supabase, Cloudflare KV/R2/D1), structured logging with optional OpenTelemetry tracing.

Eval authoring:

  • A draft → review → surgical-revise → submit loop, with the server both storing records and running each record's own grader to reject what doesn't hold up
  • Seven task types: numeric, exact_answer, set_answer, mcq, regex_answer, json_answer, free_response
  • A grader serialized with each record; deterministic kinds (numeric via math.js, exact_match, set_match, regex, mcq, json_match) run server-side, while llm_rubric relies on recorded independent verification
  • A submit gate: the gold and every positive must pass their grader, at least one negative is required and all must be rejected, and a recorded decorrelated verification must agree with the gold
  • Plain JSON files under EVALS_DATA_DIR, with drafts, submitted records, and exports kept separate

Agent-friendly output:

  • evals_create_draft and evals_revise_draft return the parsed record, a per-field review protocol, and a ready-to-paste verification-subagent prompt
  • Draft and revise responses report pass/reject results for each positive and negative case
  • evals_list_records reports page counts and nextOffset to continue browsing
  • The submit gate fails with a typed reason plus a recovery hint

Getting started

Add the following to your MCP client configuration file. Set EVALS_DATA_DIR to a writable folder — the server manages drafts/, submitted/, and exports/ under it.

{
  "mcpServers": {
    "evals-mcp-server": {
      "type": "stdio",
      "command": "bunx",
      "args": ["@cyanheads/evals-mcp-server@latest"],
      "env": {
        "MCP_TRANSPORT_TYPE": "stdio",
        "MCP_LOG_LEVEL": "info",
        "EVALS_DATA_DIR": "/absolute/path/to/evals-data"
      }
    }
  }
}

Or with npx (no Bun required):

{
  "mcpServers": {
    "evals-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@cyanheads/evals-mcp-server@latest"],
      "env": {
        "MCP_TRANSPORT_TYPE": "stdio",
        "MCP_LOG_LEVEL": "info",
        "EVALS_DATA_DIR": "/absolute/path/to/evals-data"
      }
    }
  }
}

Or with Docker:

{
  "mcpServers": {
    "evals-mcp-server": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-e", "MCP_TRANSPORT_TYPE=stdio",
        "-v", "evals-data:/usr/src/app/evals-data",
        "ghcr.io/cyanheads/evals-mcp-server:latest"
      ]
    }
  }
}

For Streamable HTTP, set the transport and start the server:

MCP_TRANSPORT_TYPE=http MCP_HTTP_PORT=3010 EVALS_DATA_DIR=./evals-data bun run start:http
# Server listens at http://localhost:3010/mcp

Prerequisites

  • Bun v1.4.4 or higher (or Node.js v24+).
  • A writable directory for EVALS_DATA_DIR. No external API key is required.

Installation

  1. Clone the repository:
git clone https://github.com/cyanheads/evals-mcp-server.git
  1. Navigate into the directory:
cd evals-mcp-server
  1. Install dependencies:
bun install
  1. Configure environment:
cp .env.example .env
# edit .env and set EVALS_DATA_DIR

Configuration

All server configuration is validated at startup via Zod schemas in src/config/server-config.ts.

VariableDescriptionDefault
EVALS_DATA_DIRRoot folder for record JSON; the store manages drafts/, submitted/, and exports/ under it../evals-data
EVALS_REQUIRE_CONFIRMATIONWhen true, evals_submit_draft requests human confirmation through multi-round input before finalizing.false
EVALS_DEFAULT_LICENSEDefault metadata.license applied when a draft omits one (e.g. CC-BY-4.0).—
EVALS_CAPTURE_DIRDirectory of tool-call capture files read at submit. The reader is available; automatic framework capture production is pending mcp-ts-core#247.—
MCP_TRANSPORT_TYPETransport: stdio or http.stdio
MCP_HTTP_PORTPort for the HTTP server.3010
MCP_SESSION_MODEHTTP session mode: auto, stateful, or stateless; stateless is refused because submit confirmation needs a live session.stateful
MCP_AUTH_MODEAuth mode: none, jwt, or oauth.none
MCP_LOG_LEVELLog level (RFC 5424).info
OTEL_ENABLEDEnable OpenTelemetry instrumentation.false

See .env.example for the full list of optional overrides.

Use an absolute LOGS_DIR to select a log directory outside the server's installation. For JWT deployments, set MCP_JWT_EXPECTED_AUDIENCE and, if applicable, MCP_JWT_EXPECTED_ISSUER. If a refreshed token changes the tenant, client ID, or subject, initialize a new HTTP session.

Submit confirmation expires after 10 minutes and must be repeated if the draft changes. When running more than one instance, use shared storage (STORAGE_PROVIDER_TYPE=filesystem with a shared STORAGE_FILESYSTEM_PATH, supabase, or cloudflare-d1; not cloudflare-kv) and set the same MCP_REQUEST_STATE_KEY (at least 32 bytes) on each.

Running the server

Local development

  • Build and run:

    # One-time build
    bun run rebuild
    
    # Run the built server
    bun run start:stdio
    # or
    bun run start:http
    
  • Run checks and tests:

    bun run devcheck   # Lint, format, typecheck, security
    bun run test       # Vitest test suite
    bun run lint:mcp   # Validate MCP definitions against spec
    

Docker

docker build -t evals-mcp-server .
docker run --rm -e MCP_TRANSPORT_TYPE=stdio -v evals-data:/usr/src/app/evals-data evals-mcp-server

The Dockerfile defaults to HTTP transport, stateful session mode, and logs to /var/log/evals-mcp-server. Mount record storage at /usr/src/app/evals-data, the default directory owned by the runtime user. OpenTelemetry peer dependencies are installed by default — build with --build-arg OTEL_ENABLED=false to omit them.

Project structure

DirectoryPurpose
src/index.tscreateApp() entry point — registers tools and the resource, inits the record-store and exporter services.
src/configServer-specific environment variable parsing and validation with Zod.
src/mcp-server/toolsTool definitions (*.tool.ts).
src/mcp-server/resourcesResource definitions (*.resource.ts).
src/services/eval-recordThe record schema, draft builder, and submit gate.
src/services/graderDeterministic grader DSL execution and the committability check.
src/services/record-storeOn-disk JSON record CRUD, the draft→submitted move, and export writes.
src/services/exporterCompiling submitted records to JSONL/CSV/Inspect/lm-eval.
tests/Unit and integration tests mirroring src/.

Development guide

See CLAUDE.md/AGENTS.md for development guidelines and architectural rules. The short version:

  • Handlers throw, framework catches — no try/catch in tool logic
  • Use ctx.log for request-scoped logging; records persist to disk via the record-store service, not ctx.state
  • Register new tools and resources in the createApp() arrays in src/index.ts
  • The server is the source of truth — validate inputs, run the grader as a hard gate, and never admit a record on assertion alone

Contributing

Issues are welcome. Run checks and tests before submitting:

bun run devcheck
bun run test

License

Apache-2.0 — see LICENSE for details.

Frequently asked questions

What is evals-mcp-server MCP Server?

Author verifiable eval records through a draft→review→revise→submit loop with enforced graders.

How do I install evals-mcp-server MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. evals-mcp-server MCP Server runs locally from the npm package @cyanheads/evals-mcp-server with the command npx -y @cyanheads/evals-mcp-server@0.2.0.

Is evals-mcp-server MCP Server free and open source?

Yes. evals-mcp-server MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

What tools does evals-mcp-server MCP Server provide?

evals-mcp-server MCP Server provides 10 tools, including ctx.log, evals_create_draft, evals_describe_schema, and evals_discard_draft. See the full tool list for descriptions and parameters.

How is evals-mcp-server MCP Server's trust score calculated?

evals-mcp-server MCP Server scores 71 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server