DeFi Llama MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_protocolsA | Search DeFi protocols by name or symbol. Returns matching protocols ranked by TVL, each with name, symbol, TVL, category, chains, and slug. Use the slug in get_protocol_tvl for detailed data. |
| get_protocol_tvlA | Get detailed TVL breakdown for a specific DeFi protocol by slug. Returns current TVL, chain-by-chain TVL distribution, 24h/7d TVL change percentages, category, description, website, and sampled TVL history. Use search_protocols to find the slug first. |
| get_tvl_by_chainA | Get total TVL for a specific blockchain (Ethereum, Arbitrum, Base, Solana, BSC, Polygon, etc.). Returns chain-level TVL, native token symbol, CoinGecko/CMC IDs, and top 10 tokens on that chain ranked by TVL. Useful for comparing chain activity and identifying where capital is concentrated. |
| get_yieldsA | Search yield/APY opportunities across DeFi lending pools and staking. Returns pool name, chain, project, APY (with base + reward breakdown), TVL, and stablecoin indicator. Filter by chain, project, minimum TVL, or minimum APY. Impermanent-loss pools excluded by default. |
| get_stablecoinsA | Get stablecoin market data ranked by circulating supply. Returns symbol, peg type, circulating market cap, price, and number of chains each stablecoin is deployed on. Useful for comparing stablecoin adoption and identifying multi-chain stablecoins. |
| get_bridgesA | Get cross-chain bridge data ranked by total value locked. Returns bridge name, TVL, 24h volume, and 7d volume. Useful for comparing bridge liquidity and identifying which bridges handle the most cross-chain capital flow. |
| get_dex_volumesA | Get decentralized exchange trading volumes ranked by 24h volume. Returns DEX name, 24h/7d/30d volume, and 24h change percentage. Useful for comparing DEX activity, identifying volume trends, and finding which exchanges dominate on-chain trading. |
| get_protocol_feesA | Get protocol fee and revenue data ranked by 24h fees. Returns protocol name, 24h/7d/30d fees, and 24h revenue where available. Useful for comparing protocol economics, identifying which DeFi protocols generate the most fees, and analyzing revenue trends. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 8 tools
Each tool targets a distinct data category (bridges, stablecoins, protocols, chains, yields, DEX volumes, fees). Even the two TVL-related tools are clearly separated between protocol-level and chain-level, making misselection unlikely.
All tools follow a verb_noun pattern with 'get_' except for 'search_protocols', which uses 'search_' instead. This minor inconsistency is offset by the otherwise uniform naming style, so no real confusion arises.
With 8 tools, the server is well-scoped for a data aggregation service like DeFi Llama. Each tool represents a major data section without redundancy, fitting comfortably within the ideal 3-15 range.
The tool set covers the core DeFi metrics: TVL (protocol and chain), yields, stablecoins, DEX volumes, bridges, and fees. Some granular data (e.g., token-specific details or historical charts) is missing, but the available surface supports most common research workflows.