MCP server · document ranking

Ask your assistant to rank a folder of documents.

An MCP server for Claude Code, Cursor and other MCP clients. It compares the files in pairs against what you asked for and answers with the order, a range on every place and the close calls.

claude mcp add supposing ‑‑ uvx ‑‑python 3.12 'supposing[mcp]' mcp ‑‑local

Claude Code, no account: the server on your machine. Needs uv.

Your assistant, with the supposing MCP server

YouRank the files in ~/proposals by which makes the strongest case for funding. Show me the cost first, and tell me which places are close calls.

tool
rank_documents {
  folder: "/home/you/proposals",
  rubric: "Which proposal makes the strongest case for funding? Weigh impact about twice as much as feasibility. Ignore length.",
  judge: "claude_cli",
  estimate_only: true
}

Assistant12 documents, 48 judge calls, on your Claude subscription: nothing billed. Shall I start?

YouGo.

toolrank_documentstoolget_runtoolget_results

Assistant

solar-schools.md ranks first, but the best could be any of the first 2.

rankcould befile
11-2solar-schools.md
21-2clinic-van.md
33-5bike-lanes.md
43-5library-hours.md
54-6tool-library.md

7 more, down to app-for-everything.md at 12.

Close calls: bike-lanes.md and library-hours.md could be 3rd to 5th, so read those two yourself. Each comparison has the judge's reason if you want them.

The order and ranges come from Supposing. What you read next is your call.Example data

Set up in your client.

Claude Code

As a plugin, with skills for ranking documents and checking a judge:

/plugin marketplace add simulplatform-ai/supposing
/plugin install supposing@supposing

Or hosted, then run /mcp and sign in:

claude mcp add --transport http supposing https://api.supposing.app/mcp

Cursor and VS Code

One click, the server on your machine:

Add to CursorInstall in VS Code

Or hosted, in .cursor/mcp.json, with an API key from the Developers page:

{
  "mcpServers": {
    "supposing": {
      "url": "https://api.supposing.app/mcp",
      "headers": { "Authorization": "Bearer sp_your_key" }
    }
  }
}

Claude and ChatGPT

Add a custom connector with this URL, then sign in to Supposing in your browser and approve:

https://api.supposing.app/mcp

Other clients that support MCP authorization connect the same way.

Step by step

On your machine, or hosted.

Same tools either way. With a saved key the local server ranks in the cloud; --local keeps it on your machine.

  • rank_documentsstarts a ranking; estimate_only prices it first
  • get_runstatus and progress
  • get_resultsthe verdict, then each document's range of places
  • compare_optionsthe best of 2 to 8 short options
  • list_samplesbuilt-in sets to try

Want your agent to choose among its own drafts instead? Best of N for agents

SettingOn your machineHosted
AccountNoneSign in in your browser, or an API key
DocumentsA folder path: every .md, .txt and .html fileThe assistant passes the text, 2 to 2,000 documents
Judgemock (free, made up) or claude_cli (your Claude subscription)quick, balanced, thorough or any OpenRouter model
Paid fromNothing billed by usYour workspace's credit, priced first
Runs lastAs long as the server processIn your workspace; inline ones 30 days unless kept

Before you try it

Which clients does it work with?

The docs give setup for Claude Code (a plugin or one command), Cursor and VS Code (one click, or JSON config), and Claude and ChatGPT (a custom connector).

Other clients that support MCP authorization connect with the same URL. Set up your client

Which files can it read?

On your machine, pass a folder: every .md, .txt and .html file in it is one document.

Through the hosted server, the assistant passes each document's text, 2 to 2,000 of them. For PDF and Word files, upload them in the web app or with supposing datasets push, and the assistant can rank that dataset by its id.

Does it decide for me?

No. It puts the documents in order against what you asked for, with a range of places for each and a reason for every comparison.

Where ranges overlap the judge has not told the documents apart: treat them as tied and read them yourself.

What does a folder cost?

On your machine, nothing from us: the mock judge is free, and claude_cli counts against your Claude plan's usage limits.

Hosted, about 7 cents for 40 documents of about 500 words with Claude Haiku 5.5, at prices on 2026-11-29. estimate_only gives the price before any run, max_cost_usd caps it, and the smallest top-up is $3. Pay as you go allows 2,000 documents per dataset and 50 rankings a month. Pricing

Where do my documents go?

On your machine, only to the judge you pick; the MCP server sends no telemetry.

Hosted, the text is stored in your account and sent, through OpenRouter, to the provider of the AI model you choose. We don't use it to train AI models, and you can delete it at any time. Remove names and personal details first. Privacy policy

Can I trust the order?

We make no accuracy claim for your documents.

Every place has a 90% range, each result checks the judge for position and length bias, and every comparison keeps its reason, so you can check the close ones yourself.

Rank your next folder from your assistant.

Cloud hosted, the engine is free and open source.

Start ranking