defillama-mcp
v1.0.2DefiLlama 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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How 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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many to return (default 15) |
query | string | Name, 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').
| Parameter | Type | Description |
|---|---|---|
name * | string | Protocol 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').
| Parameter | Type | Description |
|---|---|---|
tokens * | string | Comma-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.
| Parameter | Type | Description |
|---|---|---|
chain | string | Chain name filter, e.g. 'Ethereum', 'Arbitrum' |
limit | integer | How many to return (default 15) |
minTvlUsd | number | Minimum pool TVL in USD |
project | string | Project name filter, e.g. 'aave', 'lido' |
get_stablecoins
Largest stablecoins by circulating supply, with peg type (fiat-backed, crypto-backed, algorithmic).
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many to return (default 15) |