Accounting infrastructure for autonomous spending — every x402 purchase an agent makes becomes a reconciled, auditable receipt. SDK, MCP server, examples.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
claude mcp add x402receipts -- npx -y x402receipts-mcp{
"mcpServers": {
"x402receipts": {
"command": "npx",
"args": ["-y", "x402receipts-mcp"]
}
}
}MCP Servers overview
# 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 1 per agent wallet per calendar month**, paid over x402 in USDC (Base, Solana) by the agent's own wallet. Unlimited receipts. No API key.
## Use it
**In code — one wrapper around the fetch your agent already pays with** (`npm i x402receipts-sdk`):
```ts
import { wrapFetchWithPayment } from "@x402/fetch";
import { withRegister } from "x402receipts-sdk";
const register = withRegister(fetch, { endpoint: "https://app.x402receipts.com", payWith: () => pay });
const pay = wrapFetchWithPayment(register, wallet);
```
**As an MCP server** (`npx -y x402receipts-mcp`): `record_receipts`, `verify_receipt`, `service_info`. See [`packages/mcp`](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](https://x402receipts.com/#prompt) into Claude Code or Cursor.
## In this repo
| Path | What |
|---|---|
| [`sdk/`](sdk) | the `x402receipts-sdk` npm package (single file, no dependencies) |
| [`packages/mcp/`](packages/mcp) | the `x402receipts-mcp` MCP server |
| [`examples/`](examples) | plain Node, Vercel AI SDK, LangChain, OpenAI Agents |
| [`integrations/agentkit/`](integrations/agentkit) | Coinbase AgentKit action provider |
| [`integrations/x402-ecosystem/`](integrations/x402-ecosystem) | x402.org ecosystem entry |
## How it works
1. **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`).
2. **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.
3. **Prove** — each night, each account's receipts form a group; the group's Merkle root is written to the Hedera Consensus Service with a link to the group page. Every receipt has a public verification page that redoes the maths in the browser.
4. **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: hello@x402receipts.com
MIT licensed.
What people ask about x402receipts
What is x402receipts/x402receipts?
+
x402receipts/x402receipts is mcp servers for the Claude AI ecosystem. Accounting infrastructure for autonomous spending — every x402 purchase an agent makes becomes a reconciled, auditable receipt. SDK, MCP server, examples. It has 0 GitHub stars and its last recorded update is dated 2026-09-27.
How do I install x402receipts?
+
You can install x402receipts by cloning the repository (https://github.com/x402receipts/x402receipts) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is x402receipts/x402receipts safe to use?
+
Our security agent has analyzed x402receipts/x402receipts and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains x402receipts/x402receipts?
+
x402receipts/x402receipts is maintained by x402receipts. The last recorded GitHub activity is dated 2026-09-27, with 0 open issues.
Are there alternatives to x402receipts?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy x402receipts to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/x402receipts-x402receipts)<a href="https://claudewave.com/repo/x402receipts-x402receipts"><img src="https://claudewave.com/api/badge/x402receipts-x402receipts" alt="Featured on ClaudeWave: x402receipts/x402receipts" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
The fastest path to AI-powered full stack observability, even for lean teams.