
Defillama Mcp
Pulls live DeFi data from DefiLlama's public API with no key required. You get six tools covering chain and protocol TVL rankings, token prices by CoinGecko ID or contract address, yield pool APYs with filtering, and stablecoin supply metrics. Built for agents that need to answer questions like "What's Aave's TVL this week?" or "Show me the highest APY stablecoin pools on Ethereum above $10M TVL." Ships with tests and error handling instead of breaking on the second call. Runs via npx with no installation. Useful when you're building financial analysis workflows or need real-time DeFi metrics without managing API credentials.
- tools
- 6
- transport
- STDIO
- last updated
- Jun 6, 2026
Tools
6 toolsPublic tool metadata for what this MCP can expose to an agent.
get_chains_tvlTVL across all blockchains, ranked
TVL across all blockchains, ranked
No parameter schema in public metadata yet.
search_protocolsSearch protocols by name / symbol / category, ranked by TVL
Search protocols by name / symbol / category, ranked by TVL
No parameter schema in public metadata yet.
get_protocolTVL, 1d/7d change, chains, category for one protocol
TVL, 1d/7d change, chains, category for one protocol
No parameter schema in public metadata yet.
get_token_pricesCurrent USD price for one or more tokens (DefiLlama coin ids)
Current USD price for one or more tokens (DefiLlama coin ids)
No parameter schema in public metadata yet.
get_yield_poolsTop yield pools by APY, filter by chain / project / min TVL
Top yield pools by APY, filter by chain / project / min TVL
No parameter schema in public metadata yet.
get_stablecoinsLargest stablecoins by circulating supply + peg type
Largest stablecoins by circulating supply + peg type
No parameter schema in public metadata yet.
Sponsors
Readme
DefiLlama MCP
An MCP server that gives Claude, Cursor, and any MCP-compatible agent live DeFi data from DefiLlama — chain and protocol TVL, token prices, yield/farming pools, and stablecoin supply.
No API key. No signup. The public DefiLlama API is free.
Most "MCP for X" repos are half-finished and break on the second request. This one ships with tests and graceful error handling so an agent can actually rely on it.
What your agent can do
Ask things like:
- "Which chains have the most TVL right now?"
- "What's Aave's TVL and how did it move this week?"
- "Find the highest-APY stablecoin pools on Ethereum with at least $10M TVL."
- "Price of BTC and ETH?" (
coingecko:bitcoin,coingecko:ethereum) - "List the biggest stablecoins by circulating supply."
Tools
Details
- Repository
- github.com/glebenjoy/defillama-mcp
- Categories
- Data & Analytics, Finance & Commerce
- Package
defillama-mcp- Transport
- STDIO
- Registry
- MCP registry, active