trackmcp
Back to directory
RJW34

defi-yield-mcp

View on GitHub

MCP server for cross-protocol DeFi yield opportunities with risk metrics via DefiLlama. 16,000+ pools, 60+ chains.

0 stars PythonOthers Updated Apr 13, 2026

Documentation

DeFi Yield Aggregator MCP Server

Cross-protocol DeFi yield opportunities with risk metrics, powered by DefiLlama. 16,000+ pools across 60+ chains.

Install

bash
pip install defi-yield-mcp

Claude Desktop

json
{
  "mcpServers": {
    "defi-yield": {
      "command": "python",
      "args": ["-m", "defi_yield_mcp"]
    }
  }
}

Then ask: *"What are the best stablecoin yields on Ethereum right now?"*

Tools

ToolDescription
`get_top_yields(chain, min_tvl, stablecoins_only, max_risk, limit)`Find best yield opportunities with risk filtering
`get_pool_risk(pool_id, project, symbol)`Deep risk analysis: IL, audit status, APY trends, predictions
`compare_yields(amount, chains, stablecoins_only)`Project earnings across top pools for a deposit amount
`get_chains()`List all chains with pool counts and top yields

Risk Tiers

Every pool is classified into a risk tier:

TierCriteria
LOWHigh TVL, no IL, stablecoin, audited protocol
MEDIUMModerate TVL, some IL risk, established protocol
HIGHLower TVL, IL risk, high APY, less established
EXTREMEVery low TVL or APY > 1000% — likely unsustainable

Example

code
> get_top_yields(chain="Polygon", stablecoins_only=True, min_tvl=1000000)

# Top DeFi Yields — Polygon
Filters: TVL ≥ $1,000,000 | Risk ≤ HIGH | Stablecoins only

1. **aave-v3/USDC** on Polygon [LOW]
   APY: 4.82% (base: 3.21% + reward: 1.61%) | 7d trend: +0.3% | Outlook: Stable/Up
   TVL: $125,432,891 | IL risk: no | stablecoin

Data Source

All data from DefiLlama (free, public, no API key). Updated every 5 minutes.

License

MIT

Frequently asked questions

What is defi-yield-mcp?

defi-yield-mcp is MCP server for cross-protocol DeFi yield opportunities with risk metrics via DefiLlama. 16,000+ pools, 60+ chains.

How do I install defi-yield-mcp?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is defi-yield-mcp open source?

Yes — it is hosted on GitHub at https://github.com/RJW34/defi-yield-mcp.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP