OfficialLocalPaid service

X402 MCP server

x402node/x402-mcp

Exposes x402-paid APIs discovered from Coinbase Bazaar, handling USDC micropayments on Base.

1 GitHub stars149 npm downloads / month

Install X402 in Claude Code

Claude Code
claude mcp add x402 -e X402_PRIVATE_KEY=... -- npx -y x402node-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "x402": {
      "command": "npx",
      "args": [
        "-y",
        "x402node-mcp"
      ],
      "env": {
        "X402_PRIVATE_KEY": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the X402 MCP server do?

Exposes x402-paid APIs discovered from Coinbase Bazaar, handling USDC micropayments on Base.

Is the X402 MCP server free?

Probably not entirely. The listing mentions pay-per-call, credits or a subscription. Check the provider for current pricing.

Does X402 run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add X402 to Claude Code?

Run: claude mcp add x402 -e X402_PRIVATE_KEY=... -- npx -y x402node-mcp

More developer tools MCP servers

View all