VERITY
Integrates with Stripe for payment processing, including a webhook endpoint to handle Stripe events for paid services.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
VERITY — Real-Time Fact-Checking Agent
Real-time fact-checking and data freshness agent. Verifies claims, URLs, and content against live web sources. Returns structured verdicts with confidence scores, what has changed, and supporting sources.
Verdicts
Verdict | Meaning |
| Claim is accurate and up to date |
| Claim was true but has since been superseded, renamed or retired |
| Credible sources contradict the claim (including claims that were never true), or disagree with each other |
| VERITY could not settle it with quoted sources: treat as "do not rely on this" |
How a verdict is checked
The model only proposes a verdict. Code then checks it (src/evidence.ts):
Every source must come with an exact sentence quoted from it. VERITY re-fetches each page and confirms the sentence is really there (whitespace, case, quote marks and dashes normalised). Quotes it cannot find are dropped and listed under
unverified_quotes.CURRENTandOUTDATEDneed one primary/official source (government, standards body, university, the study itself, or the organisation the claim is about) or two independent organisations. Government sites count by domain (.gov,.gov.au,.gc.ca,europa.eu, department sites undergov.xx/gouv.xx/gob.xx, and a short list of national sites such asbundesregierung.de), plus a fixed list of standards and authoritative bodies (e.g. IETF, ISO, CTBUH for building heights). Pages of one organisation, and the same sentence syndicated on several sites, count once. Otherwise the verdict becomesUNVERIFIABLE.Verified evidence on both sides turns the verdict into
DISPUTED.OUTDATEDneeds a verified quote showing the change.If the search and fetch tools failed, the verdict is
UNVERIFIABLE: VERITY never answers from the model's memory.
When the check changes the model's verdict, downgraded_from and downgrade_reason say why.
Evidence escalation
A verdict that fails step 2 only because the evidence is thin (not because sources conflict) is not dropped straight away. VERITY tells the model exactly what counted and what did not, and runs up to 2 more search rounds aimed at (a) the authoritative body for the claim's domain (the government site for an office-holder, CTBUH for building heights, the standards body, the company's own site, the journal) and (b) independent major outlets. Every new quote is re-fetched and the same gate runs again: the bar does not move. Guards (src/escalation.ts):
Evidence is cumulative: nothing found earlier can be dropped, and re-quoting an earlier sentence with a different stance does not count.
Contradicting evidence found while escalating makes the verdict
DISPUTED.Switching between
CURRENTandOUTDATEDwhile escalating makes itUNVERIFIABLE.Caps per claim: 2 rounds, 3 model turns per round, 8 Tavily credits in total. If an escalation round fails, the answer from before it is returned (the check never fails because of escalation).
escalation_rounds says how many rounds ran. An UNVERIFIABLE verdict also carries searched: the queries and domains VERITY tried.
Confidence
confidence is a label for the strength of the verified evidence, not a probability and not the model's opinion:
confidence | evidence behind the verdict |
90 | a primary/official source plus at least one more independent organisation |
80 | a primary/official source |
75 | three or more independent organisations, none primary |
65 | two independent organisations, none primary |
40 | one non-primary source (only possible for |
0 |
|
The facts it is derived from are in evidence_summary: verified_quotes, unverified_quotes, independent_organisations, primary_source, newest_source_date.
Related MCP server: Groundcheck
MCP Setup (Claude Desktop / Cursor)
Set one of two environment variables. If both are set, VERITY_API_KEY is used.
Card credits (no wallet): buy credits at verity.basechainlabs.com/#get-access and use the pg_ key from your purchase email. The package sends each tool call to https://verity.basechainlabs.com/api/mcp with the key in the X-Api-Key header, and the call is charged to your credits.
{
"mcpServers": {
"verity": {
"command": "npx",
"args": ["-y", "verity-mcp@latest"],
"env": {
"VERITY_API_KEY": "pg_..."
}
}
}
}Clients that support remote MCP servers can skip the package: connect to https://verity.basechainlabs.com/api/mcp with the header X-Api-Key: pg_....
USDC on Base (x402): set VERITY_PRIVATE_KEY to a Base wallet private key with USDC. Payments are signed on your machine; the key is never sent anywhere. Get USDC on Base at coinbase.com/wallet.
{
"mcpServers": {
"verity": {
"command": "npx",
"args": ["-y", "verity-mcp@latest"],
"env": {
"VERITY_PRIVATE_KEY": "0x..."
}
}
}
}Tools
Tool | Description | Price |
| Verify a claim or URL against live sources | 0.10 USDC |
| Multi-angle thorough verification | 0.50 USDC |
| Verify up to 10 claims at once | 0.75 USDC |
| Natural language fact-checking | 0.10 USDC |
| Remaining balance for a PayGated | free |
API
POST https://verity.basechainlabs.com/api/verify
Authorization: x402 (USDC on Base){
"claim": "Is GPT-4 still the most capable OpenAI model?",
"caller_id": "my-agent-id"
}Response (the text part of the artifact):
{
"verdict": "OUTDATED",
"confidence": 80,
"summary": "Pluto was reclassified as a dwarf planet by the IAU in 2006.",
"what_changed": "On 24 August 2006 the IAU reclassified Pluto as a dwarf planet.",
"sources": [{ "url": "https://...", "quote": "exact sentence from the page", "stance": "SUPERSEDES", "organisation": "iau.org", "primary": true, "published_date": "2006-08-24" }],
"evidence_summary": { "verified_quotes": 2, "unverified_quotes": 0, "independent_organisations": 2, "primary_source": true, "newest_source_date": "2024-05-01" },
"downgraded_from": null,
"downgrade_reason": null,
"unverified_quotes": [],
"escalation_rounds": 0,
"checked_at": "2026-11-17T09:00:00Z",
"recommendation": "Refer to Pluto as a dwarf planet."
}Persistent Memory
Pass a consistent caller_id on every call. VERITY remembers topics you've checked, domains you monitor, and previous results — no re-sending context.
To get a fresh check with no memory at all, send "no_memory": true in the request body (/api/verify, /api/deep-check, /api/batch-verify, /api/agent; for JSON-RPC put it in params; in the MCP tools it is a tool argument). VERITY then neither reads nor writes caller memory for that call: the memory tools are not offered to the model, and a memory call is refused without touching the database. Only the boolean true turns it on. Your caller_id is still used for logging.
A2A Agent Card
GET https://verity.basechainlabs.com/api/agent?agent-card=trueBuilt by BaseChain Labs
Making changes (maintainer guide)
Where things live
Thing | Where |
The agent's brain |
|
API endpoints | one file per route under |
Payment gate |
|
Public page |
|
Marketplace seller |
|
Secrets | hosting environment variables only. Never in a file, never in a commit |
How a change goes live
There is no test suite and no CI on this repo. A push to main is the deploy.
Edit, then type-check:
npx tsc --noEmit -p .Commit and push to
main. Vercel builds and deploys production from the GitHub integration.Confirm the newest production deployment carries your commit SHA and the endpoint answers:
curl -s https://verity.basechainlabs.com/.well-known/agent.json | head -c 300A push also redeploys the Railway seller. Confirm its log shows it connected afterwards.
Because there are no tests, prove a change on the live endpoint with a read-only call before calling it done. Never make a paid call (x402 or Stripe) just to test.
Accuracy benchmark
test/benchmark/claims.json holds 100 labelled claims (true, false, outdated, unverifiable, and AEO/GEO claims including common myths), each with its expected verdict, the reason, and a primary source URL plus the exact sentence that proves the label. 60 are dev, 40 are heldout: tune only on dev.
bun test: offline checks, including the claims file and the scorer (free).bun run benchmark:check-sources: re-checks every label's source sentence on the live page.bun run benchmark --split dev --label <name>: runs the real verify logic locally on the dev set. Caller memory is switched off and no route or payment code runs. Spend (Anthropic tokens + Tavily credits) is logged totest/benchmark/results/ledger.jsonland the run stops beforeBENCH_BUDGET_USD(default 10). NeedsANTHROPIC_API_KEYandTAVILY_API_KEYin the environment.bun run benchmark:smoke: five dev claims, about US$0.30.Held-out:
bun run benchmark --split heldout --label <name> --final. Run it once per change you want to report, never to tune.
The headline number is the wrong-confident rate: of the CURRENT/OUTDATED verdicts, how many were wrong. Next to it, missed facts: UNVERIFIABLE on a claim whose label is CURRENT, OUTDATED or DISPUTED (target 0). Results are in test/benchmark/results/*.md.
Things that bite
Prices live in four places that must stay in sync:
public/index.html, the 402 body inapi/_x402-gate.ts, the Virtuals ACP offerings, and the npm package README.Agentic.market's "Validate endpoint" tool: use POST. GET returns the agent card (200) by design and the validator then says "no x402 setup".
Tavily is the search backend. If verifications start failing, check the Tavily credit first.
Removing the Railway volume wipes the seller's keyring on the next redeploy and takes it offline.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Fact-check AI answers with cited sources and quick_check. Pay per call in USDC via x402.
AI-agent web fetch, text extraction, API checks and DNS. x402 Base USDC payments per call.
Real-time fact-check, citation verification, and source-freshness for AI agents.
Live uptime and source-URL verification for AI agents, with per-call x402/USDC paid endpoints.
Related MCP Servers
- AlicenseAqualityDmaintenancePaid web research MCP tools for autonomous agents: search, page extraction, citations, and diff monitoring through a live x402 API. Unpaid calls return the Base USDC payment requirement so agents can pay and retry safely.41MIT
- AlicenseAqualityCmaintenanceVerifies factual claims against live sources and returns a verdict, confidence score, and citations for any agent to use before stating uncertain facts.61MIT
- AlicenseNot gradedqualityDmaintenanceFacilitates fact-checking claims by searching the web and returning evidence snippets, with pay-per-call via x402 micropayments on Base L2.MIT
- AlicenseNot gradedqualityBmaintenancePay-per-call checks an AI agent runs before it moves money: token safety verdicts and wallet risk profiles on Base, on-chain payment verification, IBAN/VAT/BIC/LEI/ISIN validation, and live TLS and email-spoofing posture for a domain. Paid in USDC over x402 with no API key or account; the free payment_info tool explains the pricing.MIT