MCP server for DeFi Llama β free DeFi TVL, yields, stablecoins, bridges, DEX, and fee data for AI...
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
An MCP server for DeFi Llama β connect any MCP-compatible client to free DeFi protocol data.
An MCP (Model Context Protocol) server that gives AI assistants and agents access to DeFi Llama's free DeFi data API β protocol TVL, chain TVL, yield pools, stablecoins, cross-chain bridges, DEX volumes, and protocol fees β through natural language.
Use it with Claude Desktop, Cursor, Windsurf, Cline, Continue, or any MCP-compatible client to ask questions about DeFi protocols, track TVL movements, compare yields, and explore the on-chain economy.
| Tool | Description |
|---|---|
search_protocols | Search DeFi protocols by name β returns top results with TVL, chains, category |
get_protocol_tvl | Get detailed TVL breakdown for a specific protocol (chain distribution, history, description) |
get_tvl_by_chain | Get total TVL for a specific chain (Ethereum, Arbitrum, Base, Solana, etc.) |
get_yields | Get yield/APY data for lending pools and staking, filter by chain / project / min TVL |
get_stablecoins | Get stablecoin market cap data and rankings |
get_bridges | Get cross-chain bridge TVL and volume data |
get_dex_volumes | Get DEX trading volumes across chains |
get_protocol_fees | Get protocol fee and revenue data |
Add this to your MCP client config (e.g. claude_desktop_config.json):
That's it. npx downloads and runs it automatically. No API key, no install step.
Ask your AI assistant things like:
search_protocolsget_yieldsget_tvl_by_chain"Search for Aave and show me the chain breakdown" β find protocols, compare TVL across chains, and understand where value is concentrated. Works with any protocol in DeFi Llama's database of 3,000+ projects.
"Show me the highest yield stablecoin pools on Base with at least $10M TVL" β filter yield opportunities by chain, project, minimum TVL, and asset type. Find safe yields without hunting through dashboards.
"What's the total TVL on Arbitrum?" β get chain-level stats including top tokens by TVL. Useful for understanding where liquidity is flowing and which chains are growing.
"List the top 5 stablecoins by market cap" β track stablecoin market caps, circulating supply, and price deviations. Essential for understanding DeFi's dollar-denominated liquidity.
"Which bridges have the most TVL?" β monitor cross-chain bridge activity and volume. Track which bridges are gaining or losing share.
"What are the protocols with the most fees?" β analyze protocol fee generation and revenue. Useful for fundamental analysis and comparing protocol economics.
Use search_protocols first to find the correct DeFi Llama slug. Protocol slugs are lowercase with hyphens (e.g. aave-v3, lido), not ticker symbols.
DeFi Llama's /protocols and /pools endpoints return multi-MB responses. The server throttles to ~2 calls/second. For large queries, results may take 1-2 seconds.
Make sure Node.js 18+ is installed: node --version. If using npx, ensure npm is up to date: npm install -g npm@latest.
Verify the config path is correct. Claude Desktop uses ~/Library/Application Support/Claude/claude_desktop_config.json on macOS and %APPDATA%\Claude\claude_desktop_config.json on Windows. Restart the client after config changes.
DeFi Llama doesn't publish hard rate limits, but the server automatically throttles requests to ~2 calls/second (500ms minimum interval) to be a polite citizen. The /protocols and /pools endpoints are large (multi-MB), so the throttle also helps avoid unnecessary load.
https://api.llama.fihttps://yields.llama.fihttps://stablecoins.llama.fiAll endpoints are free and require no authentication. Full API documentation: https://defillama.com/docs/api
MIT
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/defillama-mcp-server)<a href="https://allmcps.com/mcp/defillama-mcp-server"><img src="https://allmcps.com/api/badge/defillama-mcp-server?style=directory" alt="Defillama MCP Server on AllMCPs" /></a>