onchainexpat

Open-Source MCP Server

Give your AI agent a wallet.

One command installs a self-custodial USDC wallet. Your agent pays x402 endpoints automatically—no API keys, no accounts, no config.

x402 is an open payment protocol · USDC is a dollar-pegged stablecoin · Base is Coinbase's Ethereum L2

terminal
$

Works with Claude Code, Cursor, Windsurf, Claude Desktop, and OpenClaw. Claude Desktop setup guide →

Self-custodial

Your keys never leave your machine. Export anytime. No seed phrases, no extensions.

Zero config

One command to install. No API keys, no signup, no OAuth. Works out of the box.

Coinbase Onramp

Fund with debit card or Apple Pay. No exchange account. Your agent handles it.

How It Works

Three steps to a funded agent.

01

Install

One command adds the wallet MCP server to your editor.

claude mcp add x402-wallet -- npx x402-wallet-mcp@latest
02

Fund

Buy USDC via Coinbase Onramp, Peer, or transfer on Base. Just ask your agent.

03

Use

Ask anything. Your agent calls x402 endpoints and pays automatically. Sub-penny pricing.

Setup

Install in one minute.

terminal
claude mcp add x402-wallet -- npx x402-wallet-mcp@latest

Restart Claude Code. That's it.

npm downloadsGitHub stars

What You Can Do

Just ask your agent.

Install the wallet, then say any of these in Claude. Your agent handles the rest.

Pay for any x402 API

Call a paid endpoint and your wallet handles the rest. No API keys, no accounts.

What's the weather in Tokyo?$0.01

Check your balance

See how much USDC is in your wallet and your deposit address.

What's my wallet balance?

Browse available APIs

Discover x402 endpoints you can call — search by category or keyword.

Find me crypto price APIs

Set spending limits

Cap per-call and daily spend so your agent never overpays.

Set my daily cap to $5

Fund your wallet

Buy USDC with a debit card or Apple Pay via Coinbase. No exchange account needed.

Fund my wallet with $10

Review an endpoint

Probe any x402 endpoint to see its price and capabilities before paying.

Review this endpoint: x402.org/weather

You approve every payment. Your agent asks, you confirm. No surprises.

Verified On-Chain Identity

Agent #22778

ERC-8004 on Ethereum

80.62

Reputation Score

Protocols

x402MCPA2A

Chains

BaseSolana