x402-crypto-mcp

v1.3.7
io.github.yunaremaia/x402-crypto-mcp Checked 3 days ago Published 3 months ago

Crypto market data via x402: prices, convert, indicators, yields, gas, tx status, balances, ENS.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

crypto_prices

Get live USD prices for crypto tokens (BTC, ETH, SOL, USDC, etc.). Returns current price in USD. Free data from CoinGecko with 60s cache.

ParameterTypeDescription
symbols *arrayToken symbols, e.g. ['BTC', 'ETH', 'SOL']

top_movers

Get top 24h gainers and losers by market cap from CoinGecko — for fresh market discovery.

ParameterTypeDescription
limitinteger

convert

Convert an amount between two tokens using live prices (e.g. 0.5 BTC to USDC).

ParameterTypeDescription
amount *numberAmount to convert
from *stringSource token: BTC, ETH, SOL...
to *stringTarget token: USDC, ETH, SOL...

token_profile

Get a token profile by contract address via DexScreener: price, liquidity, volume, FDV, price change, chains, pairs. Supports EVM (0x + 40 hex) and Solana (base58) addresses — the 'is this token real and liquid?' check.

ParameterTypeDescription
address *stringToken contract address — EVM (0x...40 hex) or Solana (base58 mint)

tx_status

Check if an EVM on-chain payment landed (base, ethereum, polygon, arbitrum, optimism, bsc). Critical before fulfilling a service.

ParameterTypeDescription
chain *stringChain: base, ethereum, polygon, arbitrum, optimism, bsc
tx_hash *stringEVM transaction hash (0x...)

solana_tx_status

Check if a Solana on-chain payment landed (confirmed/failed/not_found).

ParameterTypeDescription
signature *stringSolana transaction signature

wallet_balance

Get native token balance (ETH) of an EVM wallet on a supported chain (base, ethereum, polygon, arbitrum, optimism, bsc).

ParameterTypeDescription
address *stringEVM wallet address (0x...)
chain *stringChain: base, ethereum, polygon, arbitrum, optimism, bsc

solana_balance

Get SOL balance of a Solana wallet.

ParameterTypeDescription
address *stringSolana wallet address

token_info

Validate an ERC-20 token on-chain: symbol, name, decimals, total supply (base, ethereum, polygon, arbitrum, optimism, bsc).

ParameterTypeDescription
chain *stringChain: base, ethereum, polygon, arbitrum, optimism, bsc
token_address *stringERC-20 token contract address (0x...)

token_balance

Get the ERC-20 token balance of a wallet (decimals-aware) — e.g. USDC balance on Base.

ParameterTypeDescription
address *stringWallet address (0x...)
chain *stringChain: base, ethereum, polygon, arbitrum, optimism, bsc
token_address *stringERC-20 token contract (0x...)

ens_reverse

Reverse ENS lookup — resolve an address to its .eth name (identity check / anti-phishing).

ParameterTypeDescription
address *stringEVM address (0x...)
chain *stringChain: base, ethereum, polygon, arbitrum, optimism, bsc

block_height

Current block height / slot for a chain (EVM or Solana) — sync state or check chain liveness.

ParameterTypeDescription
chain *stringChain: base, ethereum, polygon, arbitrum, optimism, bsc, solana

ens_resolve

Forward ENS resolution — resolve a .eth name to its address (who do I pay?).

ParameterTypeDescription
chain *stringChain: base, ethereum, polygon, arbitrum, optimism, bsc
ens_name *stringENS name, e.g. vitalik.eth

market_sentiment

Get crypto market sentiment: Fear & Greed index (0-100) + global market metrics (total cap, BTC/ETH dominance).

fng_history

Get Fear & Greed daily history series (1-90 days) with trend signals — for market-regime detection.

ParameterTypeDescription
daysintegerNumber of daily readings

open_interest

Get perp open interest (contracts + USD value) from Binance Futures — confirms position strength.

ParameterTypeDescription
symbol *stringBase symbol: BTC, ETH, SOL, etc.

funding_rate

Get perp funding rate for a crypto symbol from Binance USDT futures. Positive = longs pay shorts (bullish bias).

ParameterTypeDescription
symbol *stringBase symbol: BTC, ETH, SOL, etc.

technical_indicators

Get technical analysis indicators: RSI(7/14), MACD, EMA(20/50), SMA(20/50), volatility, ATR + trend/momentum signals. From Binance klines.

ParameterTypeDescription
symbol *stringBase symbol: BTC, ETH, SOL, etc.
intervalstringKline interval

candle_history

Get raw OHLCV candle history (open, high, low, close, volume, timestamp) from Binance klines.

ParameterTypeDescription
symbol *stringBase symbol: BTC, ETH, SOL, etc.
intervalstringKline interval
limitintegerNumber of candles (1-500)

market_overview

Quick market overview: BTC/ETH/SOL prices + Fear & Greed + BTC funding rate in one combined call.

defi_yields

Get top DeFi yields across 40+ chains (DeFiLlama, 15,000+ pools). Filter by chain, project, symbol, min APY, min TVL, stablecoins.

ParameterTypeDescription
chainstringChain: Ethereum, Arbitrum, Solana, Base...
limitnumberMax results (1-50)
minApynumberMinimum APY percentage
minTvlnumberMinimum TVL in USD
projectstringProtocol: lido, aave, uniswap...
stablecoinsbooleanOnly stablecoin pools
symbolstringToken symbol: USDC, ETH, SOL...

gas_price

Get current gas price on an EVM chain. Returns gwei and wei values.

ParameterTypeDescription
chain *stringChain: ethereum, base, arbitrum, optimism, polygon, bsc, avalanche

yield_pool_metrics

Get APY/TVL metrics for Aave V3 and Uniswap V3 pools. Returns pool snapshots with APY, TVL, and 24h deltas.

ParameterTypeDescription
pool_idsarrayOptional pool IDs to filter
protocolsarrayProtocols to query (default: both)

fresh_markets

List new AMM pairs/pools created in the last N minutes (Uniswap V2, PancakeSwap, SushiSwap factories). For discovery bots and yield scouts.

ParameterTypeDescription
chainstringChain to scan (default: all)
limitintegerMax pairs to return (default: 20)
window_minutesintegerTime window in minutes (default: 5)