Server Details
Enable AI assistants to interact seamlessly with the DefiLlama API by translating MCP tool calls i…
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
Available Tools
16 toolsgenerate_yield_analysis_promptTry in Inspector
Generate a comprehensive prompt for analyzing DeFi yield pools data.
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Optional blockchain filter for focused analysis | |
| project | No | Optional project filter for focused analysis |
get_chart__by_poolTry in Inspector
Get historical APY and TVL of a pool
| Name | Required | Description | Default |
|---|---|---|---|
| pool | Yes | pool id, can be retrieved from /pools (property is called pool) |
get_overview_dexsTry in Inspector
List all dexs along with summaries of their volumes and dataType history data
| Name | Required | Description | Default |
|---|---|---|---|
| excludeTotalDataChart | No | true to exclude aggregated chart from response | |
| excludeTotalDataChartBreakdown | No | true to exclude broken down chart from response |
get_overview_dexs__by_chainTry in Inspector
List all dexs along with summaries of their volumes and dataType history data filtering by chain
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | chain name, list of all supported chains can be found under allChains attribute in /overview/dexs response | |
| excludeTotalDataChart | No | true to exclude aggregated chart from response | |
| excludeTotalDataChartBreakdown | No | true to exclude broken down chart from response |
get_overview_feesTry in Inspector
List all protocols along with summaries of their fees and revenue and dataType history data
| Name | Required | Description | Default |
|---|---|---|---|
| dataType | No | Desired data type, dailyFees by default. | |
| excludeTotalDataChart | No | true to exclude aggregated chart from response | |
| excludeTotalDataChartBreakdown | No | true to exclude broken down chart from response |
get_overview_fees__by_chainTry in Inspector
List all protocols along with summaries of their fees and revenue and dataType history data by chain
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | chain name, list of all supported chains can be found under allChains attribute in /overview/fees response | |
| dataType | No | Desired data type, dailyFees by default. | |
| excludeTotalDataChart | No | true to exclude aggregated chart from response | |
| excludeTotalDataChartBreakdown | No | true to exclude broken down chart from response |
get_poolsTry in Inspector
Retrieve the latest data for all pools, including enriched information such as predictions
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
get_prices_current__by_coinsTry in Inspector
Get current prices of tokens by contract address Error Responses: 502: Internal error
| Name | Required | Description | Default |
|---|---|---|---|
| coins | Yes | set of comma-separated tokens defined as {chain}:{address} | |
| searchWidth | No | time range on either side to find price data, defaults to 6 hours |
get_protocol__by_protocolTry in Inspector
Get historical TVL of a protocol and breakdowns by token and chain
| Name | Required | Description | Default |
|---|---|---|---|
| protocol | Yes | protocol slug |
get_stablecoincharts_allTry in Inspector
Get historical mcap sum of all stablecoins
| Name | Required | Description | Default |
|---|---|---|---|
| stablecoin | No | stablecoin ID, you can get these from /stablecoins |
get_summary_dexs__by_protocolTry in Inspector
Get summary of dex volume with historical data
| Name | Required | Description | Default |
|---|---|---|---|
| protocol | Yes | protocol slug | |
| excludeTotalDataChart | No | true to exclude aggregated chart from response | |
| excludeTotalDataChartBreakdown | No | true to exclude broken down chart from response |
get_summary_fees__by_protocolTry in Inspector
Get summary of protocol fees and revenue with historical data
| Name | Required | Description | Default |
|---|---|---|---|
| dataType | No | Desired data type, dailyFees by default. | |
| protocol | Yes | protocol slug |
get_tvl__by_protocolTry in Inspector
Simplified endpoint to get current TVL of a protocol
| Name | Required | Description | Default |
|---|---|---|---|
| protocol | Yes | protocol slug |
get_v2_historicalChainTvlTry in Inspector
Get historical TVL (excludes liquid staking and double counted tvl) of DeFi on all chains
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
get_v2_historicalChainTvl__by_chainTry in Inspector
Get historical TVL (excludes liquid staking and double counted tvl) of a chain
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | chain slug, you can get these from /chains or the chains property on /protocols |
get_yield_pools_enhancedTry in Inspector
Fetch DeFi yield pools with enhanced filtering and data transformation. Returns symbol, project, tvlUsd, apy, apyMean30d, predictions, poolUrl, and projectUrl for each pool.
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Optional filter for blockchain (e.g., "Ethereum", "Solana") | |
| limit | No | Optional limit for number of results to return (e.g., 5, 10) | |
| project | No | Optional filter for project name (e.g., "lido", "aave-v3") | |
| tokenSymbol | No | Optional filter for token symbol (e.g., "ETH", "USDC") |
FAQ
How do I claim this server?
To claim this server, publish a /.well-known/glama.json file on your server's domain with the following structure:
The email address must match the email associated with your Glama account. Once verified, the server will appear as claimed by you.
What are the benefits of claiming a server?
- Control your server's listing on Glama, including description and metadata
- Receive usage reports showing how your server is being used
- Get monitoring and health status updates for your server