Docs
Every call needs an API key. Get one here (five free checks), or ask for one from code: POST https://evidence-engine-27j7.onrender.com/api/v1/keys.
Add it to an AI app (MCP)
The MCP server is at https://evidence-engine-27j7.onrender.com/mcp (Streamable HTTP). It has two tools: check_claim starts a check and answers at once with its id; get_check gives its state, and the result once it is done (about three minutes).
Claude Code
claude mcp add --transport http evidence-engine https://evidence-engine-27j7.onrender.com/mcp --header "Authorization: Bearer YOUR_KEY"
Cursor and other apps that take a JSON config
{ "mcpServers": { "evidence-engine": { "url": "https://evidence-engine-27j7.onrender.com/mcp", "headers": { "Authorization": "Bearer YOUR_KEY" } } } }
Chat apps whose connector screen has no place for a key: add a custom connector with the address https://evidence-engine-27j7.onrender.com/mcp/k/YOUR_KEY. Anyone with that address can spend your credits, so keep it private.
Call the API
curl -X POST https://evidence-engine-27j7.onrender.com/api/v1/checks \
-H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" \
-H "Idempotency-Key: any-unique-string" \
-d '{"claim": "Unemployment fell to 3.1% last month."}'
The answer is 202 Accepted with { "id", "state": "queued", "pollAfterSeconds", "statusUrl" }. Send {"url": "https://…"} instead of claim to check the main claim of a page.
curl https://evidence-engine-27j7.onrender.com/api/v1/checks/CHECK_ID -H "Authorization: Bearer YOUR_KEY"
state is queued, working, done, not_checkable (an opinion or a prediction, for example) or failed. When it is done, report holds the report document and reportUrl its page. Ask again after pollAfterSeconds.
GET /api/v1/balance shows the credits left. The full description is in openapi.json.
Credits
A check takes one credit when it is sent. The credit comes back if nothing in it could be checked, or if the check fails on our side. Sending the same request again with the same Idempotency-Key returns the first check and costs nothing.
Errors
Errors are application/problem+json with a code:
| Status | code | Meaning |
|---|---|---|
| 400 | invalid_input | No claim or page, too long, or a link that cannot be fetched; errors says which |
| 401 | unknown_key | No key, or not one of ours |
| 402 | out_of_credits | Buy more at buyUrl |
| 404 | not_found | No such check for this key |
| 409 | conflict | An Idempotency-Key already used for a different request |
| 429 | free_checks_used_up_today | Today's free checks across all keys are used up; try tomorrow, or use paid credits |
| 429 | rate_limited | Too many checks or keys for now; see Retry-After |
| 503 | daily_limit_reached | The service has reached its spending limit for today (UTC) |