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

NameTypeRequiredDescription
protocolstringyesProtocol 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

FieldTypeDescription
namestringProtocol name
slugstringProtocol slug identifier
descriptionstring | nullProtocol description
urlstring | nullOfficial protocol URL
symbolstring | nullToken symbol
categorystring | nullProtocol category
chainstring | nullPrimary blockchain
chainsarrayList of supported chains
current_tvlnumber | nullCurrent total value locked in USD
mcapnumber | nullMarket capitalization in USD
chain_tvlsobjectTVL breakdown by blockchain
tvl_history_last_30arrayLast 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.

Regenerated from source · build May 9, 2026