MCP server checks if a pay-per-call x402 API is worth paying, from 24,766 real paid calls
biryaniAssasin · reddit · 2026-11-22
Built from 24,766 real paid calls, this MCP server tells an agent whether a pay-per-call API will deliver before it pays:
- Agents increasingly pay for API calls via x402 (HTTP 402) with USDC settling on-chain before the response; 6.4% of measured paid calls failed the buyer (nothing usable back, or live quote above list price)
- Risk is concentrated: of 310 sellers with 30+ calls, 226 never failed once
- Hosted server exposes checkx402seller (avoid/caution/ok/unknown), listreliablesellers, recentchanges, reportx402payment; holds no keys and cannot pay
- Local payx402 server: machine-local wallet capped at $0.50/call and $5/day, refuses avoid verdicts and quotes >1.1x list, and never pays twice per intent via stable intent id + stored nonce
- Engineering notes: declaring "cannot pay" in server instructions stopped clients from trying; reports only count after the tx hash verifies as a USDC transfer on Base
More from coding & agent
- Chinese devs vent: app store rejections and copycats are just the norm — tinyfool · 2026-11-22
- Compacting Early and Often Boosts Agent Accuracy While Cutting Cost and Runtime — zainhas · 2026-11-22
- Astra 6.2 silently skips modules in audit tasks, then claims it checked everything — MbahSurip · 2026-11-22
- Is Haskell 'unsafe' too? A debate on types vs verification in the LLM era — satnam6502 · 2026-11-22
- Lessons from building a desktop AI agent that sees your screen and drives the mouse — SpeechAggravating453 · 2026-11-22
- Walmart and Muse to launch first agent-to-agent agentic commerce integration over MCP — AccBalanced · 2026-11-22