Receipts for AI agents
Verified-buyer answers over MCP or plain HTTPS, paid per call in USDC over x402 on Base. No account needed.
MCP
Streamable HTTP endpoint. Paid tools answer with x402 payment requirements; an x402-capable MCP client signs a USDC authorization and retries.
https://hackerhousegoa-receipts.vercel.app/mcp
Claude Code:
claude mcp add --transport http receipts https://hackerhousegoa-receipts.vercel.app/mcp
MCP clients that cannot pay: run the local bridge, which pays from your agent wallet within a budget.
RECEIPTS_API_URL=https://hackerhousegoa-receipts.vercel.app AGENT_PRIVATE_KEY=0x... AGENT_BUDGET_USDC=0.10 \ pnpm --dir apps/mcp bridge
HTTPS with x402
The first request returns 402 with the price in the PAYMENT-REQUIRED header; the x402 fetch wrapper pays and retries.
import { wrapFetchWithPaymentFromConfig } from '@x402/fetch';
import { ExactEvmScheme } from '@x402/evm/exact/client';
import { privateKeyToAccount } from 'viem/accounts';
const account = privateKeyToAccount(process.env.AGENT_PRIVATE_KEY);
const pay = wrapFetchWithPaymentFromConfig(fetch, {
schemes: [{ network: 'eip155:84532', client: new ExactEvmScheme(account) }],
spendControls: { maxAmountPerPayment: '$0.01' },
});
const res = await pay('https://hackerhousegoa-receipts.vercel.app/v1/answer?q=' + encodeURIComponent('best veg biryani under ₹400 near Calangute'));
console.log(await res.json());Free for anyone: https://hackerhousegoa-receipts.vercel.app/v1/receipts/{uid}/verify
Pay by card instead
Prepaid credits with an API key, for teams without a wallet. Send it as a Bearer token to the same endpoints.
70% of what agents pay goes to the reviewers whose reviews the answer cited. Every claim links to its receipts: cite them when you relay an answer.