- Home
- MCP servers
- DeFi Rates
DeFi Rates
- javascript
1
GitHub Stars
javascript
Language
4 months ago
First Indexed
3 weeks ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"qingfeng-defi-rates-mcp": {
"command": "npx",
"args": [
"-y",
"@asahi001/defi-rates-mcp"
]
}
}
}You deploy a DeFi Rates MCP Server to give Claude and other AI assistants real-time access to DeFi lending rates. It exposes five practical tools that let you fetch latest rates, compare platforms, search the best offers, and run looping strategies across supported protocols and chains.
How to use
You interact with the MCP through an MCP client (such as Claude Desktop) that connects to the server you run. Use the five tools to query live lending data, compare platforms, and calculate leveraged strategies. Typical tasks include asking for the latest USDC borrow rates on a specific platform, finding the best supply rates for an asset across all platforms, or computing a looping strategy given collateral and price inputs.
How to install
Prerequisites: you need Node.js (version 18 or newer) and npm installed on your system.
Option 1: Install from npm (recommended)
Available tools
get_latest_rates
Fetch the latest lending rates with optional filters for platform, chain, asset, collateral, and limit to control the number of results.
get_dbi_index
Retrieve the DeFi Borrow Index, a weighted average of stablecoin borrow rates across major protocols.
search_best_rates
Find the best borrow or supply rates for a given asset with optional chain and limit parameters.
calculate_looping_strategy
Compute leverage looping strategy metrics using platform, asset to borrow, collateral details, price, and target loan-to-value.
compare_platforms
Compare borrow or supply rates across different platforms for the same asset and collateral pair.