Best DeFi yields by token β APY, TVL, risk, protocol. DeFiLlama-powered. x402.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Best DeFi yields ranked by APY -- lending, staking, LP across 100+ protocols. Powered by DeFiLlama. Pay-per-call via x402 (USDC on Base L2) -- no API key, no signup, no rate-limit wall.
Part of the klymax402 marketplace -- 100 x402 micropayment APIs for AI agents, one wallet, USDC on Base.
Add to your MCP client config (Claude Desktop, Cursor, ElizaOS, etc.):
Any x402-aware client (@x402/fetch, x402-agent-tools, ATXP) handles the 402 -> sign -> retry cycle automatically.
| Tool | Method | Path | Price | Description |
|---|---|---|---|---|
defi_find_best_yields | GET | /api/yields | $0.005 | Find best DeFi yield opportunities for a token |
defi_find_best_yields | POST | /api/yields | $0.005 | Find best DeFi yield opportunities for a token (POST variant) |
defi_find_best_yieldsUse this when you need to find the best DeFi yields for a token across all chains and protocols. Returns ranked opportunities in JSON.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
token | string | yes | Token symbol to find yields for (e.g. USDC, ETH, WBTC) |
chain | string | no | Filter by chain (e.g. base, ethereum, arbitrum, polygon). Optional β returns all chains if omitted. |
minTvl | number | no | Minimum TVL in USD to filter pools (default: 100000) |
limit | number | no | Number of results to return (default: 10, max: 50) |
Returns
pool -- pool/vault name and pairprotocol -- protocol name (Aave, Compound, Lido, Aerodrome, etc.)chain -- which blockchain networkapy -- current annual percentage yieldtvl -- total value locked in USDriskLevel -- risk assessment (low/medium/high)type -- yield type (lending, staking, LP, vault)Example response:
When to use: deploying idle capital to find the highest safe yield. Essential for yield optimization and DeFi strategy comparison.
Not for: swap quotes (use dex_get_swap_quote), wallet balance (use wallet_get_portfolio), liquidation risk (use defi_get_liquidation_levels).
defi_find_best_yieldsUse this when you need to find the best DeFi yields for a token across all chains and protocols. Returns ranked opportunities in JSON. POST variant of defi_find_best_yields -- same params passed as JSON body instead of query string.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
token | string | yes | Token symbol to find yields for (e.g. USDC, ETH, WBTC) |
chain | string | no | Filter by chain (e.g. base, ethereum, arbitrum, polygon). Optional β returns all chains if omitted. |
minTvl | number | no | Minimum TVL in USD to filter pools (default: 100000) |
limit | number | no | Number of results to return (default: 10, max: 50) |
Returns
pool -- pool/vault name and pairprotocol -- protocol name (Aave, Compound, Lido, Aerodrome, etc.)chain -- which blockchain networkapy -- current annual percentage yieldtvl -- total value locked in USDriskLevel -- risk assessment (low/medium/high)type -- yield type (lending, staking, LP, vault)Example response:
When to use: deploying idle capital to find the highest safe yield. Essential for yield optimization and DeFi strategy comparison.
Not for: swap quotes (use dex_get_swap_quote), wallet balance (use wallet_get_portfolio), liquidation risk (use defi_get_liquidation_levels).
eip155:8453)100 x402 micropayment APIs for AI agents -- one wallet, USDC on Base, zero signup.
MIT
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/defi-yield-finder-api)<a href="https://allmcps.com/mcp/defi-yield-finder-api"><img src="https://allmcps.com/api/badge/defi-yield-finder-api?style=directory" alt="DeFi Yield Finder API on AllMCPs" /></a>