x402 Notary MCP
You can notarize AI inferences and verify cryptographic receipts for them without revealing the raw content.
Notarize a single inference via
notarize_inferenceusingprompt,response, andmodel_id(plus optionalclient_timestamp); get a signed Ed25519 attestation, SHA-256 hash, and Merkle anchor status, paid via x402 with a wallet.Notarize batches via
notarize_batchwith 1–20 records in one call, producing one attestation per record for audit trails; paid via x402.Verify attestations for free via
verify_attestationby supplyingattestation_idplus original content orcontent_hash, checking signature, hash, and Merkle proof; no wallet required.Fetch public receipt/proof material via
get_receiptfor an attestation: content hash, model, timestamps, Ed25519 signature, and Merkle proof.Read live stats via
notary_stats: total notarizations, 24h volume, top models, and sealed/anchored batches.Fetch the notary public key via
notary_pubkeyfor fully offline Ed25519 signature verification.Preserve privacy: raw prompts/responses are not stored; only hashes, signatures, timestamps, and proof material are retained, with on-chain anchoring only of Merkle batch roots.
Allows notarizing AI outputs with USDC micropayments on Solana blockchain, using a dedicated wallet and the x402 protocol.
x402 Notary — Cryptographic Receipts for AI Outputs
A ForgeMesh Labs product — the notary of the x402 agent economy.
Prove what your AI said, when it said it, and which model said it.
Every AI output is just text. There's no proof a specific model produced a specific response at a specific time — and as agents start hiring other agents, that trust gap gets expensive. x402 Notary closes it: submit any inference, pay $0.005 in USDC (automatic, via x402 on Base — no API key, no account), and get back a signed, timestamped, chain-anchored receipt that anyone can verify, free, forever.
We notarize the hash, not your secrets. Your prompt and response are hashed and signed — never stored. Private signed receipts, publicly anchored by batch root.
Quick start (Claude Desktop / Claude Code / any MCP client)
{
"mcpServers": {
"x402-notary": {
"command": "npx",
"args": ["-y", "@forgemeshlabs/x402-notary-mcp"],
"env": {
"WALLET_PRIVATE_KEY": "0x..."
}
}
}
}WALLET_PRIVATE_KEY is a dedicated low-balance Base wallet for x402 micropayments — never your primary wallet. $1 of USDC notarizes 1,000 outputs.
Requirements. Node.js 20 or newer. The server only talks to https://notary.forgemesh.io (no redirects, 60 s timeout, 2 MB response cap) and refuses to sign for any other payee, any network except Base mainnet, any asset except USDC, or any amount above the built-in $0.01 per-call and $10 per-session caps. The environment variables X402_MAX_PRICE_USD and X402_SESSION_BUDGET_USD can only lower those caps, never raise them. Use a dedicated, low-balance wallet.
Verification needs no wallet at all. Skip the env block entirely and you can still verify receipts, inspect attestations, and read live stats.
Related MCP server: Agent Receipts
Tools
Tool | Cost | What it does |
| $0.005 | Signed receipt for one |
| $0.005 | Up to 20 receipts in one call — built for audit trails |
| free | Check any receipt: signature, content hash, Merkle proof |
| free | Fetch the public proof material for an attestation |
| free | Live volume, top models, anchored batches |
| free | The notary's Ed25519 key — verify receipts fully offline |
What a receipt proves
When you notarize an inference you get an attestation:
{
"attestation_id": "att_64d22f5f5c95d0e759ad54dc",
"content_hash": "sha256 of {prompt, response, model_id, timestamp}",
"signature": "Ed25519 — verifiable offline against the public notary key",
"notarized_at": "2026-07-03T02:47:11.000Z",
"anchor": { "status": "sealed", "merkle_root": "…", "proof": ["…"] }
}That's proof of three things:
Existence — this exact content existed at this exact time.
Integrity — change one character of the prompt or response and verification fails.
Independence — signatures verify offline with the published key; Merkle roots anchor batches. You don't have to trust the notary's word after the fact.
Verify anything, free, from anywhere
Any agent (or human, or CI job) can check a receipt before acting on the output behind it:
curl -s https://notary.forgemesh.io/api/verify \
-H 'content-type: application/json' \
-d '{"attestation_id":"att_…","prompt":"…","response":"…","model_id":"openai/gpt-5"}'"valid": true means the content matches the notarized hash and the notary's Ed25519 signature checks out. Tampered content is rejected with the exact failing check.
When should an agent notarize?
Not every call — the outputs that matter:
Agent-to-agent handoffs — prove what you passed downstream came from this model, unmodified
Paid deliverables — research, reports, recommendations someone is paying for
Compliance & audit trails — decisions that affect money, legal exposure, or reputation
Dispute prevention — "this is exactly what was generated, at exactly this time"
Marketplace reputation — build a public, verifiable reliability trail for your agent or service
Casual chat and scratchpad reasoning don't need receipts. Externalized outputs do.
Privacy, by design
Raw prompts, responses, and metadata are not persisted — the notary computes the hash, signs it, and discards the content.
Receipts contain proof material only: hash, signature, timestamps, model id, Merkle proof.
Only Merkle batch roots are anchored on-chain. Your content never touches a public chain.
Verification works by you supplying your original content — the notary can't reveal what it never kept.
How payment works
No signup, no API key, no subscription. The first request returns an HTTP 402 challenge; your MCP client signs a USDC payment authorization and retries. Base uses EIP-3009. The receipt lands in the same response — including the payment transaction hash under _payment.
Direct API
Prefer raw HTTP? The full agent-readable surface:
https://notary.forgemesh.io/llms.txt— one-page summary for agentshttps://notary.forgemesh.io/openapi.json— OpenAPI 3.1 with x402 payment metadatahttps://notary.forgemesh.io/.well-known/x402.json— x402 discovery manifest
FAQ
Is my prompt stored anywhere? No. The hash is computed, signed, and the raw text is discarded. This is the default and only mode.
Do I need an account or API key? No. x402 payments are the only credential.
What does verification cost? Nothing, for anyone, forever. Charging to verify would defeat the point of a trust primitive.
What chain and token? USDC on Base mainnet (eip155:8453).
Can I verify receipts without contacting the notary? Yes — fetch the Ed25519 public key once (notary_pubkey) and verify signatures offline.
Why "x402 Notary"? x402 is the open protocol that lets AI agents pay for services in USDC over plain HTTP — and this is its notary: the attestation layer agents use to prove and verify each other's outputs before money or reputation moves on them.
Built by ForgeMesh Labs · Powered by the x402 protocol · MIT License
Available Tools
6 toolsget_receiptARead-only
FREE — fetch the public receipt for an attestation: content hash, model, timestamps, Ed25519 signature, and Merkle anchor proof. Raw prompt/response are never stored, so receipts contain proof material only. No wallet needed.
Inputs: attestation_id (required).
notarize_batchA
Notarize up to 20 AI inferences in one call — one signed attestation per record. Ideal for audit trails and agent pipelines. Costs $0.005 USDC via x402 (requires WALLET_PRIVATE_KEY for Base or SOLANA_PRIVATE_KEY for Solana).
Inputs: records (required).
notarize_inferenceA
Get a cryptographic receipt for one AI inference. Returns a signed Ed25519 attestation, sha256 content hash, and Merkle chain-anchor status for {prompt, response, model_id}. The notary does NOT store your prompt or response — only the hash is retained. Costs $0.001 USDC via x402 (requires WALLET_PRIVATE_KEY for Base or SOLANA_PRIVATE_KEY for Solana).
Inputs: prompt (required), model_id (required), response (required), client_timestamp.
notary_pubkeyARead-onlyIdempotent
FREE — the notary's Ed25519 public key (base64, raw 32 bytes) for fully offline signature verification. No wallet needed.
Inputs: no named parameters.
notary_statsARead-only
FREE — live aggregate stats: total notarizations, 24h volume, top models by attestation count, sealed/anchored Merkle batches. No wallet needed.
Inputs: no named parameters.
verify_attestationARead-only
FREE — verify any attestation issued by the notary. Supply the attestation_id plus either the original content ({prompt, response, model_id}) or its content_hash. Returns the Ed25519 signature check, hash comparison, and a Merkle inclusion proof once the batch is sealed. No wallet needed.
Inputs: attestation_id (required), prompt, model_id, response, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool has a clearly distinct role: creating receipts (single or batch), retrieving receipts, verifying attestations, viewing stats, and obtaining the public key. There is no overlap or ambiguity between them.
Naming conventions are mixed: three tools use 'notarize' verbs, two use 'notary_' prefix, and others use 'get_receipt' and 'verify_attestation'. While each name is descriptive, the lack of a uniform pattern creates some inconsistency.
Six tools is well-scoped for a notary service, covering creation, retrieval, verification, stats, and key management without bloat or gaps.
The surface covers the full lifecycle: notarize (single/batch), fetch receipt, verify, and obtain public key for offline verification. No obvious missing operations for the domain.
Maintenance
Related MCP Connectors
Create and verify signed, Bitcoin-anchored receipts for AI calls.
Did it really happen? Independent signed receipts for AI agents: page, domain, email, heartbeat.
Governed AI actions with signed, verifiable receipts: free keyless reads, human-approved writes.
Signed, append-only receipts of an AI agent's decisions and outcomes, with public proof links.
Related MCP Servers
- FlicenseNot gradedqualityFmaintenanceSuperseded. Earlier version of the DCL product (MCP endpoint at /sse with API key, plus an offline desktop audit trail). Not the current path for agents. Use the hosted DCL Trust Oracle: https://github.com/Fronesis-Labs/dcl-webhook (MCP endpoint https://mcp.fronesislabs.com/mcp, Streamable HTTP, x402 payment, no API key).-
- AlicenseAqualityBmaintenanceCryptographic accountability for AI agents. Ed25519-signed receipts for every MCP tool call. Constraints, chains, AI judgment, invoicing, and local dashboard included.241MIT

evermint-mcpofficial
AlicenseNot gradedqualityDmaintenanceTamper-evident receipts for AI agent actions. The notary layer for agent-to-agent transactions.1MIT- AlicenseNot gradedqualityDmaintenanceVerifiable action receipts for AI agents — agents sign claims locally, an independent witness countersigns and timestamps, anyone can verify offline.9 npmMIT