The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the X402receipts listing page.
Accounting infrastructure for autonomous spending. Every x402 purchase an agent makes becomes a receipt, reconciled against the on-chain transaction, with missing or unmatched payments flagged, monthly statements for finance, and evidence anyone can verify.
In code — one wrapper around the fetch your agent already pays with (npm i x402receipts-sdk):
As an MCP server (npx -y x402receipts-mcp): record_receipts, verify_receipt, service_info. See packages/mcp.
Over HTTP: POST https://app.x402receipts.com/api/v1/receipts — answers 402 with the x402 challenge; any x402 client pays it.
With an AI coding tool: paste the integration prompt into Claude Code or Cursor.
The record, its fingerprint, the Merkle batching, the anchor record and the verification algorithm are published as ARR-1 — Agent Receipt Record, released into the public domain (CC0). JSON Schemas are in spec/arr-1/. Implement it yourself, or check our implementation against it.
| Path | What |
|---|---|
spec/arr-1/ | the ARR-1 specification and its JSON Schemas (CC0) |
sdk/ | the x402receipts-sdk npm package (single file, no dependencies) |
packages/mcp/ | the x402receipts-mcp MCP server |
examples/ | plain Node, Vercel AI SDK, LangChain, OpenAI Agents |
integrations/agentkit/ | Coinbase AgentKit action provider |
integrations/x402-ecosystem/ | x402.org ecosystem entry |
offer-receipt).Guide: https://x402receipts.com/guide.html · Status: https://app.x402receipts.com/status · Contact: hello@x402receipts.com
MIT licensed.