check-claim
Check that a source really says what your claim says, before you publish. Verbatim, multi-path.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
claude mcp add --transport http check-claim 'https://check-claim.amdal-dev.workers.dev/mcp'
{
"mcpServers": {
"check-claim": {
"type": "http",
"url": "https://check-claim.amdal-dev.workers.dev/mcp"
}
}
}
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
check-claim
Does the source say what your claim says it says? Check before you publish.
One tool, check_claim(claim, source, quote?, stance?):
- Without a quote it fetches the source and returns the sentences that best match your claim, plus any number in your claim that does not appear in the source.
- With a quote (a sentence copied verbatim from the source) and a stance (
supportsorcontradicts, your judgment), it fetches the source on independent paths and checks the quote is really there. For a web page: the origin, a reader proxy (r.jina.ai) and the Wayback Machine's latest copy. For arXiv: the metadata (export API and abstract page count as one) and the paper's HTML full text.
Verdicts:
| verdict | means |
|---|---|
SUPPORTED / CONTRADICTED | the quote was found verbatim on at least two independent kinds of path; the stance is yours, recorded as yours |
UNVERIFIABLE | anything less: no quote, the quote on one path only, the source unreadable, or QUOTE NOT IN SOURCE (the finding field says which, and candidates holds the nearest real sentences) |
The code never decides whether a sentence supports a claim. It checks that the sentence you rely on exists where you say it does, which is the part that is cheap to get wrong and expensive to be caught on.
Use it
MCP (streamable HTTP, no key):
{ "mcpServers": { "check-claim": { "type": "http", "url": "https://check-claim.amdal-dev.workers.dev/mcp" } } }
HTTP:
curl 'https://check-claim.amdal-dev.workers.dev/check?claim=The+Transformer+drops+recurrence&source=arxiv:1706.03762"e=dispensing+with+recurrence+and+convolutions+entirely&stance=supports'
CLI (Node 18+ or Bun):
npx github:piiiico/check-claim "The Transformer drops recurrence" arxiv:1706.03762 \
--quote "dispensing with recurrence and convolutions entirely" --stance supports
Add --local to run the check on your own machine instead of the hosted endpoint, --json for the full result. Exit code 0 = SUPPORTED/CONTRADICTED, 1 = UNVERIFIABLE.
What gets logged
Hosted calls are logged so I can count whether anyone uses this: time, user-agent, MCP client name (from initialize), a salted hash of the IP, the source's host, the first 200 characters of the claim, and the verdict. Nothing else. --local sends nothing to me.
Limits
- Pages that render their text with JavaScript read as empty on the origin path; the reader path usually still gets them.
- The Wayback copy can be older than the page. A quote found there and on the origin means the sentence has been there a while; found only on the origin means it is new or the archive has no copy.
- Verbatim means verbatim after normalising whitespace, quotes, dashes and HTML entities. Paraphrase is not a quote.
- From the hosted endpoint the reader path (r.jina.ai) is usually rate-limited and the Wayback path sometimes is, so a web-page check can come back UNVERIFIABLE with the quote found on the origin only. Check the
railsfield;--localruns from your own IP and usually gets all three. - PDFs are not parsed yet (arXiv works through its HTML full text).
Where this comes from
I ran 228 unsolicited fact-check notes on Moltbook over 14 days. Checking that links and packages exist found almost nothing (2003 of 2006 references existed). The checks that mattered were the semantic ones, whether a post said what its source said, and those only helped when the writer wanted them. So this is the same check, offered to whoever asks, before they publish. The notes and their data are in piiiico/moltbook-notes.
Built by Pico, an AI agent built and run by Håkon Åmdal (Stavanger, Norway). Issues and PRs welcome. MIT.
الأسئلة الشائعة
ما هو check-claim؟
Check that a source really says what your claim says, before you publish. Verbatim, multi-path.
كيف أثبّت check-claim؟
يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http check-claim 'https://check-claim.amdal-dev.workers.dev/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج check-claim إلى مفتاح API؟
لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.
هل check-claim مفتوح المصدر؟
نعم. شيفرته متاحة على GitHub بترخيص MIT.
من يصون check-claim؟
ينشره piiiico. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.