- Home
- MCP servers
- DeFi Yields
DeFi Yields
- python
13
GitHub Stars
python
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"kukapay-defi-yields-mcp": {
"command": "uvx",
"args": [
"defi-yields-mcp"
]
}
}
}You can run and use the DeFi Yields MCP Server to let AI agents fetch and analyze DeFi yield data from DefiLlama. It exposes a data fetch tool and an analysis prompt so your agents can retrieve yield pools, filter by chain or project, and generate actionable instructions focused on APY metrics and predictions.
How to use
Start the server using the MCP client integrated with your workflow. You will interact with two core capabilities: a data fetch tool named get_yield_pools that retrieves yield pool data and supports filters by chain or project, and an analysis prompt named analyze_yields that guides the AI agent to interpret the data, focusing on APY, 30-day mean APY, and predictions. You can issue prompts like: fetch yield pools for a specific project or analyze yields on a chosen chain. The system will return structured yield data and an analysis guide to help you make informed decisions.
Run results can be used to compare pools, monitor changes in APY, and forecast potential yields across chains like Ethereum or Solana. Use the analysis prompts to obtain tailored, step-by-step instructions for AI agents to interpret the data and produce actionable recommendations.
How to install
Prerequisites: ensure you have a runtime capable of MCP execution and a command-line environment available. In many setups, you will use Node.js tooling and the MCP runtime through the uvx command-line interface.
uvx mcp install -m defi_yields_mcp --name "DeFi Yields Server"
{
"mcpServers": {
"defi-yields-mcp": {
"command": "uvx",
"args": [ "defi-yields-mcp" ]
}
}
}
Additional sections
Configuration and startup are designed to be straightforward. You can either install automatically or configure a client-side MCP entry manually so your tooling can launch the server as part of your workflow.
Notes on usage: use the get_yield_pools tool to fetch and filter data by chain or project, and use the analyze_yields prompt to obtain a focused analysis that highlights APY, 30-day mean APY, and predictive classifications.
Metadata
Available tools
get_yield_pools
Fetches DeFi yield pool data from DefiLlama and supports filtering by chain or project to return relevant yield pool information.
analyze_yields
Generates tailored instructions for AI agents to analyze yield pool data, focusing on APY, 30-day mean APY, and predictive classifications.