Margin
io.trymargin/margin · Website · Repository
Tests a model or prompt change on your own evals and says if it holds, before your agent ships it.
On 2026-11-29 05:51 UTC, the BOTERNITY MCP Index scored Margin (io.trymargin/margin) 80/100 (grade B); 16 tools, 6090 tokens for tools/list; healthy in 100 % of 3 checks over 30 days. Source: https://boternity.com/mcp-index/server?name=io.trymargin%2Fmargin
Free to reuse under CC BY 4.0 with a link. Permanent link: this page · JSON (status, score and the last 30 checks) · key numbers of the whole index.
Score breakdown
| Reliability initialize, ping, response time | 26 / 30 |
| Protocol conformance protocol revision, server info, instructions | 20 / 20 |
| Tool definitions descriptions, documented and typed parameters, annotations | 30 / 40 |
| Context cost tokens that tools/list adds to every agent's context | 4 / 10 |
Tools this server declares
16 tools listed by the server at the check of 2026-11-29.
margin_change_record— One verdict as a change record you can attach to your customer's change notice: what changed, the decision, the cases and the gap with its 95% bound, each segment's reading, the cases that got worse, cost per case, a review of the case set (parameters: answers_clause, verdict_id* · read-only)margin_check_experiments— Did this change help or hurt, and is it proven? Compares two experiments your team ALREADY ran and scored (Braintrust export or experiment id; or LangSmith, with source langsmith or an ls:<experiment id or name>; or two Inspect .json logs o (parameters: baseline, baseline_experiment_id, baseline_name, candidate, candidate_experiment_id, candidate_name, candidates, critical_segments, rules, scorer*, source, threshold · read-only)margin_delegate_key— Hand a narrower agent key to another agent: a boss agent to a department agent, a department agent to one agent. Pass a spend limit (taken out of YOUR key's limit), an optional label, an optional list of agent files it may test (inside your (parameters: agents, can_delegate, label, spend_limit_usd*, ttl_hours)margin_draft_checks— When the fit check says your cases cannot be graded (free-text answers, common for support, ops and finance agents): pass what the agent is for (`task`, with its rules written out, e.g. 'never offer a coupon') and up to 20 real outputs (`sa (parameters: samples*, task*)margin_faceoff_status— YOUR project's latest measured run, every face-off queued against it with its status and verdict, and the post-merge watch on each change you registered (holding, slipped, or still waiting for graded outcomes). Pull requests open from the c (read-only)margin_fit_check— Before spending anything: can YOUR eval set prove a model switch? Pass the export's text (a promptfoo results file, a Braintrust or LangSmith dataset export, or JSONL of {input or messages, expected, check}). Returns how many cases Margin c (parameters: dataset*, results · read-only)margin_jobs— Where YOUR project's money goes, per job: each model-calling step over the last 30 days with its calls, cost, live model and whether any eval has exercised it, plus how concentrated the spend is in the top 5/10/20 jobs. A job is labelled 'c (read-only)margin_my_keys— YOUR agent key: its spend limit, how much is reserved, which agents it covers, and the keys it has handed out to other agents. Needs an agent key. (read-only)margin_optimize— WHAT TO TEST NEXT for YOUR project: every candidate change Margin can name, ranked, each labelled by its basis: measured (a face-off ran and gave a verdict), detected, prior, or untested. A listed move is a candidate, not a verdict; the ver (read-only)margin_pin_drift_check— Watch one setup for quality drift (a provider changing a model under its name, your retrieval or tools moving): pin your eval cases (`dataset`, the export's text) and a `model`, at a `cadence` of daily or weekly. Each run replays the cases (parameters: cadence*, cap_usd, dataset*, endpoint, model*, monthly_cap_usd)margin_replay_dataset— Replay YOUR eval dataset against a candidate model, with no repo run: each case goes to `baseline` and `candidate` with the same messages (and the same structured-output schema, when the case has one), is graded by the case's own check, and (parameters: anyway, baseline, baseline_endpoint, candidate, candidate_endpoint, candidate_system, candidate_tools, cap_usd*, continue_job, critical_segments, dataset*, early_stop)margin_report_outcome— After a change Margin gave a verdict on has shipped (or did not ship): record what happened. `verdict_id` is the one the replay or check returned; `outcome` is held, regressed or not_shipped; `note` says how you know (an incident, a metric, (parameters: note, outcome*, verdict_id*)margin_test_model— Ask Margin to face off ONE model you name (an OpenRouter slug such as openai/gpt-4.1-mini, or a release from this week) against YOUR project's latest measured run, on your own evals, in Margin's sandbox. Optionally name one `agent` to swap (parameters: agent, model*)margin_test_move— Ask Margin to TEST one move on YOUR project: a cheaper model, an output cap or a host pin, exactly as a move listed by margin_optimize (pass its level, target and lever). Margin re-runs your own evals with the move applied, in its sandbox, (parameters: level*, lever*, target*)margin_track_record— Margin's verdicts for your project and how they turned out: how many said ship, do not ship or not enough evidence, and of the ship verdicts your team reported on, how many held. Unreported ones are pending, never counted as held. Free. (read-only)margin_verdict_receipt— One verdict as a receipt someone outside your team can check: an in-toto Statement in a DSSE envelope (`receipt`), signed by Margin with Ed25519 when `signed` is true, with the decoded `statement` beside it. It carries the decision, the bar (parameters: verdict_id* · read-only)
Tool names and descriptions are the server's own words, copied from its tools/list answer at the dated check (descriptions cut at 240 characters, 12 parameters, 30 documented tools at most). BOTERNITY never calls these tools and does not verify what they do. Parameters marked * are required.
Add it to your client
Address (Streamable HTTP): https://trymargin.io/api/mcp?tools=core. The check of 2026-11-29 (UTC) connected to this address without any credential. Its registry entry declares required header(s): Authorization; replace the placeholder value with your own.
Claude (claude.ai, Claude Desktop): add a custom connector and paste the address https://trymargin.io/api/mcp?tools=core, with the required header(s) Authorization set to your own value (docs).
ChatGPT: add the address https://trymargin.io/api/mcp?tools=core as a connector. The check connected without any header, but this registry entry declares required header(s) ChatGPT cannot send (it cannot present custom API keys or request headers): if the server starts enforcing them, ChatGPT will not connect (docs).
Claude Code, in a terminal (options: claude mcp add --help):
claude mcp add --transport http margin 'https://trymargin.io/api/mcp?tools=core' --header 'Authorization: Bearer YOUR_TOKEN'Cursor, in ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project) (docs):
{
"mcpServers": {
"margin": {
"url": "https://trymargin.io/api/mcp?tools=core",
"headers": {
"Authorization": "Bearer YOUR_TOKEN"
}
}
}
}VS Code, in .vscode/mcp.json (docs):
{
"servers": {
"margin": {
"type": "http",
"url": "https://trymargin.io/api/mcp?tools=core",
"headers": {
"Authorization": "Bearer YOUR_TOKEN"
}
}
}
}Generated from the Streamable HTTP address this server publishes in the official MCP Registry (the address the Index check connects to) and from the request headers its registry entry declares as required. Values in capitals are placeholders: get the real ones from the publisher. Nothing here is run against the server. Whether each client can complete the connection is measured just below.
Works with Claude, ChatGPT, Cursor and VS Code?
| Client | Verdict | Why |
|---|---|---|
| Claude | Ready | Answered a standard MCP initialize over Streamable HTTP without sign-in on 2026-11-29; Claude accepts servers that need no sign-in. client docs |
| ChatGPT | Ready | Answered a standard MCP initialize over Streamable HTTP without sign-in on 2026-11-29; ChatGPT accepts servers that need no sign-in. client docs |
| Cursor | Ready | Answered a standard MCP initialize over Streamable HTTP without sign-in on 2026-11-29; Cursor accepts servers that need no sign-in. client docs |
| VS Code | Ready | Answered a standard MCP initialize over Streamable HTTP without sign-in on 2026-11-29; VS Code accepts servers that need no sign-in. client docs |
How verdicts are made: measured continuously, never guessed. All servers that work with each client.
Badges for your README, updated after each new check with the verdicts above:
[](https://boternity.com/mcp-index/server?name=io.trymargin%2Fmargin#clients)
[](https://boternity.com/mcp-index/server?name=io.trymargin%2Fmargin#clients)
[](https://boternity.com/mcp-index/server?name=io.trymargin%2Fmargin#clients)
[](https://boternity.com/mcp-index/server?name=io.trymargin%2Fmargin#clients)
Availability
100 % over 3 checks. Last check 2026-11-29.
What the last check found
- 16 of 16 tools without outputSchema
- tools/list costs about 6090 tokens of every agent's context
Badge for your README
[](https://boternity.com/mcp-index/server?name=io.trymargin%2Fmargin)
This measurement is signed by boternity.com (Ed25519, key 450c02fbfb29dba9, digest sha256:d1f4d3068cf32383…), in the badge and in the JSON. Anyone can check a copy.
Get alerted when it goes down
Free: we check this server about every 20 minutes on the MCP weather and tell you when it goes down and when it is back, by e-mail or webhook.
Or follow it in a feed reader: Atom feed · JSON Feed (first seen, became unavailable, back online, tool definitions changed; checks of the last 30 days).
Endpoint: https://trymargin.io/api/mcp?tools=core. Scores are automatic and may be wrong. Owners can ask for removal via support.