Defillama

v0.2.1
io.github.pipeworx-io/defillama Checked 1 day ago Published 1 month ago

DefiLlama MCP — DeFi analytics from DefiLlama (free, no auth)

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

defi_tvl_protocols

Search DeFi protocols by name or category to compare their total value locked. Returns protocol name, TVL amount, blockchain, and category.

ParameterTypeDescription
categorystringFilter by category (e.g., "DEXes", "Lending", "Bridge", "CDP", "Yield")
searchstringFilter protocols by name (case-insensitive substring match)

defi_protocol_detail

Get detailed metrics for a specific DeFi protocol including TVL history over time, breakdown by blockchain, and token information.

ParameterTypeDescription
protocol *stringProtocol slug (e.g., "aave", "uniswap", "lido", "makerdao")

defi_chain_tvl

Compare total value locked across all blockchains. Returns TVL per chain to identify where capital is concentrated.

defi_protocol_fees

Check daily fees and revenue for a DeFi protocol. Returns fee trends to analyze profitability and income changes over time.

ParameterTypeDescription
protocol *stringProtocol slug (e.g., "aave", "uniswap", "lido")
data_typestringType of data: "dailyFees" or "dailyRevenue" (default: "dailyFees")

defi_revenue_ranking

Rank DeFi protocols by revenue (or fees) over the last 24h, 7d or 30d, with the change versus the prior period. Answers "top DeFi protocols by 30-day revenue" and "which protocols' revenue grew most". Filter by category (e.g. "Dexs", "Lending", "Liquid Staking") and/or chain. Each row: protocol slug, category, chains, revenue for the period, prior-period revenue, percent change, 24h/7d/30d totals and all-time total (USD). Source: DefiLlama, fees and revenue dataset. Pass a returned slug to defi_protocol_fees for the daily series.

ParameterTypeDescription
categorystringCategory filter, case-insensitive, e.g. "Lending", "Dexs".
chainstringChain filter, case-insensitive, e.g. "Ethereum", "Solana".
data_typestringRank by revenue (default) or gross fees.
limitnumberRows to return, 1-100. Default 20.
periodstringWindow to rank on. Default "30d".
sort_bystring"value" (default) ranks by period revenue; "change" ranks by percent change vs the prior period (protocols with under $10k prior-period revenue excluded).

defi_stablecoins

Get stablecoin market cap and distribution across blockchains. Returns supply per chain to track adoption and network preferences.

defi_yields

Find yield opportunities across DeFi pools filtered by project name, minimum TVL, or minimum APY. Returns APY, TVL, and project details.

ParameterTypeDescription
min_apynumberMinimum APY percentage (e.g., 5 for 5%)
min_tvlnumberMinimum TVL in USD (e.g., 1000000 for $1M)
searchstringFilter by project name (case-insensitive substring match)

defi_token_unlocks

Crypto token UNLOCK calendar from DefiLlama: every scheduled vesting cliff and emission-rate change across ~370 tracked tokens in a date window (e.g. "which token unlocks are scheduled this week", "unlocks over $10M between 2026-10-05 and 2026-10-12"). Returns per event: date, token, tokens unlocked, USD value at the current DefiLlama price (with the price time), share of circulating supply, and the recipients (investors, team, ecosystem…). Default window is today through 7 days out.

ParameterTypeDescription
fromstringWindow start, YYYY-MM-DD (UTC, inclusive). Default: today.
limitnumberMax events returned, sorted by date then USD value (default 100, max 500).
min_usdnumberOnly cliff unlocks worth at least this many USD at the current price (e.g. 1000000). Excludes emission-rate changes, which have no single USD amount.
tostringWindow end, YYYY-MM-DD (UTC, inclusive). Default: from + 7 days.
tokenstringRestrict to tokens whose name, symbol or DefiLlama slug contains this text (e.g. "hyperliquid", "ARB").

defi_token_emission

One crypto token's full vesting / EMISSION SCHEDULE from DefiLlama (e.g. "Hyperliquid HYPE unlock schedule", "when do Arbitrum team tokens vest"). Returns max supply, allocation by category (insiders, airdrop, staking…) with % unlocked so far, per-recipient unlocked-now vs final amounts, the dated unlock events (past and upcoming, with USD value at the current price), and DefiLlama's methodology notes.

ParameterTypeDescription
protocol *stringDefiLlama protocol slug or name (e.g. "hyperliquid", "arbitrum", "aptos", "sui"). Unknown names return close matches.