Defi Yields MCP logo

Defi Yields MCP

by kukapay

Explore DefiLlama yield pools by chain or project and guide AI analysis of APY, historical averages, and predictions.

Install Defi Yields MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "kukapay-defi-yields-mcp": {
      "command": "uvx",
      "args": [
        "defi-yields-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

kukapay/defi-yields-mcp MCP server connects AI agents to DeFiLlama yield pool data. Its get_yield_pools tool supports filtering by chain or project, while the analyze_yields prompt guides interpretation of APY, 30-day mean APY, and prediction fields. Run it as a Python 3.10+ package with uvx, or configure it for Claude Desktop. Reach for it when an agent needs structured DeFi yield discovery and analysis rather than transaction execution.

Use cases

  • Fetch yield pools for a specific DeFi project
  • Compare pools across Ethereum or Solana
  • Review 30-day mean APYs
  • Analyze prediction fields in returned pool data

Key features

  • DefiLlama yield pool retrieval
  • Chain-based filtering
  • Project-based filtering
  • Yield analysis prompt
  • APY and TVL fields
  • Prediction metrics

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

8/8 checks healthy over the last 48d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 11d ago via OSV.dev · defi-yields-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars16Stargazers on the source repository.
Last commit1y agoMost recent push to the default branch.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Defi Yields MCP works

What kukapay/defi-yields-mcp MCP server does

kukapay/defi-yields-mcp MCP server exposes DeFiLlama yield data to AI agents through the Model Context Protocol. It is intended for exploring available DeFi yield pools and examining metrics that can help compare them.

The server provides one data-fetching tool, get_yield_pools. An agent can request pool data without fetching the source directly, then narrow the results by blockchain network, such as Ethereum or Solana, or by protocol and project, such as Lido or Aave.

The package also defines an analyze_yields prompt. This prompt gives an AI agent a structure for reviewing returned pools, including current APY, the 30-day mean APY, and prediction data. The README demonstrates requests for a project's pools, pools on a particular chain, and historical APY comparisons.

How it works

The server obtains yield pool information from DefiLlama and makes that information available through MCP. A typical flow is to call get_yield_pools with an optional chain or project filter, then use the resulting records with the analyze_yields prompt.

Returned records can include the chain, pool identifier, project, TVL in USD, APY, 30-day average APY, and a predictions object. The example includes prediction fields such as a predicted class, predicted probability, and binned confidence.

Setup and configuration

kukapay/defi-yields-mcp MCP server requires Python 3.10 or newer. The documented packaging path uses uvx, allowing the server to run with:

bash
uvx defi-yields-mcp
bash
uvx mcp install -m defi_yields_mcp --name "DeFi Yields Server"

Manual configuration is also supported. Add a server entry whose command is uvx and whose argument is defi-yields-mcp to Claude Desktop's claude_desktop_config.json, then restart the application. The documented configuration uses the standard MCP server command-and-arguments pattern and does not list required environment variables.

Tools and capabilities

  • Fetch yield pool data from DefiLlama.
  • Filter results by chain.
  • Filter results by project.
  • Provide an analysis prompt for interpreting yield data.
  • Examine APY, 30-day mean APY, TVL, and prediction fields when those values are returned.

Limitations and notes

The server's documented scope is yield-data retrieval and analysis guidance. Results depend on the data exposed by DefiLlama, and the material does not specify update timing, historical coverage, or guarantees about yield outcomes. Use the server when an agent needs to investigate and compare listed pools, not as evidence that a yield is risk-free or guaranteed.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Defi Yields MCP

kukapay/defi-yields-mcp is an MCP server that connects AI agents to DeFiLlama yield pool data. Its main capabilities are the get_yield_pools tool for retrieving and filtering pools by chain or project, and the analyze_yields prompt for examining APY, 30-day mean APY, and prediction fields.

Install it with uvx, either by running `uvx defi-yields-mcp` or by using `uvx mcp install -m defi_yields_mcp --name "DeFi Yields Server"` for Claude Desktop. You can also add the documented uvx command and package argument manually to Claude Desktop's configuration.

Filter pools with the `get_yield_pools` tool by specifying a chain or project. The README gives Ethereum and Solana as chain examples, and Lido and Aave as project examples; returned data can then be reviewed with the `analyze_yields` prompt.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDefi Yields MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/kukapay-defi-yields-mcp?style=directory)](https://allmcps.com/mcp/kukapay-defi-yields-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/kukapay-defi-yields-mcp"><img src="https://allmcps.com/api/badge/kukapay-defi-yields-mcp?style=directory" alt="Defi Yields MCP on AllMCPs" /></a>