DeFi Quant Yield & Risk Engine

v1.0.8
io.github.Pyrochem/defi-quant-mcp-server Checked 2 hours ago Published 21 days ago

Quantitative DeFi carry ROE, borrow kink slippage & risk simulation across 6 protocols.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

scan_stablecoin_yield_arbitrage_radar Stablecoin Yield & Carry Arbitrage Radar

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.

ParameterTypeDescription
leveragenumberTarget loop leverage multiplier (1 to 10, default: 5)

simulate_morpho_blue_kink_slippage Morpho Blue 90% Kink & Borrow Slippage Simulator

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.

ParameterTypeDescription
marketIdstring32-byte Morpho Blue market ID hex (defaults to flagship wstETH/USDC market)
simBorrowDeltanumberSimulated additional borrow amount in loan token units (default: 2000000)

simulate_ethena_susde_vesting_dilution Ethena sUSDe Vesting & Whale Dilution Simulator

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.

ParameterTypeDescription
simDepositUSDenumberSimulated new USDe deposit size to test APY dilution (default: 25000000)

unpack_fluid_liquidity_layer_state Fluid LiquidityLayer Bit-Unpacker & Simulator

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.

ParameterTypeDescription
simBorrowDeltanumberSimulated additional borrow amount in token units (default: 2000000)
tokenAddressstringERC-20 token address on Fluid LiquidityLayer (defaults to Mainnet USDC)

simulate_sky_susds_leveraged_carry Sky sUSDS Continuous RAY Leveraged Carry Simulator

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.

ParameterTypeDescription
borrowRateOverridenumberOptional manual USDC borrow APY override in percent (e.g. 6.5)
leveragenumberTarget loop leverage multiplier (default: 5)

audit_euler_v2_vault_and_evc_subaccounts Euler V2 Vault & EVC Sub-Account Auditor

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.

ParameterTypeDescription
accountAddressstringOptional Ethereum wallet address to scan EVC sub-account prefixes (0..3)
simBorrowDeltanumberSimulated additional borrow amount in underlying units (default: 2000000)
vaultAddressstringEuler V2 EVault address (defaults to flagship Euler V2 Prime USDC Vault)

analyze_pendle_v2_logit_curve_and_twap Pendle V2 Logit Curve & PT TWAP Slippage Analyzer

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`).

ParameterTypeDescription
marketAddressstringPendle V2 Market contract address (defaults to flagship PT-sUSDe market)
simPtTradeSizenumberSimulated PT trade size to calculate logit curve price impact (default: 1000000)