Claim Check

Checks the factual claims in a text against sources and quotes the passage behind each verdict

LLM Mart 0 views 38 listing impressions

Finds the factual claims in a piece of text, looks for a source for each, and tells you which are supported, contradicted or unsourced, quoting the passage it relied on.

It runs on your own model and keys: a command line, an MCP server for agents, and a GitHub Action that annotates pull requests. Apache-2.0.

30 seconds

You need Node.js 20 or later and a model behind any chat completions endpoint. There is no default model.

export CLAIM_CHECK_BASE_URL=https://openrouter.ai/api/v1
export CLAIM_CHECK_MODEL=deepseek/deepseek-v4.1-flash-1017
export CLAIM_CHECK_API_KEY=...                       # your key for that endpoint
export CLAIM_CHECK_MODEL_OPTIONS='{"reasoning":{"enabled":false}}'

curl -O https://raw.githubusercontent.com/Skryvo/claim-check/main/examples/sample.md
npx @skryvo/claim-check sample.md

examples/sample.md has five claims, one with a wrong year, citing public-domain United States government pages. This is the real output (23 November 2026):

sample.md  5 claims: 2 supported, 1 contradicted, 1 no source found, 1 not checkable
  supported       line 3  The ocean covers about 71 percent of the Earth (NOAA)
                  https://oceanservice.noaa.gov/facts/howmanyoceans.html
                  "covers 71 percent of the Earth"
                  The NOAA page states the global ocean covers 71 percent of the Earth.

  contradicted    line 5  The Statue of Liberty was dedicated in 1896 (National Park Service)
                  https://www.nps.gov/stli/index.htm
                  "It was dedicated by President Grover Cleveland on October 28, 1886."
                  The National Park Service page states the statue was dedicated in 1886, not 1896.

  supported       line 7  The Pacific is the largest ocean on Earth
                  https://oceanservice.noaa.gov/facts/pacific.html
                  "the Pacific is by far the largest of the world's ocean basins"
                  The source states the Pacific is by far the largest of the world's ocean basins, which matches the claim that it is the largest ocean on Earth.

  no source found line 9  About 70% of travellers say a famous landmark is the main reason they choose a city
                  The text cites no address for it, and no web search is set.

  not checkable   line 11  New York is the most beautiful city to visit in spring
                  opinion

Model deepseek/deepseek-v4.1-flash-1017 (4 model calls, 2,849 tokens, $0.0006 as reported by the endpoint). Sources: addresses the text cites.

It exited with code 1, because a claim was contradicted.

Three ways to run it

Command line

npx @skryvo/claim-check article.md                 # one file
npx @skryvo/claim-check "docs/**/*.md"             # a glob (quote it)
npx @skryvo/claim-check https://example.com/post   # a public page; its links are its citations
cat draft.md | npx @skryvo/claim-check             # stdin (or "-")
npx @skryvo/claim-check article.md --json          # every field, for scripts
npx @skryvo/claim-check "docs/**/*.md" --sarif > claims.sarif   # for code scanning
npx @skryvo/claim-check article.md --search brave  # also search the web for claims the text does not source
Exit code Meaning
0 Checked; no claim met --fail-on
1 At least one claim met --fail-on: contradicted (default), unsourced (contradicted or no source found), or never
2 Usage or configuration error, such as no model set
3 The check could not finish: the model, the search or an input failed

claim-check --help lists every option; --max-claims (default 20 per input) caps the work.

MCP server

claim-check mcp serves three tools over stdio:

From the project's README.