Server data from the Official MCP Registry
MCP server for DeFi Llama — free DeFi TVL, yields, stablecoins, bridges, DEX, and fee data for AI...
MCP server for DeFi Llama — free DeFi TVL, yields, stablecoins, bridges, DEX, and fee data for AI...
This is a well-structured MCP server for querying DeFi Llama's free public API. Authentication is not required (by design, since the API is public), and the server properly implements rate limiting, input validation via Zod, and error handling. Permissions are appropriately scoped to network HTTP calls only. Minor code quality observations exist but do not affect security posture. Supply chain analysis found 2 known vulnerabilities in dependencies (0 critical, 2 high severity). Package verification found 1 issue.
3 files analyzed · 7 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-friendlygeorge-defillama-mcp-server": {
"args": [
"-y",
"defillama-mcp-server"
],
"command": "npx"
}
}
}From the project's GitHub README.
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 |
npm install -g defillama-mcp-server
Or run directly with npx:
npx -y defillama-mcp-server
Add to your MCP client config (e.g. claude_desktop_config.json):
{
"mcpServers": {
"defillama": {
"command": "npx",
"args": ["-y", "defillama-mcp-server"]
}
}
}
Or with global install:
{
"mcpServers": {
"defillama": {
"command": "defillama-mcp-server"
}
}
}
Ask your AI assistant things like:
search_protocolsTop 5 protocols matching "aave" (by TVL):
- **Aave** (AAVE) — TVL: $12.45B | Category: Lending | Chains: Ethereum, Arbitrum, Polygon, Base, Optimism, +6 | Slug: `aave`
- **Aave v2** (AAVE) — TVL: $4.20B | Category: Lending | Chains: Ethereum, Polygon, Avalanche | Slug: `aave-v2`
- **Aave v3** (AAVE) — TVL: $8.10B | Category: Lending | Chains: Ethereum, Arbitrum, Polygon, Base, Optimism | Slug: `aave-v3`
get_yieldsTop 5 yield pools (chain: Ethereum | min TVL: $10.00M | min APY: 0%):
- **Lido** — stETH on Ethereum 🟢 | APY: 3.42% (3.42% base) | TVL: $23.45B
- **Aave v3** — USDC on Ethereum 🟢 | APY: 4.85% (1.50% base + 3.35% reward) | TVL: $1.85B
- **Compound v3** — USDC on Ethereum 🟢 | APY: 5.12% (3.20% base + 1.92% reward) | TVL: $890.45M
get_tvl_by_chainEthereum — Chain TVL
- **Total TVL:** $115.32B
- **Native Token:** ETH
- **CoinGecko ID:** ethereum
### Top Tokens by TVL
- **ETH** (Ether): $67.23B
- **USDC** (USD Coin): $4.12B
- **USDT** (Tether): $3.45B
- **WBTC** (Wrapped BTC): $2.89B
- **WSTETH** (Wrapped stETH): $2.34B
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
git clone https://github.com/nova/defillama-mcp-server.git
cd defillama-mcp-server
npm install
npm run build
npm start
MIT
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.