
x402receipts
com.x402receipts由 x402receipts.com 发布v1.0.0更新于 Oct 27, 2026
Record x402 agent purchases as reconciled, auditable receipts; verify any receipt on the ledger.
概览
把智能体的 x402 购买记录为可对账、可审计的收据,并可在公开账本上验证任一收据。
- 可以做什么
- 记录 x402 付费调用的收据,包含资源、金额、交易对手与交易引用
- 在公开账本上按验证算法核验某张收据
- 查询收据服务的服务信息
- 将已记录收据与 Base、Solana 上的 USDC 支出对账,把未匹配的付款标为例外
- 适用场景
- 适用于智能体会为 x402 资源付费、且你需要可审计的支出记录、给财务的月度报表,或向第三方证明某笔购买的场景。
- 运行要求
- 以 stdio 在本地运行,通常通过 npx 启动。可选设置 X402RECEIPTS_EVM_PRIVATE_KEY(持有 Base 上 USDC 的 0x 私钥)与 X402RECEIPTS_SOLANA_PRIVATE_KEY(持有 Solana 上 USDC 的 ed25519 私钥)。需要能访问服务端点的网络;无需 API key。
安装
在 SourceWeft 中
- 打开 控制台中的 x402receipts,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
x402receipts
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.
- Website: https://x402receipts.com · App: https://app.x402receipts.com · Live statement: https://app.x402receipts.com/demo
- Docs for agents: https://app.x402receipts.com/llms.txt · OpenAPI: https://app.x402receipts.com/openapi.json
- Price: USD 0.01 per agent wallet for each day it records purchases, paid over x402 in USDC (Base, Solana) by the agent's own wallet. A quiet day costs nothing, so a month never exceeds USD 0.31. Unlimited receipts. No API key.
Use it
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 format is an open standard
The record, its fingerprint, the append-only log above it, 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.
ARR-1 builds on existing standards rather than replacing them: the tree is the RFC 9162 profile used by Certificate Transparency, checkpoints are published as HCS-27 messages, accounts are named with CAIP-2/CAIP-10, and agents with HCS-14 identifiers.
In this repo
How it works
- Capture — the SDK records each paid call: resource, amount, counterparty, transaction reference, request/response fingerprints, delivery status, and the seller's signed receipt when it issues one (x402
offer-receipt). - Reconcile — the connected wallets are read on Base and Solana; every outgoing USDC payment is matched to a receipt. What doesn't match is an exception, not an average.
- Prove — each night, the account's whole receipt log is hashed into one RFC 9162 Merkle tree and its root is written to the Hedera Consensus Service, linked to the previous day's root. Every receipt has a public verification page that redoes the maths in the browser.
- Report — the owner signs in with the wallet: spend by supplier, the register, CSV and signed JSON export.
Guide: https://x402receipts.com/guide.html · Status: https://app.x402receipts.com/status · Contact: [email protected]
MIT licensed.
来源:README.md,提交 0dbd9eb
工具
0版本历史
1- v1.0.0最新Sep 27, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
