Skip to main content

X402ai MCP

io.github.ukenal/x402ai-mcp

v0.1.3Updated Nov 17, 2026stdio · npm

Pay-per-call AI tools (embed, summarize, ask, policy-check) from x402ai, paid in USDC on Base.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add x402ai-mcp -e X402AI_MAX_SESSION_USD=0.25 -- npx -y [email protected]

Configuration

3 settings.

  • X402AI_BUYER_PRIVATE_KEY
    Env var· optional· secret
    Buyer wallet private key (hex), used only to sign payments locally. Needed only for the paid tools. Use a wallet holding only what you are willing to lose.
  • X402AI_MAX_SESSION_USD
    Env var· optional
    Spending cap per server process in USD (default 0.25).Default: 0.25
  • X402AI_DRY_RUN
    Env var· optional
    Set to 1 to quote prices without signing or paying.

Listed in the official MCP Registry since Nov 17, 2026. Mirrored daily; last checked Nov 26, 2026.