lendwise
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@lendwiseOptimize $2,000 across top lending protocols for 3 months."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@lendwise/mcp
Unified view for lending markets. One standard.
MCP server for Lendwise — compare and optimize DeFi supply/borrow markets across Aave V3, Morpho and Compound V3 over live yield data.
It answers questions like "I have $1,000 to place in DeFi for the next 6 months — what are the best markets?" against real yield data, in about four tool calls.
Read-only. It compares markets; it never signs a transaction.
Install
Hosted (Streamable HTTP)
Point any MCP client at https://mcp.lendwise.fi/mcp — nothing to install. With Claude Code:
claude mcp add --transport http lendwise https://mcp.lendwise.fi/mcpLocal (stdio)
// claude_desktop_config.json / .mcp.json
{
"mcpServers": {
"lendwise": {
"command": "npx",
"args": ["-y", "@lendwise/mcp"]
}
}
}No API key. The server holds no secrets — it speaks only HTTPS to the public Lendwise API.
Related MCP server: YieldOracle
Tools
tool | what it's for |
| Every asset, chain and protocol that actually exists, with counts. Call this first — it's what stops an agent guessing a filter value that isn't there. |
| Current supply markets ranked by net APY. Filtering and sorting happen server-side. Defaults to ≥ $1M TVL. |
| One market in full: protocol metadata, collaterals, APY split into base / rewards / fees. |
| Daily net-APY series plus mean / stddev / min / max — the stability signal a long horizon needs. |
| Split an amount across markets at a target diversification. Returns per-market amounts, blended APY, projected 6-month yield. |
Why the TVL floor exists
find_best_markets defaults to minTvlUsd: 1_000_000. In a thin market a headline APY is mostly noise, and steering someone with $1k into one is the most plausible real-world harm this server can do. Lower it deliberately, not by accident.
Why get_market_history returns statistics, not just a series
A snapshot cannot tell a durable 6% from a 12% that is a reward programme ending next week. A 180-day standard deviation can. That is the number a 6-month decision actually turns on.
Configuration
env var | default | purpose |
|
| Point at |
| unset | Set to |
Development
pnpm install
pnpm typecheck
pnpm test # unit tests, hermetic
LENDWISE_INTEGRATION=1 pnpm test # + live API tests
pnpm buildThe one invariant to not break
The optimizer's contract is positional: we send apy: number[], it returns vault_index — an offset into the array we sent, not an id. If the array we build and the array we map back through ever disagree, the server confidently attributes a real allocation to the wrong market, and every number still looks plausible.
Order is therefore established exactly once, from the caller's productIds, and both directions run off that single array (buildApyVector → mapAllocations in src/core/optimizer.ts). It is pinned by unit tests in both directions. Do not "simplify" it into a lookup by APY value.
Rate limits
The upstream API allows 60 GraphQL req/min/IP and 10 optimizer req/min/IP. A 429 is surfaced as an explicitly retryable error carrying retryAfterSeconds — back off, don't retry-storm.
Not financial advice
Informational only. APYs are variable and historical yields do not predict future returns.
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server that exposes unified AI-friendly tools over Messari's standardized lending subgraphs on The Graph. One natural-language query → fan out across 40+ lending protocols on multiple chains → get back structured, comparable data.Last updated19241MIT
- Flicense-qualityBmaintenanceDeFi Yield Intelligence MCP Server — 8 tools for risk-adjusted APY, stablecoin & RWA yield tracking across 19K+ pools. Part of ToolOracle (tooloracle.io).Last updated
- AlicenseAqualityBmaintenanceCross-chain DeFi intelligence MCP server for AI agents. 7 tools for yield discovery, pool analysis, profit simulation, risk scoring, whale tracking, impermanent loss calculation, and DeFi overview across 86 chains and 6,500+ liquidity pools.Last updated71AGPL 3.0
- Flicense-qualityBmaintenanceAutonomous MCP server for DeFi yield optimization, enabling yield opportunity discovery, treasury snapshots, market signals, and portfolio rebalancing.Last updated
Related MCP Connectors
DeFi Yield Intelligence MCP — 8 tools: 19K+ pools, risk-adjusted APY, RWA yields.
MCP server connecting AI agents to non-custodial staking data across 130+ networks.
MCP server: cross-venue spread + yield drivers, ROI radar telemetry · Hive Civilization
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lendwise-fi/lendwise-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server