MCP.so
Sign In

DeFi Quant Multi-Protocol Yield & Risk API MCP ServerVerifiedFeatured

@Pyrochem

Basic information

About DeFi Quant Multi-Protocol Yield & Risk API MCP Server

Model Context Protocol (MCP) server for 6-protocol DeFi quantitative telemetry, stablecoin carry radar, and risk simulation.

#defi#quant#morpho-blue#pendle#euler#ethena#claude-desktop

DeFi Quant Multi-Protocol Yield & Risk API MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "defi-quant": {
      "command": "npx",
      "args": [
        "-y",
        "defi-quant-mcp-server"
      ],
      "env": {
        "RAPIDAPI_KEY": "YOUR_RAPIDAPI_KEY",
        "RAPIDAPI_HOST": "defi-quant-multi-protocol-yield-risk-api.p.rapidapi.com"
      }
    }
  }
}

DeFi Quant Multi-Protocol Yield & Risk API MCP Server tools

7

Use this tool when a user asks where to find the best DeFi stablecoin yield, how to loop stablecoins for leveraged carry, or wants to compare Ethena sUSDe and Sky sUSDS yields against the cheapest USDC borrow rates across Morpho Blue, Fluid, and Euler V2.

Use this tool when a user wants to check Morpho Blue borrow rates, market utilization, or simulate how a large borrow or loop position will impact the 90% AdaptiveCurveIRM kink and push up post-trade borrow APY.

Use this tool when a user asks about Ethena sUSDe real-time APY, 8-hour epoch reward vesting (`getUnvestedAmount`), or how a large whale deposit into the sUSDe staking contract will dilute the current yield.

Use this tool when a user asks about Fluid Protocol USDC borrow/supply rates, needs to decode Fluid's 256-bit BigMath storage slots (`exchangePricesAndConfig`), or wants to simulate post-trade utilization on Fluid.

Use this tool when a user asks about Sky Protocol (MakerDAO) sUSDS savings rate, continuous per-second RAY compounding (`ssr` and `chi`), or wants to calculate leveraged sUSDS/USDC loop ROE and breakeven borrow rates on Morpho.

Use this tool when a user wants to audit an Euler V2 (EVK) vault, decode uint16 compact floating-point supply/borrow caps, simulate Euler IRM borrow kink slippage, or inspect Ethereum Vault Connector (EVC) 256-bit XOR sub-account bitmaps.

Use this tool when a user asks about Pendle V2 fixed yields (PT/YT), wants to compare Spot Implied APY against the 15-minute geometric PT Oracle TWAP, or needs to simulate how a large PT trade impacts the logit AMM curve (`scalarRoot`, `lnFeeRateRoot`).

Overview

What is DeFi Quant MCP Server?

DeFi Quant MCP Server (defi-quant-mcp-server) is a Model Context Protocol (MCP) server built for DeFi developers, algorithmic yield farmers, vault curators, and AI trading agents.

Unlike standard DeFi wrappers that only fetch backward-looking DeFiLlama APY snapshots, this server executes deterministic pre-trade smart contract state simulations across Morpho Blue, Ethena (sUSDe), Fluid Protocol, Sky Protocol (sUSDS), Euler V2 (EVK/EVC), and Pendle V2. It enables Claude Desktop, Cursor, Windsurf, and autonomous agents to calculate exact borrow rate kink slippage, leveraged loop ROE, epoch vesting dilution, and AMM curve price impact before capital is deployed.


Key Features & 7 Quantitative Tools

  1. scan_stablecoin_yield_arbitrage_radar (Cross-Protocol Loop & Carry Radar) Compares real-time stablecoin yields (Ethena sUSDe, Sky sUSDS) against the lowest USDC borrow rates across Morpho Blue, Fluid, and Euler V2. Automatically computes net leveraged ROE (1x–10x), net carry spread, and breakeven borrow thresholds.
  2. simulate_morpho_blue_kink_slippage (Morpho Blue Kink Simulator) Reads live Morpho Blue market state (borrowShares, totalSupplyAssets) and models how a specific borrow size (e.g., $2,000,000 USDC) shifts market utilization across the 90% AdaptiveCurveIRM kink and impacts post-trade borrow APY.
  3. simulate_ethena_susde_vesting_dilution (Ethena Epoch Drip & Whale Dilution) Queries Ethena's getUnvestedAmount() 8-hour linear epoch vesting schedule and simulates how large incoming whale deposits dilute real-time sUSDe staking yield.
  4. unpack_fluid_liquidity_layer_state (Fluid 256-Bit BigMath Unpacker) Decodes Fluid Protocol's bit-packed 56|8 BigMath storage slots (exchangePricesAndConfig) into human-readable supply/borrow liquidity, utilization, and post-trade rate slippage.
  5. simulate_sky_susds_leveraged_carry (Sky sUSDS Continuous RAY Math) Computes continuous per-second RAY ($10^{27}$) compounding (ssr and chi) for Sky Protocol sUSDS against Morpho USDC borrow costs to determine exact leveraged loop profitability.
  6. audit_euler_v2_vault_and_evc_subaccounts (Euler V2 EVK & EVC Auditor) Decodes Euler V2 uint16 compact floating-point supply/borrow caps, simulates Euler IRM kink slippage, and inspects Ethereum Vault Connector (EVC) 256-bit XOR sub-account bitmaps (0..3).
  7. analyze_pendle_v2_logit_curve_and_twap (Pendle V2 Logit AMM & TWAP Analyzer) Reads Pendle V2 MarketState parameters (scalarRoot, lnFeeRateRoot), compares Spot Implied Fixed APY against the 15-minute geometric PT Oracle TWAP, and simulates PT trade slippage.

Example Prompts You Can Ask Your AI Agent

  • "Where is the highest 5x leveraged stablecoin carry right now between Ethena sUSDe and Sky sUSDS, and is it cheaper to borrow USDC on Morpho Blue, Fluid, or Euler V2?"
  • "What happens to the borrow APY on the Morpho Blue wstETH/USDC market if I borrow an extra $2,000,000? Does it push utilization past the 90% kink?"
  • "How much unvested USDe reward is left in Ethena's current 8-hour epoch, and how much will the sUSDe APY drop if a whale deposits $25M right now?"
  • "Unpack the Fluid LiquidityLayer 256-bit storage slot for USDC and calculate post-trade utilization after a $2M borrow."
  • "Compare Pendle V2's Spot Implied Fixed APY for PT-sUSDe against the 15-minute PT Oracle TWAP, and simulate the yield slippage on a $1M PT swap."
  • "Audit the Euler V2 Prime USDC vault caps and check if my wallet has active EVC sub-account bitmaps."

How to Use & Configure (Claude Desktop / Cursor)

  1. Subscribe to the DeFi Quant Multi-Protocol Yield & Risk API on RapidAPI to grab your RAPIDAPI_KEY (includes a $0/month Free Basic Tier with 50 requests/month).
  2. Add the server to your claude_desktop_config.json or .cursor/mcp.json using npx:
{
  "mcpServers": {
    "defi-quant": {
      "command": "npx",
      "args": [
        "-y",
        "defi-quant-mcp-server"
      ],
      "env": {
        "RAPIDAPI_KEY": "YOUR_RAPIDAPI_KEY",
        "RAPIDAPI_HOST": "defi-quant-multi-protocol-yield-risk-api.p.rapidapi.com"
      }
    }
  }
}

Comments

More Finance & Commerce MCP servers