evals-mcp exposes eight evaluation tools over Streamable HTTP or stdio.
Streamable HTTP is the default:
evals-mcp
# MCP endpoint: http://127.0.0.1:8862/mcp
# Health endpoint: http://127.0.0.1:8862/healthOptions and environment variables:
| Setting | Behavior |
|---|---|
--http / MCP_HTTP=1 |
Select HTTP explicitly; HTTP is already the default |
--port <port> / -p <port> |
Set the HTTP port |
MCP_HTTP_PORT |
Set the HTTP port when no port flag is present |
--stdio / MCP_STDIO=1 |
Select stdio instead of HTTP |
-V, --version |
Print the package version |
Flags take precedence over the port environment variable. Ports must be integers from 1 through 65535.
evals mcp register --claude
evals mcp register --codex
evals mcp register --gemini
evals mcp register --allWith no agent flag, registration selects Claude Code. The command updates the agent's JSON configuration under ~/.claude, ~/.codex, or ~/.gemini; inspect existing configuration before automating registration. Restart the agent after registration.
For a manual stdio configuration, launch evals-mcp --stdio. HTTP clients connect to http://127.0.0.1:8862/mcp by default.
Required: dataset, adapter. Optional: concurrency, skip_judge, tags, save, output_format (summary, json, or markdown), limit, and verbose. Summary output defaults to 10 result rows. Runs are only persisted when save is true.
Required: input, output, rubric. Optional: expected, assertions, judge_model, and judge_provider. The current handler judges the supplied output and returns VERDICT plus REASONING; the accepted assertions field is not executed by this tool.
Required: input, output, rubric. Optional: expected, model, and provider. Returns the verdict and reasoning as text.
Recursively lists .jsonl and .json files under directory (default ./datasets). limit defaults to 50 and cursor is a numeric pagination offset returned as text.
With run_id, returns an unambiguous saved run in summary, json, or markdown format. Without run_id, lists saved runs using limit (default 10) and cursor; format: "json" returns summaries plus pagination metadata. verbose applies to a single run's summary.
Required: before, after. Each value may be a saved run ID/prefix or baseline name. Optional limit defaults to 20; verbose removes the compact diff limit.
Required: dataset, id, input. Optional: expected, rubric, assertions, and tags. Appends one JSONL case to the target file; rubric becomes judge.rubric.
Required: description. Optional: count (default 10), output (default generated.jsonl), and seeds. The current MCP handler generates with Anthropic Claude and writes lines beginning with {; the accepted seeds field is not read by the handler.
MCP tools favor compact text. Use limit/cursor for discovery, verbose: true for complete human-readable result rows, and JSON formats only when a complete machine-readable object is needed.