# leverage

Feeds your agent Morpho leveraged-yield strategies: the list, APY and LTV numbers. Read-only, no signing.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: spiral-stake
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/spiral-stake/mcp
- Updated: 2026-10-14
- HTML: https://affpapa.org/en/nevibecode/mcp/leverage

## What it does

The server composes strategy data for Morpho leveraged-yield positions and serves it over MCP. Under the hood: a TypeScript composition core, adapters for upstreams such as DeFiLlama, Pendle, Royco and StableWatch, a two-layer cache and a background warmer. Reads never hit upstreams directly. They take warmed data, and when a source fails the last good value comes back with a visible stale age.

The data sits behind endpoints for strategies, borrow-rate history, collateral APY history, prices, charts and protocol TVL. An OpenAPI 3.1 spec lives at `/openapi.json`, plus `/health` and `/ready`. You connect it at `https://api.spiralstake.xyz/mcp`.

It is read-only: contract writes, transaction building and signing are not part of it. Running it locally means a `.env` file with RPC and API keys, plus Node.js and `npm`. Transaction building and partner auth are left for later steps.

## Requirements
- Remote server: `https://api.spiralstake.xyz/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http leverage https://api.spiralstake.xyz/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add leverage --url https://api.spiralstake.xyz/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "leverage": {
            "url": "https://api.spiralstake.xyz/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "leverage": {
            "type": "http",
            "url": "https://api.spiralstake.xyz/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http leverage https://api.spiralstake.xyz/mcp
```

## When to use it
- list leveraged-yield strategies on Morpho
- compare APY across 30, 60 and 90 day windows
- pull borrow-rate history for one market
- fetch token prices and charts for calculations
- read protocol TVL across supported chains

## Example prompts
- List Morpho strategies with the highest 90-day APY
- Show borrow-rate history for market `0x...`
- What is the protocol TVL and how many positions does it hold?

## Similar
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89609
- [CCXT](https://affpapa.org/en/nevibecode/mcp/ccxt.md) — MCP server · ★ 44591
- [Finance Toolkit](https://affpapa.org/en/nevibecode/mcp/finance-toolkit.md) — MCP server · ★ 5469
- [EdgarTools](https://affpapa.org/en/nevibecode/mcp/edgartools.md) — MCP server · ★ 2817
- [LetsFG — Flights & Hotels](https://affpapa.org/en/nevibecode/mcp/letsfg-flights-hotels.md) — MCP server · ★ 2197
- [AutoTS](https://affpapa.org/en/nevibecode/mcp/autots.md) — MCP server · ★ 1434

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
