MCP server (Claude, Cursor, any MCP client)

Source: https://github.com/camerxnduff/x402-router-mcp (MIT). Official MCP Registry name: io.github.camerxnduff/x402-router. Also on Glama.

Install (uvx, no clone)

{
  "mcpServers": {
    "x402-router": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/camerxnduff/x402-router-mcp#subdirectory=mcp-server",
        "x402-router-mcp"
      ]
    }
  }
}

Install (Docker)

{
  "mcpServers": {
    "x402-router": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/camerxnduff/x402-router-mcp:latest"
      ]
    }
  }
}

Tools

ToolCost
search_x402_endpoints, route_x402_request, get_registry_stats, get_paid_route_requirementsfree
find_best_x402_endpoint0.01 USDC per call (calls /route/paid)
check_x402_endpoint0.002 USDC per call

The server holds no keys and never pays by default. Paid tools only pay if you install the [pay] extra and set X402_EVM_PRIVATE_KEY (use a dedicated low-balance wallet); X402_MAX_PAYMENT_USD caps each call (default 0.01). Without a key they return the price and payment requirements instead.

Test status (17 Nov 2026): the free tools are covered by the repo's CI smoke test (MCP handshake + tools/list). The paid MCP tools were not re-run today.

Prices: /route/paid 0.01 USDC, /check/paid 0.002 USDC, /route free. x402 v2 on Base (eip155:8453) or Solana. Machine-readable: OpenAPI · /.well-known/x402 · llms.txt