defi_protocol_detail
Pack: defillama · Endpoint: https://gateway.pipeworx.io/defillama/mcp
Get detailed metrics for a specific DeFi protocol including TVL history over time, breakdown by blockchain, and token information.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
protocol | string | yes | Protocol slug (e.g., “aave”, “uniswap”, “lido”, “makerdao”) |
Example call
Arguments
{
"protocol": "aave"
}
curl
curl -X POST https://gateway.pipeworx.io/defillama/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"defi_protocol_detail","arguments":{"protocol":"aave"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('defi_protocol_detail', {
"protocol": "aave"
});
More examples
{
"protocol": "uniswap"
}
Response shape
Always returns: name, slug, chains, tvl_history_last_30
| Field | Type | Description |
|---|---|---|
name | string | Protocol name |
slug | string | Protocol slug identifier |
description | string | null | Protocol description |
url | string | null | Official protocol URL |
symbol | string | null | Token symbol |
category | string | null | Protocol category |
chain | string | null | Primary blockchain |
chains | array | List of supported chains |
current_tvl | number | null | Current total value locked in USD |
mcap | number | null | Market capitalization in USD |
chain_tvls | object | TVL breakdown by blockchain |
tvl_history_last_30 | array | Last 30 days of TVL history |
Full JSON Schema
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Protocol name"
},
"slug": {
"type": "string",
"description": "Protocol slug identifier"
},
"description": {
"type": [
"string",
"null"
],
"description": "Protocol description"
},
"url": {
"type": [
"string",
"null"
],
"description": "Official protocol URL"
},
"symbol": {
"type": [
"string",
"null"
],
"description": "Token symbol"
},
"category": {
"type": [
"string",
"null"
],
"description": "Protocol category"
},
"chain": {
"type": [
"string",
"null"
],
"description": "Primary blockchain"
},
"chains": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of supported chains"
},
"current_tvl": {
"type": [
"number",
"null"
],
"description": "Current total value locked in USD"
},
"mcap": {
"type": [
"number",
"null"
],
"description": "Market capitalization in USD"
},
"chain_tvls": {
"type": "object",
"additionalProperties": {
"type": "number"
},
"description": "TVL breakdown by blockchain"
},
"tvl_history_last_30": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string",
"description": "ISO date (YYYY-MM-DD)"
},
"tvl": {
"type": "number",
"description": "TVL value in USD"
}
},
"required": [
"date",
"tvl"
]
},
"description": "Last 30 days of TVL history"
}
},
"required": [
"name",
"slug",
"chains",
"tvl_history_last_30"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"defillama": {
"url": "https://gateway.pipeworx.io/defillama/mcp"
}
}
}
See Getting Started for client-specific install steps.