API & MCP
Everything a person can do on Model Behavior Regression Explorer, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://modelbehaviorregressionexplorer.usefulweb.site/api/v1/calculate– run Model Behavior Regression ExplorerGET https://modelbehaviorregressionexplorer.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Model Behavior Regression Explorer
Paste eval results for two model versions on the same items (CSV or JSONL with id, input, expected, output_a, output_b and optional category). Each output is scored with your metric – exact, normalised exact, contains, numeric tolerance or regex – then accuracy is compared per version and category, regressions and improvements are listed, an exact McNemar test tells whether the difference is more than noise, and flaky (inconsistent repeated runs) or ambiguous items are flagged.
| Field | Type | Default | Description |
|---|---|---|---|
data (required) | textarea | — | Eval results (CSV or JSONL). Columns: id, input, expected, output_a, output_b, category (optional). Repeated ids = repeated runs. |
metric | select (exact, normalized, contains, numeric, regex) | "normalized" | Scoring metric |
tolerance | number | 0.01 | Numeric tolerance (absolute) |
labelA | text | "A" | Name of version A |
labelB | text | "B" | Name of version B |
maxListed | integer | 50 | Maximum items listed per table |
Example request
Prompt v1 vs v2 on 12 QA/math items (CSV)
curl -X POST https://modelbehaviorregressionexplorer.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"labelA":"prompt-v1","labelB":"prompt-v2","data":"id,category,input,expected,output_a,output_b\nq1,geo,Capital of France?,Paris,Paris,Paris.\nq2,geo,Capital of Australia?,Canberra,Sydney,Canberra\nq3,geo,Longest river in Europe?,Volga,The Volga,Danube\nq4,geo,Capital of Canada?,Ottawa,Ottawa,Ottawa\nq5,geo,Highest mountain in Africa?,Kilimanjaro,Kilimanjaro,Mount Kilimanjaro\nm1,math,12*7,84,84,84\nm2,math,15% of 240,36,36,36.0\nm3,math,sqrt(144),12,12,11\nm4,math,2^10,1024,1024,1024\nm5,math,100/8,12.5,12,12.5\nm6,math,17+26,43,43,43\nm7,math,9*9,81,81,81\nm7,math,9*9,81,81,18"}'
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://modelbehaviorregressionexplorer.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
model_behavior_regression_explorer - Local stdio connector:
node src/mcp-stdio.ts --tool=model-behavior-regression-explorer
{
"mcpServers": {
"model-behavior-regression-explorer": { "type": "http", "url": "https://modelbehaviorregressionexplorer.usefulweb.site/mcp" }
}
}