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_KEYEnv var· optional· secretBuyer 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_USDEnv var· optionalSpending cap per server process in USD (default 0.25).Default:0.25X402AI_DRY_RUNEnv var· optionalSet to 1 to quote prices without signing or paying.
Links
Listed in the official MCP Registry since Nov 17, 2026. Mirrored daily; last checked Nov 26, 2026.