Margin
Tests a model or prompt change on your own evals and says if it holds, before your agent ships it
Reviews
No review yet. Used Margin? Be the first to help others choose.What it does
Margin is an MCP server, a connector that lets an AI assistant use it as a tool. It is hosted: an assistant connects to it over the internet, nothing to install.
No capability identified yet from its description.
Facts come from the Official MCP Registry, as declared by the publisher. Capabilities are matched automatically (low confidence). None of this is a test of the tool.
At a glance
How to connect
As declared in the Official MCP Registry · hosted endpoint tested by Electra Index 23h ago (live check)Hosted endpoints
https://trymargin.io/api/mcp?tools=corestreamable-httphttps://trymargin.io/api/mcp/agent?tools=corestreamable-http
Required: Authorization (get it from the publisher)
MCP settings (Claude Desktop, Cursor and other MCP clients)
{
"mcpServers": {
"margin": {
"url": "https://trymargin.io/api/mcp?tools=core",
"headers": {
"Authorization": "<your Authorization>"
}
}
}
}Replace the values in <angle brackets>.
Reliability
Re-tested about every 2 days · last check 23h agoFor comparison, all hosted MCP servers together: 92.3% of tests answered over the last 7 days. Electra MCP Reliability Index
Observed endpoint availability: the share of our conclusive checks that got an answer. A request for a key or sign-in counts as an answer (the server is up, its access is protected). Timeouts, unreachable endpoints, server errors and invalid MCP replies count as failures; rate-limited checks and checks during our own incidents are not counted. This is what we observed at each check, not continuous uptime: an outage between two checks may go unseen. The 90-day figure will appear once 90 days of checks exist (checks since 26 Nov 2026). How we measure
Live check
Electra Index connected to the hosted endpoint 23h agoONLINE Margin answered an MCP connection on 30 Nov 2026 and introduced itself as margin 0.1.0 (MCP protocol 2025-06-18).
16 tools offered to AI assistants
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 'cmargin_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 vermargin_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 cmargin_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,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 swapmargin_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 yourmargin_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.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 cmargin_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, andmargin_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 omargin_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,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
Show 4 more
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 barmargin_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.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 (`samargin_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
What "online" means: the server answered an MCP connection at the time of the check. It is not a guarantee of security, quality or continuous uptime. How we test: we open an MCP session and ask for the tool list, as an AI assistant would. We never run a tool and never send a key. Re-tested about every 2 days. Method
Is this your server? Monitoring Pro: a check every 30 minutes and an email within the hour when it stops answering. Founding offer: $29.99 a year.
Facts & evidence
Each fact shows where it was seen and when.| Fact | Value | Evidence | Source | Last confirmed |
|---|---|---|---|---|
| Repository | https://github.com/trymargin/margin-referee | DECLARED | SRC-001 Official MCP Registry | 9h ago |
| Version | 0.2.1 | DECLARED | SRC-001 Official MCP Registry | 9h ago |
| Hosted endpoint | https://trymargin.io/api/mcp?tools=core, https://trymargin.io/api/mcp/agent?tools=core | DECLARED | SRC-001 Official MCP Registry | 9h ago |
| Local install (package) | no | DECLARED | SRC-001 Official MCP Registry | 9h ago |
| Remote access (hosted) | yes | DECLARED | SRC-001 Official MCP Registry | 9h ago |
| Website | https://trymargin.io/docs | DECLARED | SRC-001 Official MCP Registry | 9h ago |
| Registry status | active | DECLARED | SRC-001 Official MCP Registry | 9h ago |
| MCP server | yes | DECLARED | SRC-001 Official MCP Registry | 9h ago |
Change history
- VERSION29 Nov 20260.2.0 → 0.2.1
- NEW26 Nov 2026first seen in the index
Is this page accurate?
Flag it and our robot re-checks the official source. Reports never change a score.Is Margin still online?
Free alerts · no account▲ 0Do you run Margin? Know when it stops answering
For publishers · optionalFree: Electra Verified. Show the Electra Index badge on your site or README: we test Margin every 12 hours, email you when it stops answering, and the badge shows its 30-day availability.
Monitoring Pro connects every 30 minutes like an AI assistant, emails you within the hour when it stops answering, keeps a 90-day availability history and adds your answer rate to your badge.
Verified and Monitoring never change a score or a rank.
Questions about Margin
How do I connect Margin?
Use the hosted endpoint https://trymargin.io/api/mcp?tools=core in your assistant's MCP settings. The exact settings are in "How to connect" above, as declared in the Official MCP Registry.
Does Margin need an API key or token?
Yes. The registry entry lists a required value: Authorization. Get it from the publisher.
What tools does Margin offer?
When Electra Index connected on 30 Nov 2026, it listed 16 tools: margin_jobs, margin_optimize, margin_faceoff_status, margin_test_move, margin_test_model, margin_delegate_key, margin_my_keys, margin_fit_check and more. The full list is in "Live check" above.
Is Margin online?
Yes. Its hosted endpoint answered an MCP connection from Electra Index 23h ago.