DeFi Quant MCP Server

DeFi Quant MCP Server

defi-quant-multi-protocol-yield-risk-api•bypyrochem

An open-source Model Context Protocol server that provides DeFi yield, leveraged carry, and pre-trade risk simulation tools to AI agents.

License: Not specified•Runtime: Awaiting documentation review•Category: finance crypto

WHAT IT DOES

  • •Exposes seven native MCP tools covering stablecoin yield arbitrage, Morpho Blue kink slippage, Ethena vesting dilution, Fluid liquidity state, Sky leveraged carry, Euler V2 vault audits, and Pendle V2 pricing.
  • •Performs pre-execution smart contract state simulations across multiple DeFi protocols rather than returning only static historical snapshots.
  • •Reads live Morpho Blue market state and simulates post-trade borrow APY slippage across the AdaptiveCurveIRM kink.
  • •Queries Ethena unvested amounts and models post-deposit APY dilution.

BEST FOR

  • •AI agents connected to Claude Desktop, Cursor, or Windsurf answering quantitative DeFi yield and risk questions.
  • •Comparing leveraged stablecoin carry across Ethena sUSDe and Sky sUSDS against USDC borrow rates on Morpho Blue, Fluid, or Euler V2.
  • •Simulating borrow APY slippage from large borrows on Morpho Blue markets.

ABOUT DEFI-QUANT-MULTI-PROTOCOL-YIELD-RISK-API

DeFi Quant MCP Server is cataloged as an MCP server attributed to pyrochem. An open-source Model Context Protocol server that provides DeFi yield, leveraged carry, and pre-trade risk simulation tools to AI agents. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for DeFi Quant MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which DeFi protocols does this MCP server simulate against?

It performs pre-execution smart contract state simulations across Morpho Blue, Ethena sUSDe, Fluid Protocol, Sky Protocol sUSDS, Euler V2 (EVK/EVC), and Pendle V2.

How many native MCP tools does it include?

It includes seven native MCP tools for DeFi yield, carry, and risk simulation.

Upstream README

View this exact version on GitHub

README.md · 7dc7b7c1c2fe · Fetched 2026-11-13 14:14:30 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

DeFi Quant MCP Server (defi-quant-mcp-server)

This repository contains the official open-source Model Context Protocol (MCP) server implementation for the DeFi Quant suite. Built with @modelcontextprotocol/sdk and Zod schema validation, it exposes 7 native DeFi yield, leveraged carry, and pre-trade risk simulation tools directly to AI agents (Claude Desktop, Cursor, Windsurf, and autonomous trading agents).

Unlike read-only DeFi wrappers that only return static historical snapshots, this MCP server performs pre-execution smart contract state simulations across Morpho Blue, Ethena (sUSDe), Fluid Protocol, Sky Protocol (sUSDS), Euler V2 (EVK/EVC), and Pendle V2.

M8ven Verified DeFi Quant Yield & Risk Engine MCP on mcprush


Example AI Prompts This Server Solves

Once connected to Claude Desktop or Cursor, your AI agent can autonomously answer complex quantitative DeFi questions:

  • Cross-Protocol Yield & Looping: "Where is the highest 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 at 5x leverage?"
  • Morpho Blue Kink Slippage: "What happens to the borrow APY on the Morpho wstETH/USDC market if I borrow an extra $2,000,000? Does it push utilization past the 90% AdaptiveCurveIRM kink?"
  • Ethena Epoch Dilution: "How much unvested USDe is left in Ethena's current 8-hour epoch, and how much will the sUSDe APY drop if a whale deposits $25M right now?"
  • Fluid Bit-Packed State: "Unpack the Fluid LiquidityLayer 256-bit storage slot for USDC and calculate post-trade utilization after a $2M borrow."
  • Pendle V2 Fixed Yield & TWAP Divergence: "Compare Pendle's Spot Implied Fixed APY against the 15-minute PT Oracle TWAP, and simulate the implied yield slippage on a $1M PT swap."
  • Euler V2 Vault & Sub-Account Audits: "Decode the uint16 supply/borrow caps on the Euler V2 Prime USDC vault and check active EVC sub-account bitmaps."

Native MCP Tools Included (7 Tools)

  1. scan_stablecoin_yield_arbitrage_radar — Compares live stablecoin yields (sUSDe, sUSDS) against the cheapest USDC borrow rates (Morpho Blue, Fluid, Euler V2) and calculates net leveraged loop ROE and breakeven borrow spreads.
  2. simulate_morpho_blue_kink_slippage — Reads live Morpho Blue market state (borrowShares, totalSupplyAssets) and simulates post-trade borrow APY slippage across the 90% AdaptiveCurveIRM kink.
  3. simulate_ethena_susde_vesting_dilution — Queries Ethena getUnvestedAmount() linear 8-hour epoch decay and models post-deposit APY dilution.
  4. unpack_fluid_liquidity_layer_state — Unpacks Fluid Protocol's 56|8 BigMath bit-packed storage slots into human-readable supply/borrow liquidity, utilization, and post-trade rate impact.
  5. simulate_sky_susds_leveraged_carry — Computes continuous RAY ($10^{27}$) per-second ssr/chi compounding for Sky sUSDS against Morpho USDC borrow costs.
  6. audit_euler_v2_vault_and_evc_subaccounts — Decodes Euler V2 compact floating-point mantissa/exponent caps, simulates IRM kink slippage, and scans EVC 256-bit XOR sub-accounts (0..3).
  7. analyze_pendle_v2_logit_curve_and_twap — Reads Pendle V2 MarketState logit curve parameters (scalarRoot, lnFeeRateRoot), compares Spot Implied APY vs. PT Oracle TWAP, and simulates PT swap slippage.

Quick Start (Claude Desktop / Cursor Configuration)

  1. Grab a free API key from the DeFi Quant Multi-Protocol Yield & Risk API on RapidAPI (includes a Free $0/mo Basic Tier with 50 requests/month).
  2. Add the following block to your claude_desktop_config.json or .cursor/mcp.json:
{
  "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"
      }
    }
  }
}

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for DeFi Quant MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/defi-quant-multi-protocol-yield-risk-api)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related finance crypto MCP Servers

Alternative and complementary servers in the same category

View all in finance crypto →
USA Spending MCP Server
usaspending-mcp-server•thsmale

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

Repository stats unavailable
Finance & Analytics
Fortnox MCP server — More AI
more-ai-chatgpt-claude-mcp-fortnox•amor3

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

0
Finance & Analytics

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.

Repository stats unavailable
Finance & Analytics