DeFi Yields MCP
An MCP server for AI agents to explore DeFi yield opportunities, powered by DefiLlama.
Features
- Data Fetching Tool: The
get_yield_poolstool retrieves DeFi yield pool data from the DefiLlama, allowing filtering by chain (e.g., Ethereum, Solana) or project (e.g., Lido, Aave). - Analysis Prompt: The
analyze_yieldsprompt generates tailored instructions for AI agents to analyze yield pool data, focusing on key metrics like APY, 30-day mean APY, and predictions. - Packaged for Ease: Run the server directly with
uvx defi-yields-mcp.
Installation
To use the server with Claude Desktop, you can either install it automatically or manually configure the Claude Desktop configuration file.
Option 1: Automatic Installation
Install the server for Claude Desktop:
uvx mcp install -m defi_yields_mcp --name "DeFi Yields Server"Option 2: Manual Configuration
Locate the configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json






