MCP directory
XA

X402 Api

by github.com/fernsugi · v1.0.5 · updated Sep 30, 2026

Eight paid DeFi tools: prices, gas, swaps, token security, holders, yields, funding and wallets

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @x402-api/[email protected]

Environment variables

  • X402_API_BASE_URL

    x402 API base URL (default: https://x402-api.fly.dev)

  • X402_WALLET_PRIVATE_KEYsecret

    Base wallet private key for optional EIP-3009 auto-pay. Default mode inspects payment requirements without paying.

  • X402_MAX_PER_CALL_USDC

    Maximum USDC allowed per automatic tool call (default: 0.01)

  • X402_REFERRAL_SOURCE

    Optional referral label: github, glama, nohumans, bazaar, mcp, eliza, demo or test. Default mcp.

  • X402_EXPECTED_PAY_TO

    Expected payment recipient; defaults to the official x402-api wallet. Change only when using a trusted alternative deployment.

More MCP servers