Skip to content

MCP tools

The MCP server gives a coding agent four tools. This page lists what each takes and returns. To connect an agent, see Set up your coding agent.

Where How
Hosted https://api.supposing.app/mcp, Streamable HTTP. Sign in with OAuth from Claude, ChatGPT and other apps (how), or send Authorization: Bearer sp_...
On your machine supposing mcp over stdio. Needs pip install 'supposing[mcp]'. Uses the cloud when a key is saved, the local engine otherwise; --local forces local

Results are the API’s own objects: summary first, then ranking.leaderboard. Errors carry the API’s code, message and hint. Every tool takes judge, an object {provider, model}; leave it out for the default judge, or pass {"provider": "mock", "model": "mock"} to try a tool for free.

Starts a ranking in the background and returns at once with a run_id and the estimate. Use it for more than 8 documents, or for long ones.

Argument Meaning
rubric Required. What the judge should prefer, in plain words
items The documents, 2 to 2000, as {title, text}. Or pass dataset_id
dataset_id Rank a dataset already uploaded
rounds Opponents per document, default 8. A run makes about rounds × documents calls
top_n Only settle the top N; cheaper on big sets
max_cost_usd A hard cap: no call starts that could take the total past it
estimate_only Return the estimate without starting anything
name A name for the run

Then call get_run until the status is done, and get_results.

Status and progress of a run: queued, running, done, failed or canceled, with calls done and money spent. Takes run_id.

The verdict in one sentence, then the leaderboard with each document’s 90% range of places, and the judge checks. Takes run_id, and top for how many rows (default 20).

Picks the best of 2 to 8 short options and waits for the answer. Use it for drafts, names, prompts or replies.

Argument Meaning
rubric Required. What “better” means here, in one sentence
options 2 to 8 texts, each up to 20,000 characters. They are named “option 1”, “option 2”, … in this order
wait_seconds How long to wait, default 45. If the answer isn’t ready, you get a run_id for get_results

Every option meets every other in both orders: n × (n − 1) calls, so 4 options make 12 and 8 make 56. See Pick the best draft from an agent.