defillama-mcp

v1.0.2
io.github.Glebenjoy/defillama-mcp Checked 2 days ago Published 6 months ago

DefiLlama DeFi data: chain/protocol TVL, yields, stablecoins, token prices.

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

get_chains_tvl

Total Value Locked (TVL) across all blockchains, ranked highest first. Shows which chains hold the most DeFi capital.

ParameterTypeDescription
limitintegerHow many chains to return (default 20)

search_protocols

Search DeFi protocols by name, token symbol, or category (e.g. 'lending', 'dexes', 'aave'), ranked by TVL. Leave query empty for the top protocols overall.

ParameterTypeDescription
limitintegerHow many to return (default 15)
querystringName, symbol, or category to match; empty = top protocols

get_protocol

Get current TVL, 1d/7d change, chains, and category for a single DeFi protocol by name (e.g. 'Aave', 'Uniswap', 'Lido').

ParameterTypeDescription
name *stringProtocol name to look up

get_token_prices

Current USD price for one or more tokens. Use DefiLlama coin ids, comma-separated: 'coingecko:bitcoin,coingecko:ethereum' or 'chain:0xcontract' (e.g. 'ethereum:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2').

ParameterTypeDescription
tokens *stringComma-separated DefiLlama coin ids

get_yield_pools

Top DeFi yield / farming pools by APY. Optionally filter by chain (e.g. 'Ethereum'), project (e.g. 'aave'), and minimum TVL in USD to avoid tiny risky pools.

ParameterTypeDescription
chainstringChain name filter, e.g. 'Ethereum', 'Arbitrum'
limitintegerHow many to return (default 15)
minTvlUsdnumberMinimum pool TVL in USD
projectstringProject name filter, e.g. 'aave', 'lido'

get_stablecoins

Largest stablecoins by circulating supply, with peg type (fiat-backed, crypto-backed, algorithmic).

ParameterTypeDescription
limitintegerHow many to return (default 15)