MCP DeFi DeFi

DefiLlama MCP

MCP server for DefiLlama protocol analytics — TVL, yields, chains, and protocol comparisons via the Model Context Protocol.

Verified

DefiLlama MCP is an MCP server built by dcSpark that provides structured access to DefiLlama’s DeFi analytics platform. It exposes tools for querying total value locked, yield farming rates, chain-level metrics, and protocol comparisons across the DeFi ecosystem. By wrapping DefiLlama’s open API through the Model Context Protocol, it enables AI agents to perform comprehensive DeFi research without manual data gathering.

The server covers a broad range of DefiLlama’s data offerings, including protocol-level TVL tracking, yield aggregation across lending and liquidity protocols, and chain-by-chain breakdowns. This makes it a strong foundation for agent workflows that require a macro view of DeFi market conditions, such as comparing protocol growth, identifying yield opportunities, or monitoring liquidity trends across chains.

Setup involves registering the server with an MCP-compatible client such as Claude Desktop. Since DefiLlama’s API is publicly accessible and the server focuses on read-only analytics, the configuration is straightforward with minimal credential requirements. Users should cross-reference reported metrics with the DefiLlama website or other data sources to ensure accuracy, particularly for time-sensitive decisions.