DeFi Rates

Real-time DeFi lending rates across 14+ protocols (Aave, Morpho, Spark, Compound, Venus, etc). Query borrow/supply rates, c ompare platforms, calculate looping strategies on 6 chains (Ethereum, Arbitrum, Base, BSC, Solana, HyperEVM).

DeFi Lending Pro - Remote MCP Server

MCP Compatible License: MIT ERC-8004

Remote MCP server providing real-time DeFi lending data for AI agents.

Give Claude and other AI assistants the power to query DeFi rates, monitor whale activity, and track on-chain lending events in real-time!

Remote Endpoint

https://defiborrow.loan/mcp

No installation required - just configure your MCP client to use the HTTP endpoint.

Features

  • 14+ Protocols: Aave, Morpho, Compound, Venus, Lista, Spark, Felix, Euler, Drift, Jupiter, HypurrFi & more
  • Real-time Data: Updated hourly from production DeFi protocols
  • 8 Powerful Tools: Query rates, track whales, monitor liquidations, find best yields
  • Multi-Chain: Ethereum, Arbitrum, Base, BSC, Solana, HyperEVM
  • On-chain Events: Real-time lending event monitoring (borrows, deposits, liquidations)
  • Usage Stats: Built-in analytics at /mcp/stats

Available Tools

On-chain Event Tools

1. get_recent_events

Get recent on-chain lending events (borrows, deposits, liquidations, repays).

ParameterTypeDescription
limitnumberNumber of events (default: 20, max: 100)
chainstringFilter by blockchain
protocolstringFilter by protocol

2. get_events_by_type

Get lending events filtered by event type.

ParameterTypeDescription
event_typestringRequired. One of: borrow, deposit, withdraw, repay, liquidation, flashloan
limitnumberNumber of events (default: 20)
chainstringFilter by blockchain

3. get_whale_activity

Get large lending events (whale activity >$100K USD).

ParameterTypeDescription
min_amount_usdnumberMinimum USD amount (default: 100000)
limitnumberNumber of events (default: 20)
chainstringFilter by blockchain
event_typestringFilter by event type

4. get_liquidations

Get recent liquidation events across all protocols.

ParameterTypeDescription
limitnumberNumber of events (default: 20)
chainstringFilter by blockchain
protocolstringFilter by protocol

Lending Rate Tools

5. get_lending_rates

Get current lending/borrowing rates across DeFi protocols.

ParameterTypeDescription
chainstringFilter by blockchain
platformstringFilter by platform (AAVE, Morpho, Compound, etc.)
assetstringFilter by borrow asset (USDC, USDT, ETH, etc.)
collateralstringFilter by collateral asset
limitnumberNumber of results (default: 50)

6. get_earn_markets

Get earn/yield markets (single-asset deposits like Spark stUSDS, Morpho Vaults).

ParameterTypeDescription
chainstringFilter by blockchain
platformstringFilter by platform
assetstringFilter by deposit asset
min_apynumberMinimum APY percentage
limitnumberNumber of results (default: 50)

7. find_best_borrow

Find the lowest borrowing rate for a specific asset across all platforms.

ParameterTypeDescription
assetstringRequired. Asset to borrow (USDC, USDT, ETH, etc.)
chainstringLimit search to specific chain
top_nnumberReturn top N results (default: 5)

8. find_best_yield

Find the highest deposit/supply yield for a specific asset.

ParameterTypeDescription
assetstringRequired. Asset to deposit
chainstringLimit search to specific chain
include_earn_marketsbooleanInclude vaults/staking (default: true)
top_nnumberReturn top N results (default: 5)

Quick Start

Claude Code

Run this command to add the remote MCP server:

claude mcp add --transport http defi-lending-pro https://defiborrow.loan/mcp

Verify configuration:

claude mcp list

Claude Desktop

Edit your config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "defi-lending-pro": {
      "type": "url",
      "url": "https://defiborrow.loan/mcp"
    }
  }
}

Save and restart Claude Desktop. Look for the plug icon to verify connection.

Other MCP Clients

Use the HTTP transport with endpoint:

POST https://defiborrow.loan/mcp
Content-Type: application/json

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list",
  "params": {}
}

Usage Examples

After setup, try asking:

Query Lending Rates

  • "What's the lowest USDC borrow rate right now?"
  • "Show me ETH lending rates on Ethereum"
  • "Compare USDC/WETH rates between Aave and Morpho"

Find Best Yields

  • "Where can I get the best yield on USDC?"
  • "What's the APY for Spark stUSDS?"
  • "Find the top 5 highest yield stablecoin products"

Monitor Whale Activity

  • "Any recent whale lending activity?"
  • "Show me large borrows over $500K"
  • "What are the latest liquidations on Ethereum?"

Track On-chain Events

  • "Show me recent flashloans"
  • "Get the latest deposit events on Aave"
  • "What lending activity happened in the last hour?"

API Reference

MCP Protocol

The server implements Model Context Protocol (JSON-RPC 2.0 over HTTP).

Supported Methods:

  • initialize - Initialize connection
  • tools/list - List available tools
  • tools/call - Execute a tool
  • resources/list - List resources (empty)
  • prompts/list - List prompts (empty)

Usage Statistics

View usage stats at:

GET https://defiborrow.loan/mcp/stats?days=7

Returns:

  • Total calls and success rate
  • Calls by method and tool
  • Unique clients
  • Daily breakdown
  • Average response time

Data Sources

ProtocolChainsType
AaveEthereum, Arbitrum, Base, Optimism, Polygon, Avalanche, GnosisLending
MorphoEthereum, BaseLending + Vaults
Compound V3Ethereum, Arbitrum, Base, Optimism, PolygonLending
VenusBSCLending
ListaBSCLending + Earn
SparkEthereum, GnosisLending + Earn (stUSDS 12%+ APY)
FluidEthereum, Arbitrum, BaseLending
HyperLendHyperEVMLending
HypurrFiHyperEVMLending
EulerEthereum, Arbitrum, BaseLending + Vaults
DriftSolanaLending
JupiterSolanaLending
FelixSolanaEarn

Update Frequency: Hourly

ERC-8004 Agent

This service is registered as an ERC-8004 AI Agent:

Learn more about ERC-8004 - the AI Agent Trust Layer standard.

Links

License

MIT

Related Servers