Labsco
MCP SERVER

DeFi Yield MCP

by RJW34

Find the best DeFi yields for a deposit, with a risk tier attached to every pool.

DeFi Positions & On-Chain Analytics
Summary
The risk tier is the point, not the APY.

Surfacing a huge APY is easy; labelling it is the useful part. Anything above 1000% comes back tagged EXTREME, and `max_risk` filters it out before it reaches the answer. The coverage behind it is DefiLlama's — 16,000+ pools across 60+ chains — so treat the tier as a screen for a shortlist, then run `get_pool_risk` on the two or three you would actually fund.

What it is

A yield aggregator over DefiLlama data, exposed as four tools. It ranks pools across chains and attaches a risk classification to each, so an answer says what a pool pays and what could go wrong with it.

What you get
  • `get_top_yields` filters by chain, minimum TVL, stablecoins-only and maximum risk, and returns the best opportunities left standing
  • `get_pool_risk` goes deep on one pool: impermanent-loss exposure, audit status, APY trend and prediction
  • `compare_yields` projects what a given deposit amount would earn across the top pools
  • `get_chains` lists every chain with its pool count and top yield
  • Every pool carries one of four tiers — LOW, MEDIUM, HIGH or EXTREME, where EXTREME means very low TVL or an APY above 1000% and so likely unsustainable
Requirements

The project names itself defi-yield-mcp at version 0.1.0, which PyPI does not have. Once the module is on your path it runs as `python -m defi_yield_mcp`. No account and no API key: all data comes from DefiLlama's free public API, refreshed every 5 minutes.