Skip to content
MCP server

DeFi Quant Yield & Risk Engine

Seven DeFi tools that simulate borrow slippage, carry and vault risk before you trade

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, API
Runs
Locally
Version
1.0.8
Listing updated
3 days ago

About DeFi Quant Yield & Risk Engine

DeFi Quant Yield & Risk Engine is an open-source MCP server for finance and payments. It runs locally on your machine and is started by your AI client.

Where most DeFi data wrappers return yesterday's APY, the tools here model the effect of a trade on protocol state first. They cover six protocols: Morpho Blue, Ethena sUSDe, Fluid, Sky sUSDS, Euler V2 and Pendle V2, and read on-chain figures through a RapidAPI-hosted telemetry service that needs a RAPIDAPI_KEY.

Each tool has a narrow job. One compares stablecoin yields against the cheapest USDC borrow across Morpho, Fluid and Euler, computing net leveraged return from 1x to 10x and the breakeven borrow rate. Others model how a large Morpho borrow pushes utilisation past the 90% AdaptiveCurveIRM kink, how a large sUSDe deposit dilutes yield during the eight-hour reward vesting, and how Pendle PT trades move the logit curve against the 15-minute TWAP. Further tools decode Fluid's 256-bit packed storage, compute Sky's sUSDS carry and audit Euler vaults, including compact supply caps and EVC sub-account bitmaps.

It is MIT-licensed, built on the MCP SDK with Zod validation, and aimed at yield farmers, vault curators and trading agents. It produces calculations, not trade execution or advice.

Install

Run in a terminal

claude mcp add defi-quant-mcp-server --env RAPIDAPI_KEY='<RAPIDAPI_KEY>' -- npx -y defi-quant-mcp-server

Add to claude_desktop_config.json

{
  "mcpServers": {
    "defi-quant-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "defi-quant-mcp-server"
      ],
      "env": {
        "RAPIDAPI_KEY": "<RAPIDAPI_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "defi-quant-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "defi-quant-mcp-server"
      ],
      "env": {
        "RAPIDAPI_KEY": "<RAPIDAPI_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "defi-quant-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "defi-quant-mcp-server"
      ],
      "env": {
        "RAPIDAPI_KEY": "<RAPIDAPI_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "defi-quant-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "defi-quant-mcp-server"
      ],
      "env": {
        "RAPIDAPI_KEY": "<RAPIDAPI_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "defi-quant-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "defi-quant-mcp-server"
      ],
      "env": {
        "RAPIDAPI_KEY": "<RAPIDAPI_KEY>"
      }
    }
  }
}

Configuration

  • RAPIDAPI_KEYRapidAPI key for live on-chain RPC telemetry across Morpho, Ethena, Fluid, Sky, Euler V2, and Pendle V2.

Tools this server provides (7)

Taken from the project documentation; the running server may differ.

scan_stablecoin_yield_arbitrage_radar
Compares sUSDe and sUSDS yields with the cheapest USDC borrow across Morpho Blue, Fluid and Euler V2.
simulate_morpho_blue_kink_slippage
Models how a large borrow shifts utilisation and borrow APY on Morpho Blue.
simulate_ethena_susde_vesting_dilution
Estimates sUSDe yield dilution from a large deposit during reward vesting.
unpack_fluid_liquidity_layer_state
Decodes Fluid's packed storage and simulates post-trade utilisation.
simulate_sky_susds_leveraged_carry
Calculates leveraged sUSDS and USDC loop return and breakeven borrow rates.
audit_euler_v2_vault_and_evc_subaccounts
Audits an Euler V2 vault, caps, IRM slippage and EVC sub-account bitmaps.
analyze_pendle_v2_logit_curve_and_twap
Compares Pendle implied APY with the PT oracle TWAP and simulates trade impact.

What it does

Carry radar
Compares sUSDe and sUSDS yield with USDC borrow rates and computes net leveraged return.
Morpho kink simulation
Models how a large borrow shifts utilisation and post-trade borrow APY.
Ethena vesting dilution
Estimates how a whale deposit dilutes sUSDe yield across the reward epoch.
Fluid state decoding
Unpacks BigMath storage slots to report rates and simulate utilisation.
Euler V2 audit
Decodes vault caps and EVC sub-account bitmaps and simulates IRM slippage.
Pendle curve analysis
Compares spot implied APY with the PT oracle TWAP and simulates trade impact.

Good for

  • Check whether a 5x stablecoin loop still pays after borrow-rate slippage
  • Size a Morpho borrow without moving the rate past the kink
  • Compare spot Pendle fixed yield with its oracle price
  • Audit an Euler V2 vault's caps and sub-accounts

Pricing

Open source

MIT-licensed; live data needs a RapidAPI key (plan prices not given)

Prices change. Check mcp.so before you buy.

DeFi Quant Yield & Risk Engine FAQ

What credentials are required?

A RapidAPI key in RAPIDAPI_KEY for live on-chain telemetry.

Which protocols are covered?

Morpho Blue, Ethena, Fluid, Sky, Euler V2 and Pendle V2.

What licence is it?

MIT, per the mcp.so listing.

Does it place trades?

No. The listed tools simulate, scan and audit; none executes a transaction.

Is DeFi Quant Yield & Risk Engine free?

Yes. DeFi Quant Yield & Risk Engine is open source, so you can use and self-host it for free.

How do I add DeFi Quant Yield & Risk Engine to Claude Code?

Run this command in your terminal: claude mcp add defi-quant-mcp-server --env RAPIDAPI_KEY='<RAPIDAPI_KEY>' -- npx -y defi-quant-mcp-server

What are the best alternatives to DeFi Quant Yield & Risk Engine?

The closest alternatives to DeFi Quant Yield & Risk Engine are Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, Budget Tracker, Quantivex Research and Provyan.

Alternatives to DeFi Quant Yield & Risk Engine

  1. Remote MCP server exposing the Vybe Solana API to AI clients and code editors

    • 44 tools
    • Remote
    • 2.8K GitHub stars
    • Finance and payments
  2. Indian NSE and BSE stock market data for AI assistants through 48 MCP tools

    • 17 tools
    • Remote
    • Freemium
    • 150 GitHub stars
    • Finance and payments
  3. Budget Tracker

    MCP server

    Local MCP expense ledger that logs receipts and mileage, splits VAT and prepares rebilling

    • 14 tools
    • Remote
    • Freemium
    • 2 GitHub stars
    • Finance and payments
  4. Stock scores, what a price assumes, earnings quality and quiet profit revisions

    • 11 tools
    • Remote
    • Free
    • Finance and payments
  5. Provyan

    MCP server

    Backtested crypto signal results on 94 coins, with luck odds and sources

    • 4 tools
    • Remote
    • Free
    • Finance and payments
  6. TribuJus

    MCP server

    Read-only access to UK bank accounts, cards and transactions via TrueLayer Open Banking

    Not checked yet
    • 5 tools
    • Remote
    • Open source
    • Legal and government