← trymargin.io

INDIVIDUAL MCP TOOL

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.

trymargin.ionone authenticationAvailability not checked

LIVE ENDPOINT

https://trymargin.io/api/mcp?tools=core

No auth detected

Connect to this endpoint to inspect the live schema for margin_jobs and invoke it with your own arguments.

Indexed input schema

{}

Risk classification

Potential side effects detected · medium confidence · heuristic, not a guarantee.

  • A tool name or description suggests code or command execution.

Parent server

trymargin.io

CONNECT WITH APPROVAL

Client installation

Review this server and its permissions before adding it. Secret placeholders must be set locally.

Codex

~/.codex/config.toml

[mcp_servers.margin]
url = "https://trymargin.io/api/mcp?tools=core"
enabled = true
Claude Code

.mcp.json

{
  "mcpServers": {
    "margin": {
      "type": "http",
      "url": "https://trymargin.io/api/mcp?tools=core"
    }
  }
}
Claude Desktop

Settings → Connectors → Add custom connector

Name: margin
Remote MCP URL: https://trymargin.io/api/mcp?tools=core

Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.

Cursor

.cursor/mcp.json

{
  "mcpServers": {
    "margin": {
      "url": "https://trymargin.io/api/mcp?tools=core"
    }
  }
}
Visual Studio Code

.vscode/mcp.json

Add to Visual Studio Code
{
  "servers": {
    "margin": {
      "type": "http",
      "url": "https://trymargin.io/api/mcp?tools=core"
    }
  }
}
Generic MCP

Client-specific MCP configuration

{
  "name": "margin",
  "transport": "streamable-http",
  "url": "https://trymargin.io/api/mcp?tools=core"
}
MCP Inspector

Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.

Related tools

  • margin_optimize — Every move Margin can name for YOUR project, ranked, each labelled by its basis: measured (a face-off ran), detected, prior, or untested.
  • 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).
  • 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_test_model — Ask Margin to face off ONE model you name (an OpenRouter slug such as openai/gpt-4.
  • margin_delegate_key — Hand a narrower agent key to another agent: a boss agent to a department agent, a department agent to one agent.
  • 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.
  • margin_fit_check — Before spending anything: can YOUR eval set prove a model switch?
  • 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 the two are compared case by case by Margin's parity gate.