x402 Crypto MCP Server
This server provides AI agents with real-time crypto market data and DeFi analytics via MCP, operating on an x402 pay-per-call model (Base mainnet/USDC). It offers:
Live Prices:
crypto_pricesfor up to 20 tokens, sourced from CoinGecko with 60s cache.Market Sentiment:
market_sentimentfor Fear & Greed index and global market metrics.Funding Rates:
funding_ratefor Binance USDT perpetual futures.Technical Indicators:
technical_indicatorsfor RSI, MACD, EMA, SMA, volatility, ATR, and signals across timeframes.Market Overview:
market_overviewcombining BTC/ETH/SOL prices, sentiment, and BTC funding rate.DeFi Yields:
defi_yieldsfrom 40+ chains and 15,000+ pools, filterable by chain, project, APY, TVL, stablecoin.Gas Prices:
gas_pricefor 7 EVM chains (gwei/wei).Pool Metrics:
pool_metricsfor APY/TVL/fee snapshots on Aave V3/Uniswap V3 pools, with alerting capabilities.Fresh Markets:
fresh_markets/scan_new_pairsto discover new AMM pairs on DEXes.Data & Payment: Aggregates from CoinGecko, Binance, DeFiLlama, etc., with caching. Uses x402 payments; agents must handle 402 challenges for access. Supports STDIO and HTTP transports for integration with Claude Desktop, Cursor, and other MCP clients.
Provides funding rate and kline data from Binance USDT futures for crypto market analysis.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@x402 Crypto MCP ServerGive me a market overview for Bitcoin and Ethereum"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
x402 Crypto MCP Server
MCP server that aggregates 9 x402 crypto services as tools for AI agents:
prices, sentiment, funding rates, technical indicators, DeFi yields, gas prices,
pool metrics, and fresh market discovery — exposed as 20 stdio tools and 23 HTTP
tools (including the combined market_overview / get_market_overview, the
batch get_prices, raw OHLCV candle_history / get_candles, top movers
top_movers / get_top_movers, token conversion convert / get_conversion,
transaction status tx_status / get_tx_status + solana_tx_status /
get_solana_tx_status, wallet balances wallet_balance / get_wallet_balance
solana_balance/get_solana_balance, the Fear & Greed seriesfng_history/get_fng_history, and open interestopen_interest/get_open_interest).
Tools (STDIO Transport)
Tool | Description | Service |
| Live USD prices for 20+ tokens | multi-chain-price-oracle |
| Top 24h gainers and losers by market cap | multi-chain-price-oracle |
| Convert amount between two tokens (live prices) | multi-chain-price-oracle |
| EVM tx status: landed/confirmed/failed/pending (6 chains) | tx-status-oracle |
| Solana tx status: confirmed/failed/not_found | tx-status-oracle |
| EVM wallet native balance (ETH, 6 chains) | tx-status-oracle |
| Solana wallet SOL balance | tx-status-oracle |
| Validate ERC-20: symbol, name, decimals, supply | tx-status-oracle |
| ERC-20 balance of a wallet (decimals-aware, e.g. USDC) | tx-status-oracle |
| Fear & Greed index + global market metrics | crypto-market-sentiment |
| Fear & Greed daily series (1-90 days) + trend signals | crypto-market-sentiment |
| Perp open interest (contracts + USD value) | crypto-market-sentiment |
| Perp funding rate from Binance USDT futures | crypto-market-sentiment |
| RSI, MACD, EMA, SMA, volatility, ATR + signals | technical-indicators-oracle |
| Raw OHLCV candles (open, high, low, close, volume, timestamp) | technical-indicators-oracle |
| Combined: prices + sentiment + funding in one call | all 3 services |
| Top DeFi yields across 40+ chains (15,000+ pools) | defi-yield-aggregator |
| Gas prices on 7 EVM chains (gwei/wei) | multi-chain-gas-oracle |
| APY/TVL snapshots for Aave V3 / Uniswap V3 pools | yield-pool-watcher |
| New AMM pairs in the last N minutes | fresh-markets-watch |
Related MCP server: x402-bazaar-mcp
Tools (HTTP Transport - Vercel/Smithery)
Tool | Description | Service |
| Get current price for any token on supported chains | multi-chain-price-oracle |
| Batch: current prices for up to 20 tokens in one call | multi-chain-price-oracle |
| Top 24h gainers and losers by market cap | multi-chain-price-oracle |
| Convert amount between two tokens (live prices) | multi-chain-price-oracle |
| EVM tx status via x402 (6 chains) | tx-status-oracle |
| Solana tx status via x402 | tx-status-oracle |
| EVM wallet balance (ETH) via x402 | tx-status-oracle |
| Solana wallet SOL balance via x402 | tx-status-oracle |
| ERC-20 token metadata via x402 | tx-status-oracle |
| ERC-20 wallet balance via x402 | tx-status-oracle |
| Fear & Greed Index (Alternative.me) | crypto-market-sentiment |
| Fear & Greed daily series (1-90 days) + trend | crypto-market-sentiment |
| Perp open interest (contracts + USD value) | crypto-market-sentiment |
| Perpetual funding rates across exchanges | crypto-market-sentiment |
| RSI, MACD, EMA, SMA for any symbol/timeframe | technical-indicators-oracle |
| Raw OHLCV candle history (up to 500 candles) | technical-indicators-oracle |
| Supply/borrow APY across protocols | defi-yield-aggregator |
| EIP-1559 gas fees for EVM chains | multi-chain-gas-oracle |
| Gas prices for multiple EVM chains at once | multi-chain-gas-oracle |
| Yield pool APY/TVL/fee metrics across DEXes | yield-pool-watcher |
| Pool alerts (APY spikes, new pools, TVL changes) | yield-pool-watcher |
| Discover new AMM pairs on DEXes | fresh-markets-watch |
| Combined: BTC/ETH/SOL prices + Fear & Greed + BTC funding in one call | all 3 services |
Install
npx x402-crypto-mcpOr globally:
npm install -g x402-crypto-mcpUse in Claude Desktop / Cursor / any MCP client
{
"mcpServers": {
"x402-crypto": {
"command": "npx",
"args": ["x402-crypto-mcp"]
}
}
}For HTTP transport (Vercel/Smithery):
{
"mcpServers": {
"x402-crypto": {
"url": "https://x402-mcp-server-o8wskr5pr-yunares-projects.vercel.app/api/mcp"
}
}
}x402 Payments
All backend services use x402 pay-per-call on Base mainnet (USDC). The MCP server returns 402 challenges with payment details when you need to pay. Your agent must handle x402 payments to access the data.
Data Sources
CoinGecko (prices) — free, 60s cache
Binance (funding rates, klines) — free
Alternative.me (Fear & Greed) — free
DeFiLlama (yields) — free, 5min cache
Public RPCs (gas) — free, 30s cache
The Graph (pool metrics) — free
EVM RPCs (new pairs) — free
GitHub
Maintenance
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server for pay-per-call DeFi and crypto data via x402 micropayments on Base. 8 endpoints: token prices, TVL, funding rates, token security, gas tracker, whale monitoring, wallet profiling, and yield scanning.846MIT
- AlicenseBqualityAmaintenanceMCP server exposing x402 Bazaar's paid Base APIs (token risk/honeypot, prices, gas, wallet intel, tx decode + AI utilities) as agent tools. Your agent pays per call in USDC over x402 — no API keys, no signup.17218MIT
- AlicenseNot gradedqualityCmaintenanceMCP server that provides AI agents with pay-per-call access to a suite of tools (honeypot check, token market, DeFi yields, etc.) via USDC on Base using the x402 protocol.23MIT
- AlicenseNot gradedqualityDmaintenanceMCP server providing 50+ crypto, market intelligence, and AI inference endpoints with x402 pay-per-request micropayments on Base.1Apache 2.0
Related MCP Connectors
Monetize any MCP server: x402 paywall, pay-per-call billing in USDC on Base, agent marketplace.
Crypto data for AI agents via x402. 31 tools, 4 free. Recorded history, anchored daily on Base.
63 pay-per-call tools for agents: vision, text, data, web, blockchain. USDC on Base via x402.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yunaremaia/x402-crypto-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server