An MCP server for AI agents to explore DeFi yield opportunities, powered by DefiLlama. - Data Fetching Tool: The getyieldpools tool 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 analyzeyields prompt generates tailored instructions for AI agents to analyze yield pool data, focusing on key
Add this skill
npx mdskills install kukapay/defi-yields-mcpWell-documented MCP server for DeFi yield data with clear setup and examples
1# DeFi Yields MCP23An MCP server for AI agents to explore DeFi yield opportunities, powered by DefiLlama.45[](https://discord.gg/aRnuu2eJ)678910## Features1112- **Data Fetching Tool**: The `get_yield_pools` tool retrieves DeFi yield pool data from the DefiLlama, allowing filtering by chain (e.g., Ethereum, Solana) or project (e.g., Lido, Aave).13- **Analysis Prompt**: The `analyze_yields` prompt generates tailored instructions for AI agents to analyze yield pool data, focusing on key metrics like APY, 30-day mean APY, and predictions.14- **Packaged for Ease**: Run the server directly with `uvx defi-yields-mcp`.1516## Installation1718To use the server with Claude Desktop, you can either install it automatically or manually configure the Claude Desktop configuration file.1920### Option 1: Automatic Installation21Install the server for Claude Desktop:22```bash23uvx mcp install -m defi_yields_mcp --name "DeFi Yields Server"24```2526### Option 2: Manual Configuration272829Locate the configuration file:30- **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`31- **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`3233Add the server configuration:3435```json36{37 "mcpServers": {38 "defi-yields-mcp": {39 "command": "uvx",40 "args": [ "defi-yields-mcp" ]41 }42 }43}44```4546Restart Claude Desktop.4748## Examples4950You can use commands like:5152- "Fetch yield pools for the Lido project."53- "Analyze yield pools on Ethereum."54- "What are the 30-day mean APYs for Solana pools?"5556The `get_yield_pools` tool fetches and filters the data, while the `analyze_yields` prompt guides the LLM to provide a detailed analysis.5758### Example Output5960Running the `get_yield_pools` tool with a filter for Ethereum:61```json62[63 {64 "chain": "Ethereum",65 "pool": "STETH",66 "project": "lido",67 "tvlUsd": 14804019222,68 "apy": 2.722,69 "apyMean30d": 3.00669,70 "predictions": {71 "predictedClass": "Stable/Up",72 "predictedProbability": 75,73 "binnedConfidence": 374 }75 },76 ...77]78```7980## License8182This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.83
Full transparency — inspect the skill content before installing.