
Mcp Server
Wire Claude Code to true402’s pay-per-call stack (LLM, web, SEO, extract, token checks) with USDC x402 on Base instead of juggling separate API keys and billing.
Overview
dev.true402/mcp-server is a Build-phase MCP server that connects coding agents to pay-per-call AI, web, SEO, extract, and token-safety tools settled with USDC on Base via x402.
What is this MCP server?
- Pay-per-call x402 settlement in USDC on Base with optional auto-sign via WALLET_PRIVATE_KEY
- Client-side MAX_PAYMENT_USDC ceiling (default 0.10) blocks oversized 402 responses
- HTTPS-only SERVER_URL policy for payment signing over non-localhost endpoints
- Bundled tool families: LLM, SEO, web extract, and on-chain token safety
- Without a funded wallet key, paid tools return 402 requirements instead of charging silently
- Default MAX_PAYMENT_USDC client ceiling: 0.10 USDC per call
- Default API base: https://true402.dev/api
- Registry version: 0.7.0
What problem does it solve?
Solo builders wiring agents to many paid APIs struggle with separate billing, keys, and safe spend limits on unfamiliar endpoints.
Who is it for?
Indie agent workflows that want metered access to LLM/web/SEO/on-chain checks on Base without monthly bundles.
Skip if: Teams that need flat-rate unlimited inference, no crypto wallet, or production spend without explicit payment governance.
What do I get? / Deliverables
After install, your agent can invoke true402 tools with optional auto-pay under a USDC per-call cap, or inspect 402 requirements without signing.
- Agent-callable true402 tool surface over MCP stdio
- 402 payment requirements or signed paid tool responses within MAX_PAYMENT_USDC
Recommended MCP Servers
Journey fit
How it compares
Pay-per-call x402 MCP gateway, not a single-purpose free scraper or local Ollama skill.
Common Questions / FAQ
Who is dev.true402/mcp-server for?
Solo and indie builders using Claude Code or Claude Desktop who want one MCP for metered AI, web, SEO, and token-safety calls on true402.
When should I use dev.true402/mcp-server?
Use it during Build and Launch when you need agent-callable tools and prefer USDC per-call pricing with an optional wallet signer and spend ceiling.
How do I add dev.true402/mcp-server to my agent?
Install the npm package @true402.dev/mcp-server, add it as a stdio MCP server, set SERVER_URL and MAX_PAYMENT_USDC, and optionally WALLET_PRIVATE_KEY for auto-pay on 402 responses.