mcp-server

v1.2.0
io.github.bitcompare/mcp-server Checked 2 hours ago Published 18 days ago

Crypto yield data for AI agents: lending, savings, staking, borrowing & stablecoin rates.

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

get_rates Get current rates

List current rates across providers, optionally filtered by symbol, category, or provider. For "what is the best yield on BTC right now?" style questions, ALWAYS pass category="lending"/"borrowing"/"staking" — an unfiltered call mostly returns spot prices (category="price"), not yields.

ParameterTypeDescription
categorystringFilter by product category. IMPORTANT for yield questions: without this filter, most returned rows are category="price" (spot prices), not yields. Pass category="lending", "borrowing", or "staking" to…
limitintegerMax results, default 100
providerstringFilter by provider slug, case-insensitive
symbolstringFilter by coin symbol, case-insensitive (e.g. "btc" or "BTC")

get_rate_by_symbol Get rates for a single symbol

Fetch all provider rates for a specific coin symbol. Optionally filter by category — pass category="lending"/"borrowing"/"staking" for yield questions, since unfiltered results mix in spot prices (category="price").

ParameterTypeDescription
symbol *stringCoin symbol, case-insensitive (e.g. "btc" or "eth")
categorystringFilter to a single product category. Without it, results mix spot prices (category="price") in with yields — pass "lending"/"borrowing"/"staking" for yield-only results.

get_rate_history Historical rates

Historical rate timeseries for a symbol. Recent history (~30 days) is per-tick; older history is daily granularity. Depth is clamped to your plan (up to 365 days on Pro) and bounded by how far back data has been recorded. (Current plan: up to 7 days of history.)

ParameterTypeDescription
symbol *stringCoin symbol, case-insensitive
daysintegerDays of history. Clamped server-side to your plan (Free 7, Starter 30, Growth 90, Pro 365, Enterprise 1825) and bounded by available data. Points within ~30 days are per-tick; older points are daily.
providerstringProvider slug to scope to, case-insensitive

list_providers List rate providers

All rate providers, optionally filtered by product category.

ParameterTypeDescription
categorystringFilter to providers that offer this category
limitintegerMax results, default 100

get_coin Get coin metadata

Full metadata for a coin: description, links, categories, market data, developer stats.

ParameterTypeDescription
coinId *stringCanonical coin id or slug (e.g. "bitcoin")

list_coins List coins

Paginated list of coins with optional name/symbol search.

ParameterTypeDescription
limitintegerPage size, default 20
pageintegerPage, default 1
searchstringSearch by name or symbol

top_coins Top coins by market cap

Top N coins ordered by market capitalisation.

ParameterTypeDescription
limitintegerNumber of coins, default 100

similar_coins Similar coins

Coins related to the given coin by category/sector similarity.

ParameterTypeDescription
coinId *stringCanonical coin id to find related coins for (e.g. "bitcoin")
limitintegerMax related coins to return, default 10

coin_history Historical coin price chart

Historical price timeseries for a coin. Requests use the nearest 1, 7, 30, 90 or 365-day window (default 7), bounded by available data. Requires a paid plan (Starter or above) over MCP; this endpoint does not apply the rate-history per-plan day clamp.

ParameterTypeDescription
coinId *stringCanonical coin id (e.g. "bitcoin")
daysintegerRequested days, rounded to the nearest supported window: 1, 7, 30, 90 or 365 days (default 7). Requests above 365 use 365; available data may be shorter.

get_price Aggregated exchange price

Current aggregated price for one or more symbols, computed from multiple exchange feeds.

ParameterTypeDescription
symbols *Single symbol or array of symbols (e.g. "btc" or ["btc","eth"])
vsstringQuote currency, default "usd"

get_price_by_symbol Aggregated price for a single symbol

Aggregated exchange price for one symbol, plus the raw per-provider prices that fed the aggregate. Use get_price for multiple symbols in one call.

ParameterTypeDescription
symbol *stringSingle coin symbol, e.g. "btc"
regionstringOptional region filter for provider selection
vsstringQuote currency, default "usd"

market_summary Global market summary

One-call summary of total market cap, 24h volume, BTC/ETH dominance, and recent trend.

fear_greed_index Fear & Greed index

Current Fear & Greed index value and historical trend.

top_movers Top gainers/losers

Biggest 24h gainers and losers within a rank segment.

ParameterTypeDescription
limitintegerNumber of gainers and losers to return on each side, default 10
segmentstringRank segment, default "top100"

stablecoin_index Stablecoin stability leaderboard

Ranked stablecoin leaderboard with stability scores, peg deviation, and market cap.

ParameterTypeDescription
limitintegerDefault 50

stablecoin_peg_stability Stablecoin peg stability

Peg deviation history and stability stats for a stablecoin.

ParameterTypeDescription
symbol *stringStablecoin symbol (e.g. "usdt", "usdc")
periodstringStability window, default "30d"

resolve_symbol Resolve symbol to canonical coin

Map an exchange-specific or ambiguous symbol to bitcompare's canonical coin id. Useful when an exchange uses a non-standard ticker.

ParameterTypeDescription
symbol *stringExchange-specific or ambiguous symbol
contextstringSource exchange or quote currency to disambiguate (e.g. "kraken", "binance")

resolve_symbols_batch Batch resolve symbols

Resolve up to 100 symbols in a single request. Requires a plan with bulk endpoints enabled. Your current plan does not include bulk endpoints — calls will return 403.

ParameterTypeDescription
symbols *arrayUp to 100 symbols to resolve in a single request
contextstringSource exchange or quote currency applied to every input symbol

stablecoin_earn_benchmark Bitcompare Earn Index (BEI-Stable)

The Bitcompare Earn Index for stablecoins: median USDC/USDT lending APY across servable providers, with CeFi/DeFi splits, TVL-weighted variant, deltas, and an immutable daily history. Use for "what does stablecoin yield pay right now / how has it trended?" — this is the citable market reference, not a single provider quote.

ParameterTypeDescription
history_daysintegerRequest the daily series for the last N days instead of the headline. Anonymous/free access is clamped to the most recent 90 days.
segmentstringRestrict to one segment. Omit for the headline across overall + CeFi + DeFi.

get_rate_changes Rate change feed (observations)

The immutable rate-change log: every material yield move with full provenance (previous rate, raw value, multiplier, collection method, confidence, base/bonus split). Time-ascending pages via cursor. Unfiltered windows are capped at 31 days — filter by provider or symbol to walk deep history. Use for "what changed since X?" and audit trails.

ParameterTypeDescription
since *stringISO date/datetime lower bound (required), e.g. "2026-08-01"
categorystring
cursorstringOpaque cursor from a previous page
limitintegerPage size, default 100
providerstringFilter to one provider (enables deep ranges)
symbolstringFilter to one symbol, e.g. "USDC"
untilstringISO upper bound, default now

list_earn_products Canonical earn products & variants

The canonical earn product graph: products (provider × asset × category) with their term variants — lockups, tiers, minimum deposits, payout schedules, withdrawal notice, TVL, promo flags — each carrying collection method, confidence (0-100 with bands), verification timestamps, and geo eligibility resolved from variant overrides or provider defaults. Use for "what are the actual terms behind this rate?"

ParameterTypeDescription
categorystring
limitintegerPage size, default 50
min_confidenceintegerOnly products with at least one variant at/above this confidence
offsetinteger
providerstringFilter to one provider, e.g. "nexo"
symbolstringFilter to one symbol, e.g. "BTC"