crypto-data-x402-mcp
June 12, 2026 · View on GitHub
MCP server giving your agent live crypto prices and DeFi yields, paid per-call in USDC via x402 — no account, no API-key signup, no subscription. $0.002/call on Base (Solana also accepted by the API).
Backed by the Crypto Data Agent (x402 Bazaar-listed). Data: DefiLlama, cached, agent-shaped JSON.
Tools
| Tool | Cost | What |
|---|---|---|
get_crypto_prices | $0.002 | USD prices for up to 25 coins (coingecko:ethereum, base:0x…) |
get_defi_yields | $0.002 | Top DeFi pools by APY/TVL — filter by chain, TVL, stablecoin |
get_sample_prices | free | Live demo (ETH/BTC) of the paid response shape |
Setup (Claude Code / Claude Desktop / Cursor)
{
"mcpServers": {
"crypto-data": {
"command": "npx",
"args": ["-y", "crypto-data-x402-mcp"],
"env": { "EVM_PRIVATE_KEY": "0x<dedicated-wallet-key>" }
}
}
}
The wallet needs USDC on Base (gas is sponsored by the x402 facilitator —
no ETH required). Use a dedicated wallet with a few dollars, never your main
key. Without EVM_PRIVATE_KEY the free sample tool still works.
Why pay per call?
Agent-native pricing: 1,000 calls = $2, no signup, no monthly minimum, wallet = identity. The x402 payment is signed locally by this process; your key never leaves your machine.
License
MIT