@jmthomasofficial/x402-mcp-server
v2.0.1
Published
MCP server that lets Claude, Cursor, LangChain and CrewAI call 35 live x402 pay-per-call tools on Base (USDC) with no API key. Agents auto-pay per call via the x402 v2 protocol using their own funded wallet: cited SEC EDGAR company data, RDAP domain-trust
Maintainers
Readme
x402 MCP Server — 35 live pay-per-call agent tools on Base (USDC)
Wrap JMT x402 Agent Tools — 35 real pay-per-call APIs (25 x402 v1 + 10 x402 v2) on Base mainnet (USDC) — as MCP tools for any MCP-compatible agent (Claude, GPT, Codex, Gemini, LangChain, Cursor, etc).
Payment IS authentication. No API key. You bring your own payer wallet funded with USDC.
What it does
When your agent calls a tool, the server hits the JMT x402 proxy. If it gets 402 Payment Required,
it pays from your wallet and retries — your agent just gets the result. Every call is a real
on-chain USDC settlement on Base mainnet.
Install (30 seconds)
git clone https://github.com/jmthomasofficial/x402-mcp-server && cd x402-mcp-server
npm install
export JMT_X402_PRIVATE_KEY=0xYOUR_BASE_WALLET_PRIVATE_KEY # funded with USDC on Base
node src/index.jsThen point your MCP client at node /abs/path/to/x402-mcp-server/src/index.js.
Prefer the lowest-friction buyer path? Use the Coinbase Agentic Wallet MCP:
npx @coinbase/payments-mcp, sign in with email, fund USDC, set a spending limit, then
npx awal x402 bazaar search "domain trust" — your agent discovers and pays JMT with no key file.
Tools (35)
Sourced answers, company intel, SEC filing analysis, news briefings, social sentiment, macro/market
pulse, crypto/stock research, competitor analysis, domain trust scoring, regulatory monitoring, web
search, URL extract, summarize, analyze, deep research, live prices, EDGAR lookup, WHOIS/RDAP,
Treasury yields, gas snapshots, hashing, JSON→CSV, text diff — plus 10 v2 flagship routes
(/v2/api/*, x402 v2, Base mainnet eip155:8453).
Prices range $0.001–$0.15/call (v1 research tools $0.03–$0.15; v2 flagship $0.002–$0.010).
See /api/pricing on the live server for the exact, current price of every route.
Live proof
- Manifest: https://jmt-x402-proxy.jmthomasofficial.workers.dev/.well-known/x402
- Pricing: https://jmt-x402-proxy.jmthomasofficial.workers.dev/api/pricing
- OpenAPI: https://jmt-x402-proxy.jmthomasofficial.workers.dev/openapi.json
- Live demo (operator-funded integration proof — NOT third-party revenue): https://jmt-x402-proxy.jmthomasofficial.workers.dev/api/demo-agent
Security
- Your private key never leaves your machine. It is only used to sign x402 payment authorizations.
- Set a per-wallet spend limit. The server uses EIP-3009 gasless transferWithAuthorization — you pay only the per-call price, never gas.
- Keys are never logged.
How agents buy JMT (no API key)
See BUYERS.md for the fastest path: Coinbase Agentic Wallet MCP (npx @coinbase/payments-mcp,
set a spending limit, npx awal x402 bazaar search "company intelligence") or bring-your-own payer key.
