API & MCP

Everything a person can do on AI Answer Verifier, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

AI Answer Verifier

Paste an AI-generated answer and the sources it should be based on (text or public URLs). Each sentence becomes a claim; check-worthy claims (numbers, dates, names, superlatives, causes) are flagged, and every claim is matched to the best-supporting source sentence with BM25 scoring and number checks.

Inputs of AI Answer Verifier
FieldTypeDefaultDescription
answer (required)textarea—AI answer
sourcestextarea—Source texts. Paste one or more sources. Separate sources with a line containing only ---
sourceUrlslist—Source URLs (one per line). Public pages fetched once (max 5).

Example request

Eiffel Tower facts

curl -X POST https://aianswerverifier.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"answer":"The Eiffel Tower was completed in 1889 for the World's Fair in Paris. It is 330 metres tall. It was designed by Gustave Eiffel alone. It is the most visited paid monument in the world.","sources":"The Eiffel Tower was built for the 1889 World's Fair in Paris and completed in March 1889.\nIt is 330 metres (1,083 ft) tall, including antennas.\n---\nThe tower was designed by the engineers Maurice Koechlin and Émile Nouguier of Gustave Eiffel's company."}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "ai-answer-verifier": { "type": "http", "url": "https://aianswerverifier.usefulweb.site/mcp" }
  }
}