Docs
MCP
Twelve tools, and no key is needed to connect. Point a client at the endpoint and it can see what is here; a key lifts the counts and opens the rest, for the same cost as the HTTP API.
Connect your client
Two things, whatever the client: the endpoint
https://priorcase.com/mcp/and HTTP transport. Keep the trailing slash:/mcpredirects to/mcp/. A key goes in anAuthorization: Bearerheader when you have one — without it the handshake, the tool list and the open tools still answer, so a client can see what is here before you sign up for anything.Claude Codeclaude mcp add --transport http \ priorcase https://priorcase.com/mcp/ \ --header "Authorization: Bearer $PRIORCASE_KEY"Cursor reads this shape, in
.cursor/mcp.jsonfor a project or~/.cursor/mcp.jsonfor every project:.cursor/mcp.json{ "mcpServers": { "priorcase": { "url": "https://priorcase.com/mcp/", "headers": { "Authorization": "Bearer pc_live_…" } } } }- VS Code uses
servers, notmcpServers, and wants"type": "http"beside the URL. Same entry otherwise, in.vscode/mcp.json. - Claude Desktop has no file for this. Add it under Customize → Connectors → Add custom connector, with the URL above. Choose no sign-in and put the key in request headers.
- There is no sign-in flow. We run no authorization server, and
/.well-known/oauth-protected-resourcenames none on purpose, so a client reports auth as unsupported and connects anonymously. Do not run an OAuth login against this endpoint; there is nothing to log in to. A key is taken by hand at your account and pasted into the client's own config.
- VS Code uses
Pick a tool
- GET
get_started— → what this answers, which tool answers which question, what is free, and the live coverage. Start here, no keyfree - GET
list_coverage— → the assets, their sources and ranges, the scales, and the condition phrasingsfree - GET
find_analogsasset, at, scale, k → the past moments whose price path resembles the one at `at`, with what followed each1 answer / 10 k - GET
query_historyq, asset, limit → the moments a condition held, written in plain words1 answer / 10 limit - GET
get_market_stateat, asset → the market at one moment, and what happened after1 answer - GET
get_price_pathsat[], asset, scale, after_minutes → the price path around each moment, ready to plot1 answer - GET
list_topicsq → the kinds of recurring event held, with how many of eachfree - GET
get_topic_outcomestopic, asset, alike → every event of that kind with what followed each, by date or ranked by likeness to a moment1 answer - GET
get_move_outcomespct, asset, at, within_hours → if it moved that much from here: the moments like now that did, followed from where they got there1 answer - GET
list_eventsq, kind, since, until, limit, upcoming, days → dated events already known, or what is scheduled aheadfree - GET
compare_assetsat[], window_minutes, after_minutes → every asset at the same moment, side by sidefree - GET
get_barsasset, step, since, until → open, high, low, close and volume at each step, the newest 200, with whether the last is currentfree
Each tool calls the HTTP endpoint behind it with whatever key you sent, and counts against your allowance the same way. Without a key the same door answers that answers a bare
curl: the open tools run,find_analogs,get_topic_outcomesandget_move_outcomestaste 50 answers a day, and the rest refuse with a line saying what to do. MCP costs no more and no less than calling the API directly, and the same rules hold: above ten,kcosts one answer per ten, and leavingatout means now.- GET
Read what comes back
The same JSON the HTTP API returns, split the same way:
thenholds what was known at that moment,afterholds what happened next. The two never share a field, so an agent cannot mistake one for the other.Check before claiming
- Check
quality.range_percentilebefore making any claim. 0 to 100. Low means the matched outcomes clustered; near 50 they are spread about as widely as moments picked at random; above 50 they are spread wider still. A high value is not silence. It says what followed these moments moved more than usual. Neither end says a direction. - Read
quality.alikenext ton.nis how many moments you asked for.alikeis how many there were to ask for — how many past windows were about as similar as the ones you got. Eight out of twenty-two is a different answer from eight out of a hundred and ninety-five, and the two look the same on a chart. - Do not read
after: nullas missing data. Those 32 hours have not closed yet. The moment you asked about always carries it. - Quote
attestation.verifiedrather than assert it. The engine checked that nothing in the answer was unknowable at the moment you asked about. - Pass
atto ask as of a past instant. Without it every tool answers about now, which is the wrong question inside a backtest.
- Check