SSyncDev

X402 MCP Server

DeFi data API for AI agents — pay-per-call via x402/USDC on Base

Local serverstdio

What is the X402 MCP Server?

DeFi data API for AI agents — pay-per-call via x402/USDC on Base

What it actually does

Just run it — any 402 responses will return human-readable payment instructions:

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
get_crypto_pricesGET /api/price-feed
get_gas_pricesGET /api/gas-tracker
get_dex_quotesGET /api/dex-quotes
scan_tokenGET /api/token-scanner
track_whalesGET /api/whale-tracker
scan_yieldsGET /api/yield-scanner
get_funding_ratesGET /api/funding-rates
profile_walletGET /api/wallet-profiler

How to install the X402 MCP Server

claude mcp add x402-api --env X402_WALLET_PRIVATE_KEY=your-value --env X402_API_BASE_URL=your-value -- npx -y @x402-api/mcp-server

Configuration

VariableDescriptionRequired
X402_WALLET_PRIVATE_KEYCredential the server authenticates with.Yes
X402_API_BASE_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • “Use X402 to get crypto prices.”
  • “Use X402 to get gas prices.”
  • “Use X402 to get dex quotes.”

Frequently asked questions

DeFi data API for AI agents — pay-per-call via x402/USDC on Base Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.