
Quantoracle
Connects Claude to 73 deterministic financial calculators spanning options pricing, risk metrics, portfolio math, and technical indicators. Instead of asking an LLM to compute Black-Scholes or Kelly Criterion in-context (slow, error-prone, non-reproducible), you POST JSON to endpoints like `/v1/options/price` or `/v1/risk/portfolio` and get exact analytical results in under 70ms. The free tier gives you 1,000 calls per day with no API key. Ten composite workflows bundle multiple calculations for common agent tasks like backtesting strategies, generating rebalancing trades, or recommending hedges. All formulas are citation-verified against Hull and Wilmott. Reach for this when your agent needs to size a position, price a derivative, or run a Monte Carlo sim without hallucinating the Greeks.
- GitHub stars
- 6
- tools
- 74
- transport
- STDIO
- last updated
- May 31, 2026
Tools
74 toolsPublic tool metadata for what this MCP can expose to an agent.
options_priceBlack-Scholes pricing with 10 Greeks (delta through color). Use when you need to price a European option or compute Greeks (delta, gamma, theta, vega, rho, etc.) using the Black-Scholes model. Provide spot price, strike, time to expiry, risk-free rate, and volatility. Returns:...7 params
Black-Scholes pricing with 10 Greeks (delta through color). Use when you need to price a European option or compute Greeks (delta, gamma, theta, vega, rho, etc.) using the Black-Scholes model. Provide spot price, strike, time to expiry, risk-free rate, and volatility. Returns:...
KnumberSnumberTnumberqnumberrnumbersigmanumbertypestringcall · putdefault: calloptions_implied-volNewton-Raphson implied volatility solver. Converges in 5-8 iterations. Use when you know the market price of an option and need to back out the implied volatility. Uses Newton-Raphson iteration. Provide spot, strike, time to expiry, risk-free rate, market price, and option typ...7 params
Newton-Raphson implied volatility solver. Converges in 5-8 iterations. Use when you know the market price of an option and need to back out the implied volatility. Uses Newton-Raphson iteration. Provide spot, strike, time to expiry, risk-free rate, market price, and option typ...
KnumberSnumberTnumbermarket_pricenumberqnumberrnumbertypestringcall · putdefault: calloptions_strategyMulti-leg options strategy P&L, breakevens, max profit/loss, risk/reward. Use when analyzing a multi-leg options strategy (spreads, straddles, iron condors, etc.). Provide an array of legs with strike, premium, quantity, and type. Returns: net premium, max profit/loss, breakev...3 params
Multi-leg options strategy P&L, breakevens, max profit/loss, risk/reward. Use when analyzing a multi-leg options strategy (spreads, straddles, iron condors, etc.). Provide an array of legs with strike, premium, quantity, and type. Returns: net premium, max profit/loss, breakev...
S_rangearraylegsarraypointsintegerrisk_portfolio22 risk metrics: Sharpe, Sortino, Calmar, Omega, VaR, CVaR, drawdown, skew, kurtosis. Use when you have a series of portfolio returns and need comprehensive risk analytics. Provide an array of periodic returns (e.g. daily). Returns: 22 metrics including Sharpe, Sortino, Calmar...3 params
22 risk metrics: Sharpe, Sortino, Calmar, Omega, VaR, CVaR, drawdown, skew, kurtosis. Use when you have a series of portfolio returns and need comprehensive risk analytics. Provide an array of periodic returns (e.g. daily). Returns: 22 metrics including Sharpe, Sortino, Calmar...
benchmark_returnsarrayreturnsarrayrisk_free_ratenumberrisk_kellyKelly Criterion: discrete (win/loss) or continuous (returns series) mode. Use when determining optimal bet/position sizing using the Kelly Criterion. Provide win probability and win/loss ratio. Returns: full Kelly fraction, half-Kelly, quarter-Kelly, and expected growth rate.5 params
Kelly Criterion: discrete (win/loss) or continuous (returns series) mode. Use when determining optimal bet/position sizing using the Kelly Criterion. Provide win probability and win/loss ratio. Returns: full Kelly fraction, half-Kelly, quarter-Kelly, and expected growth rate.
avg_lossnumberavg_winnumbermodestringdiscrete · continuousdefault: discretereturnsarraywin_ratenumbersimulate_montecarloGBM Monte Carlo with contributions/withdrawals. Up to 5000 paths. Use when running a Monte Carlo simulation for asset price paths. Provide starting price, drift, volatility, time horizon, and number of simulations. Returns: simulated terminal prices, percentile distribution (5...7 params
GBM Monte Carlo with contributions/withdrawals. Up to 5000 paths. Use when running a Monte Carlo simulation for asset price paths. Provide starting price, drift, volatility, time horizon, and number of simulations. Returns: simulated terminal prices, percentile distribution (5...
annual_returnnumberannual_volnumbercontributionsnumberinitial_valuenumbersimulationsintegerwithdrawal_ratenumberyearsnumberindicators_technical13 technical indicators + composite signals. Use when you need multiple technical indicators computed from a price series. Provide an array of prices and optional volumes. Returns: SMA, EMA, RSI, MACD, Bollinger Bands, Stochastic %K, ATR, ROC, composite signals (overbought/ove...3 params
13 technical indicators + composite signals. Use when you need multiple technical indicators computed from a price series. Provide an array of prices and optional volumes. Returns: SMA, EMA, RSI, MACD, Bollinger Bands, Stochastic %K, ATR, ROC, composite signals (overbought/ove...
periodintegerpricesarrayvolumesarrayrisk_correlationN x N correlation and covariance matrices from return series. Use when computing an N×N correlation matrix for multiple assets. Provide a 2D array of return series. Returns: Pearson correlation matrix, covariance matrix, and eigenvalues for PCA analysis.1 params
N x N correlation and covariance matrices from return series. Use when computing an N×N correlation matrix for multiple assets. Provide a 2D array of return series. Returns: Pearson correlation matrix, covariance matrix, and eigenvalues for PCA analysis.
seriesobjectrisk_position-sizeFixed fractional position sizing with risk/reward targets. Use when calculating how many shares/contracts to buy given account size and risk tolerance. Provide account value, risk percentage, entry price, and stop-loss price. Returns: position size, dollar risk, and shares to...4 params
Fixed fractional position sizing with risk/reward targets. Use when calculating how many shares/contracts to buy given account size and risk tolerance. Provide account value, risk percentage, entry price, and stop-loss price. Returns: position size, dollar risk, and shares to...
account_sizenumberentry_pricenumberrisk_per_tradenumberstop_lossnumberrisk_drawdownDrawdown decomposition with underwater curve. Use when analyzing drawdown characteristics of a return series. Provide an array of returns. Returns: max drawdown, drawdown duration, recovery time, current drawdown, and all drawdown periods with start/end indices.1 params
Drawdown decomposition with underwater curve. Use when analyzing drawdown characteristics of a return series. Provide an array of returns. Returns: max drawdown, drawdown duration, recovery time, current drawdown, and all drawdown periods with start/end indices.
equity_curvearrayindicators_regimeTrend + volatility regime + composite risk classification. Use when classifying market regime (trending vs ranging, high vs low volatility). Provide a price series. Returns: trend regime (bullish/bearish/neutral), volatility regime (high/low/normal), and regime change signals.3 params
Trend + volatility regime + composite risk classification. Use when classifying market regime (trending vs ranging, high vs low volatility). Provide a price series. Returns: trend regime (bullish/bearish/neutral), volatility regime (high/low/normal), and regime change signals.
pricesarraysma_periodintegervol_windowintegerindicators_crossoverGolden/death cross detection with signal history. Use when detecting moving average crossovers (golden cross, death cross). Provide prices and two MA periods. Returns: current MA values, crossover signals, crossover history, and signal strength.3 params
Golden/death cross detection with signal history. Use when detecting moving average crossovers (golden cross, death cross). Provide prices and two MA periods. Returns: current MA values, crossover signals, crossover history, and signal strength.
fast_periodintegerpricesarrayslow_periodintegerfixed-income_bondBond price, Macaulay/modified duration, convexity, DV01. Use when pricing a bond or computing yield, duration, and convexity. Provide face value, coupon rate, maturity, and yield or price. Returns: bond price (or yield), Macaulay duration, modified duration, convexity, and acc...5 params
Bond price, Macaulay/modified duration, convexity, DV01. Use when pricing a bond or computing yield, duration, and convexity. Provide face value, coupon rate, maturity, and yield or price. Returns: bond price (or yield), Macaulay duration, modified duration, convexity, and acc...
coupon_ratenumberfacenumberfrequencyintegeryearsintegerytmnumberfixed-income_amortizationFull amortization schedule with extra payment savings analysis. Use when generating a loan amortization schedule. Provide principal, annual rate, and term in months. Returns: monthly payment, total interest, and a period-by-period schedule of principal, interest, and remaining...4 params
Full amortization schedule with extra payment savings analysis. Use when generating a loan amortization schedule. Provide principal, annual rate, and term in months. Returns: monthly payment, total interest, and a period-by-period schedule of principal, interest, and remaining...
annual_ratenumberextra_paymentnumberprincipalnumberyearsintegerportfolio_optimizePortfolio optimization: max Sharpe, min vol, or risk parity weights. Use when optimizing portfolio weights for max Sharpe, min volatility, or risk parity. Provide expected returns and a covariance matrix. Returns: optimal weights, expected return, volatility, Sharpe ratio, and...3 params
Portfolio optimization: max Sharpe, min vol, or risk parity weights. Use when optimizing portfolio weights for max Sharpe, min volatility, or risk parity. Provide expected returns and a covariance matrix. Returns: optimal weights, expected return, volatility, Sharpe ratio, and...
modestringmax_sharpe · min_vol · risk_paritydefault: max_sharpereturnsobjectrisk_free_ratenumberderivatives_binomial-treeCRR binomial tree pricing for American and European options. Use when pricing American or European options via the CRR binomial lattice. Provide spot, strike, time, rate, volatility, steps, and exercise style. Returns: option price, early exercise boundary, and tree node values.9 params
CRR binomial tree pricing for American and European options. Use when pricing American or European options via the CRR binomial lattice. Provide spot, strike, time, rate, volatility, steps, and exercise style. Returns: option price, early exercise boundary, and tree node values.
KnumberSnumberTnumberexercisestringamerican · europeandefault: europeanqnumberrnumbersigmanumberstepsintegertypestringcall · putdefault: callderivatives_barrier-optionBarrier option pricing using analytical formulas. Use when pricing knock-in or knock-out barrier options. Provide spot, strike, barrier level, barrier type, and standard option parameters. Returns: barrier option price, vanilla equivalent, and barrier adjustment factors.10 params
Barrier option pricing using analytical formulas. Use when pricing knock-in or knock-out barrier options. Provide spot, strike, barrier level, barrier type, and standard option parameters. Returns: barrier option price, vanilla equivalent, and barrier adjustment factors.
HnumberKnumberSnumberTnumberbarrier_typestringup-in · up-out · down-in · down-outdefault: down-outqnumberrnumberrebatenumbersigmanumbertypestringcall · putdefault: callderivatives_asian-optionAsian option pricing: geometric closed-form or arithmetic approximation. Use when pricing Asian (average-price) options. Provide spot, strike, time, rate, volatility, and averaging type. Returns: option price via geometric closed-form or Turnbull-Wakeman approximation.9 params
Asian option pricing: geometric closed-form or arithmetic approximation. Use when pricing Asian (average-price) options. Provide spot, strike, time, rate, volatility, and averaging type. Returns: option price via geometric closed-form or Turnbull-Wakeman approximation.
KnumberSnumberTnumberaveragingstringgeometric · arithmeticdefault: geometricobservationsintegerqnumberrnumbersigmanumbertypestringcall · putdefault: callderivatives_lookback-optionLookback option pricing (floating/fixed strike). Use when pricing lookback options (floating or fixed strike). Provide spot, strike, min/max price, time, rate, and volatility. Returns: lookback option price via Goldman-Sosin-Gatto formulas.10 params
Lookback option pricing (floating/fixed strike). Use when pricing lookback options (floating or fixed strike). Provide spot, strike, min/max price, time, rate, and volatility. Returns: lookback option price via Goldman-Sosin-Gatto formulas.
KnumberSnumberS_maxnumberS_minnumberTnumberlookback_typestringfloating · fixeddefault: floatingqnumberrnumbersigmanumbertypestringcall · putdefault: callderivatives_option-chain-analysisOption chain analytics: skew, max pain, put-call ratios. Use when analyzing an options chain for skew, max pain, and put-call ratios. Provide arrays of strikes, calls, puts, and open interest. Returns: max pain strike, put-call ratio, skew metrics, and implied volatility smile...4 params
Option chain analytics: skew, max pain, put-call ratios. Use when analyzing an options chain for skew, max pain, and put-call ratios. Provide arrays of strikes, calls, puts, and open interest. Returns: max pain strike, put-call ratio, skew metrics, and implied volatility smile...
Tnumberchainarrayrnumberspotnumberderivatives_put-call-parityPut-call parity check and arbitrage detection. Use when checking put-call parity or detecting arbitrage opportunities. Provide call price, put price, spot, strike, rate, and time. Returns: parity check, theoretical values, and any arbitrage amount.7 params
Put-call parity check and arbitrage detection. Use when checking put-call parity or detecting arbitrage opportunities. Provide call price, put price, spot, strike, rate, and time. Returns: parity check, theoretical values, and any arbitrage amount.
KnumberSnumberTnumbercall_pricenumberput_pricenumberqnumberrnumberderivatives_volatility-surfaceBuild implied volatility surface from market data. Use when constructing an implied volatility surface from market data. Provide arrays of strikes, expiries, and IV values. Returns: interpolated IV surface, skew metrics, term structure, and smile parameters.3 params
Build implied volatility surface from market data. Use when constructing an implied volatility surface from market data. Provide arrays of strikes, expiries, and IV values. Returns: interpolated IV surface, skew metrics, term structure, and smile parameters.
interpolationstringlinear · cubicdefault: linearmarket_dataarrayspotnumberstats_linear-regressionOLS linear regression with R-squared, t-stats, and standard errors. Use when fitting a linear regression (OLS). Provide x and y arrays. Returns: slope, intercept, R², adjusted R², t-statistics, p-values, standard errors, confidence intervals, and residuals.3 params
OLS linear regression with R-squared, t-stats, and standard errors. Use when fitting a linear regression (OLS). Provide x and y arrays. Returns: slope, intercept, R², adjusted R², t-statistics, p-values, standard errors, confidence intervals, and residuals.
confidence_levelnumberxvalueyarraystats_polynomial-regressionPolynomial regression of degree n with goodness-of-fit metrics. Use when fitting a polynomial of degree n to data. Provide x, y arrays, and degree. Returns: coefficients, R², fitted values, and residuals.3 params
Polynomial regression of degree n with goodness-of-fit metrics. Use when fitting a polynomial of degree n to data. Provide x, y arrays, and degree. Returns: coefficients, R², fitted values, and residuals.
degreeintegerxarrayyarraystats_cointegrationEngle-Granger cointegration test with hedge ratio and half-life. Use when testing if two time series are cointegrated (mean-reverting pair). Provide two price series. Returns: Engle-Granger test statistic, p-value, critical values, hedge ratio, and spread series.3 params
Engle-Granger cointegration test with hedge ratio and half-life. Use when testing if two time series are cointegrated (mean-reverting pair). Provide two price series. Returns: Engle-Granger test statistic, p-value, critical values, hedge ratio, and spread series.
series_xarrayseries_yarraysignificancestring0.01 · 0.05 · 0.10default: 0.05stats_hurst-exponentHurst exponent via rescaled range (R/S) analysis. Use when determining if a time series is mean-reverting (H<0.5), random walk (H=0.5), or trending (H>0.5). Provide a price or return series. Returns: Hurst exponent via R/S analysis, classification, and confidence.3 params
Hurst exponent via rescaled range (R/S) analysis. Use when determining if a time series is mean-reverting (H<0.5), random walk (H=0.5), or trending (H>0.5). Provide a price or return series. Returns: Hurst exponent via R/S analysis, classification, and confidence.
max_windowintegermin_windowintegerseriesarraystats_garch-forecastGARCH(1,1) volatility forecast using maximum likelihood estimation. Use when forecasting future volatility using a GARCH(1,1) model. Provide a return series. Returns: GARCH parameters (omega, alpha, beta), current conditional volatility, and multi-step ahead volatility forecasts.3 params
GARCH(1,1) volatility forecast using maximum likelihood estimation. Use when forecasting future volatility using a GARCH(1,1) model. Provide a return series. Returns: GARCH parameters (omega, alpha, beta), current conditional volatility, and multi-step ahead volatility forecasts.
forecast_periodsintegermean_modelstringzero · constantdefault: zeroreturnsarraystats_zscoreRolling and static z-scores with extreme value detection. Use when computing z-scores for statistical analysis or detecting extremes. Provide a value or array and reference statistics. Returns: z-scores, mean, standard deviation, and flags for values beyond 2σ or 3σ.3 params
Rolling and static z-scores with extreme value detection. Use when computing z-scores for statistical analysis or detecting extremes. Provide a value or array and reference statistics. Returns: z-scores, mean, standard deviation, and flags for values beyond 2σ or 3σ.
seriesarraythresholdnumberwindowintegerstats_distribution-fitFit data to common distributions and rank by goodness of fit. Use when fitting data to standard distributions (normal, lognormal, uniform). Provide a data array. Returns: best-fit distribution, parameters (mean, std, etc.), goodness-of-fit statistics (KS test, chi-squared), an...1 params
Fit data to common distributions and rank by goodness of fit. Use when fitting data to standard distributions (normal, lognormal, uniform). Provide a data array. Returns: best-fit distribution, parameters (mean, std, etc.), goodness-of-fit statistics (KS test, chi-squared), an...
dataarraystats_correlation-matrixCorrelation and covariance matrices with optional eigenvalue decomposition. Use when computing a correlation matrix with eigenvalue decomposition for multiple assets. Provide a 2D array of return series. Returns: Pearson and Spearman correlation matrices, eigenvalues, eigenvec...3 params
Correlation and covariance matrices with optional eigenvalue decomposition. Use when computing a correlation matrix with eigenvalue decomposition for multiple assets. Provide a 2D array of return series. Returns: Pearson and Spearman correlation matrices, eigenvalues, eigenvec...
include_eigenvaluesbooleanmethodstringpearson · spearmandefault: pearsonseriesobjectcrypto_impermanent-lossImpermanent loss calculator for Uniswap v2/v3 AMM positions. Use when calculating impermanent loss for a liquidity provider position. Provide initial prices and current prices for two tokens. Returns: impermanent loss percentage, hold value vs LP value, and breakeven price rat...6 params
Impermanent loss calculator for Uniswap v2/v3 AMM positions. Use when calculating impermanent loss for a liquidity provider position. Provide initial prices and current prices for two tokens. Returns: impermanent loss percentage, hold value vs LP value, and breakeven price rat...
amm_typestringv2 · v3default: v2current_price_rationumberinitial_investmentnumberinitial_price_rationumberlower_ticknumberupper_ticknumbercrypto_apy-apr-convertConvert between APY and APR with configurable compounding frequency. Use when converting between APY and APR with different compounding frequencies. Provide rate and compounding periods. Returns: equivalent APY, APR, daily/weekly/monthly rates, and effective annual rate.3 params
Convert between APY and APR with configurable compounding frequency. Use when converting between APY and APR with different compounding frequencies. Provide rate and compounding periods. Returns: equivalent APY, APR, daily/weekly/monthly rates, and effective annual rate.
compoundingstringdaily · weekly · monthly · quarterly · continuousdefault: dailyfrom_typestringapy · aprdefault: aprratenumbercrypto_liquidation-priceLiquidation price calculator for leveraged positions. Use when computing the liquidation price for a leveraged position. Provide entry price, leverage, position side, and maintenance margin. Returns: liquidation price, distance to liquidation, and margin call price.7 params
Liquidation price calculator for leveraged positions. Use when computing the liquidation price for a leveraged position. Provide entry price, leverage, position side, and maintenance margin. Returns: liquidation price, distance to liquidation, and margin call price.
collateralnumberdirectionstringlong · shortentry_pricenumberfunding_accumulatednumberleveragenumbermaintenance_margin_ratenumberposition_sizenumbercrypto_funding-rateFunding rate analysis with annualization and regime detection. Use when analyzing perpetual futures funding rates. Provide funding rate, position size, and holding period. Returns: annualized funding cost, projected payments, and carry trade opportunity estimate.3 params
Funding rate analysis with annualization and regime detection. Use when analyzing perpetual futures funding rates. Provide funding rate, position size, and holding period. Returns: annualized funding cost, projected payments, and carry trade opportunity estimate.
funding_ratesarraypayment_interval_hoursintegerposition_sizenumbercrypto_dex-slippageDEX slippage estimator for constant-product AMM (x*y=k). Use when estimating slippage on a DEX trade using constant-product AMM math. Provide trade size and pool reserves. Returns: effective price, price impact percentage, and output amount after slippage.5 params
DEX slippage estimator for constant-product AMM (x*y=k). Use when estimating slippage on a DEX trade using constant-product AMM math. Provide trade size and pool reserves. Returns: effective price, price impact percentage, and output amount after slippage.
fee_bpsintegerreserve_anumberreserve_bnumbertrade_amountnumbertrade_directionstringa_to_b · b_to_adefault: a_to_bcrypto_vesting-scheduleToken vesting schedule with cliff, linear/graded unlock, and TGE. Use when computing a token vesting schedule with cliff and linear vesting. Provide total tokens, cliff period, vesting duration, and TGE unlock percentage. Returns: period-by-period unlock schedule with cumulati...6 params
Token vesting schedule with cliff, linear/graded unlock, and TGE. Use when computing a token vesting schedule with cliff and linear vesting. Provide total tokens, cliff period, vesting duration, and TGE unlock percentage. Returns: period-by-period unlock schedule with cumulati...
cliff_monthsintegerstart_datestringtge_pctnumbertotal_tokensnumbervesting_monthsintegervesting_typestringlinear · monthly_cliff · quarterlydefault: linearcrypto_rebalance-thresholdPortfolio rebalance analyzer: drift detection and trade computation. Use when checking if a crypto portfolio needs rebalancing. Provide target weights and current weights. Returns: whether rebalancing is needed, drift per asset, and trade list to restore targets.3 params
Portfolio rebalance analyzer: drift detection and trade computation. Use when checking if a crypto portfolio needs rebalancing. Provide target weights and current weights. Returns: whether rebalancing is needed, drift per asset, and trade list to restore targets.
holdingsarraymin_trade_usdnumberthreshold_pctnumberfx_interest-rate-parityInterest rate parity calculator with arbitrage detection. Use when computing covered/uncovered interest rate parity for FX pairs. Provide domestic rate, foreign rate, and spot rate. Returns: theoretical forward rate, parity-implied rate, and arbitrage opportunity if any.6 params
Interest rate parity calculator with arbitrage detection. Use when computing covered/uncovered interest rate parity for FX pairs. Provide domestic rate, foreign rate, and spot rate. Returns: theoretical forward rate, parity-implied rate, and arbitrage opportunity if any.
actual_forwardnumberdomestic_ratenumberforeign_ratenumberparity_typestringcovered · uncovereddefault: coveredspot_ratenumbertime_yearsnumberfx_purchasing-power-parityPurchasing power parity fair value estimation. Use when estimating fair value of an FX rate using PPP. Provide domestic and foreign price indices and base-period exchange rate. Returns: PPP-implied fair value rate and over/undervaluation percentage.4 params
Purchasing power parity fair value estimation. Use when estimating fair value of an FX rate using PPP. Provide domestic and foreign price indices and base-period exchange rate. Returns: PPP-implied fair value rate and over/undervaluation percentage.
base_spot_ratenumberdomestic_inflationnumberforeign_inflationnumbertime_yearsnumberfx_forward-rateBootstrap forward rates from a spot yield curve. Use when bootstrapping forward rates from a yield curve. Provide spot rates at various tenors. Returns: implied forward rates between each tenor pair.4 params
Bootstrap forward rates from a spot yield curve. Use when bootstrapping forward rates from a yield curve. Provide spot rates at various tenors. Returns: implied forward rates between each tenor pair.
compoundingstringcontinuous · annual · semidefault: continuousforward_endnumberforward_startnumberyield_curvearrayfx_carry-tradeCurrency carry trade P&L decomposition. Use when analyzing carry trade P&L decomposition. Provide high-yield and low-yield rates, entry spot rate, and exit spot rate. Returns: carry return, spot return, total return, and annualized P&L breakdown.7 params
Currency carry trade P&L decomposition. Use when analyzing carry trade P&L decomposition. Provide high-yield and low-yield rates, entry spot rate, and exit spot rate. Returns: carry return, spot return, total return, and annualized P&L breakdown.
borrow_currency_ratenumberholding_period_daysintegerinvest_currency_ratenumberleveragenumbernotionalnumberspot_entrynumberspot_exitnumbermacro_inflation-adjustedConvert nominal returns to real returns using Fisher equation. Use when converting nominal returns to real returns using the Fisher equation. Provide nominal rate and inflation rate. Returns: real return, purchasing power change, and cumulative real growth over a period.4 params
Convert nominal returns to real returns using Fisher equation. Use when converting nominal returns to real returns using the Fisher equation. Provide nominal rate and inflation rate. Returns: real return, purchasing power change, and cumulative real growth over a period.
inflation_rate_pctnumberinitial_valuenumbernominal_return_pctnumberperiodsintegermacro_taylor-ruleTaylor Rule interest rate prescription. Use when estimating the appropriate policy interest rate via the Taylor Rule. Provide inflation, target inflation, output gap, and neutral rate. Returns: Taylor Rule implied rate and deviation from current policy rate.7 params
Taylor Rule interest rate prescription. Use when estimating the appropriate policy interest rate via the Taylor Rule. Provide inflation, target inflation, output gap, and neutral rate. Returns: Taylor Rule implied rate and deviation from current policy rate.
current_inflationnumbercurrent_policy_ratenumberinflation_weightnumberneutral_real_ratenumberoutput_gap_pctnumberoutput_weightnumbertarget_inflationnumbermacro_real-yieldReal yield and breakeven inflation from nominal yields. Use when computing real yield and breakeven inflation. Provide nominal yield and inflation expectation (or TIPS yield). Returns: real yield, breakeven inflation rate, and inflation risk premium estimate.4 params
Real yield and breakeven inflation from nominal yields. Use when computing real yield and breakeven inflation. Provide nominal yield and inflation expectation (or TIPS yield). Returns: real yield, breakeven inflation rate, and inflation risk premium estimate.
inflation_expectationnumbernominal_yieldnumbertenor_yearsnumbertips_yieldnumberrisk_var-parametricParametric Value-at-Risk and Conditional VaR. Use when computing Value-at-Risk and Conditional VaR using parametric methods. Provide returns and confidence level. Returns: VaR, CVaR, and distribution parameters under normal or Student-t assumptions.4 params
Parametric Value-at-Risk and Conditional VaR. Use when computing Value-at-Risk and Conditional VaR using parametric methods. Provide returns and confidence level. Returns: VaR, CVaR, and distribution parameters under normal or Student-t assumptions.
confidence_levelsarrayholding_period_daysintegerportfolio_valuenumberreturnsarrayrisk_stress-testPortfolio stress test across multiple scenarios. Use when stress-testing a portfolio against multiple scenarios. Provide portfolio weights, asset returns, and scenario definitions (e.g. market crash, rate hike). Returns: portfolio P&L under each scenario with component-level b...2 params
Portfolio stress test across multiple scenarios. Use when stress-testing a portfolio against multiple scenarios. Provide portfolio weights, asset returns, and scenario definitions (e.g. market crash, rate hike). Returns: portfolio P&L under each scenario with component-level b...
positionsarrayscenariosarrayoptions_payoff-diagramMulti-leg options payoff diagram data generation. Use when you need payoff/P&L data points for plotting an options strategy. Provide legs with strike, premium, quantity, and type. Returns: array of price/payoff pairs for charting, plus key metrics (breakevens, max profit/loss).4 params
Multi-leg options payoff diagram data generation. Use when you need payoff/P&L data points for plotting an options strategy. Provide legs with strike, premium, quantity, and type. Returns: array of price/payoff pairs for charting, plus key metrics (breakevens, max profit/loss).
legsarraypointsintegerprice_range_pctnumberspotnumberfi_yield-curve-interpolateYield curve interpolation: linear, cubic spline, or Nelson-Siegel. Use when interpolating a yield curve at arbitrary maturities. Provide observed maturities and yields, plus query maturities. Returns: interpolated yields via linear, cubic spline, or Nelson-Siegel models.4 params
Yield curve interpolation: linear, cubic spline, or Nelson-Siegel. Use when interpolating a yield curve at arbitrary maturities. Provide observed maturities and yields, plus query maturities. Returns: interpolated yields via linear, cubic spline, or Nelson-Siegel models.
methodstringlinear · cubic · nelson_siegeldefault: linearratesarraytarget_tenorsarraytenorsarrayfi_credit-spreadCredit spread and Z-spread from bond price vs risk-free curve. Use when computing Z-spread and implied default probability from a corporate bond price. Provide bond price, coupon, maturity, and risk-free curve. Returns: Z-spread, option-adjusted spread, implied default probabi...6 params
Credit spread and Z-spread from bond price vs risk-free curve. Use when computing Z-spread and implied default probability from a corporate bond price. Provide bond price, coupon, maturity, and risk-free curve. Returns: Z-spread, option-adjusted spread, implied default probabi...
bond_pricenumbercoupon_ratenumberface_valuenumbermaturity_yearsintegerpayment_frequencyintegerrisk_free_curvearrayindicators_bollinger-bandsBollinger Bands with %B, bandwidth, and squeeze detection. Use when computing Bollinger Bands with squeeze detection. Provide prices and optional period/multiplier. Returns: upper/mid/lower bands, %B, bandwidth, squeeze flag, and current position relative to bands.3 params
Bollinger Bands with %B, bandwidth, and squeeze detection. Use when computing Bollinger Bands with squeeze detection. Provide prices and optional period/multiplier. Returns: upper/mid/lower bands, %B, bandwidth, squeeze flag, and current position relative to bands.
num_stdnumberpricesarraywindowintegerindicators_fibonacci-retracementFibonacci retracement and extension levels. Use when computing Fibonacci retracement and extension levels. Provide a high price and low price. Returns: retracement levels (23.6%, 38.2%, 50%, 61.8%, 78.6%) and extension levels (127.2%, 161.8%, 261.8%).3 params
Fibonacci retracement and extension levels. Use when computing Fibonacci retracement and extension levels. Provide a high price and low price. Returns: retracement levels (23.6%, 38.2%, 50%, 61.8%, 78.6%) and extension levels (127.2%, 161.8%, 261.8%).
directionstringup · downdefault: upswing_highnumberswing_lownumberindicators_atrAverage True Range with normalized ATR and volatility regime. Use when measuring volatility via Average True Range. Provide an array of prices. Returns: current ATR, normalized ATR (as % of price), ATR history, and volatility regime classification.4 params
Average True Range with normalized ATR and volatility regime. Use when measuring volatility via Average True Range. Provide an array of prices. Returns: current ATR, normalized ATR (as % of price), ATR history, and volatility regime classification.
closearrayhigharraylowarrayperiodintegerportfolio_risk-parity-weightsEqual risk contribution portfolio weights. Use when computing equal risk contribution (risk parity) portfolio weights. Provide a covariance matrix. Returns: risk parity weights and each asset's contribution to total portfolio risk.4 params
Equal risk contribution portfolio weights. Use when computing equal risk contribution (risk parity) portfolio weights. Provide a covariance matrix. Returns: risk parity weights and each asset's contribution to total portfolio risk.
asset_namesarraycorrelation_matrixarrayrisk_budgetarrayvolatilitiesarrayrisk_transaction-costTransaction cost model: commission + spread + market impact estimation. Use when estimating total transaction costs including commissions, spread, and market impact. Provide trade size, price, spread, and commission structure. Returns: total cost, cost breakdown, and cost as p...9 params
Transaction cost model: commission + spread + market impact estimation. Use when estimating total transaction costs including commissions, spread, and market impact. Provide trade size, price, spread, and commission structure. Returns: total cost, cost breakdown, and cost as p...
advnumbercommission_flatnumbercommission_pctnumbercommission_per_sharenumbermarket_impact_bpsnumberparticipation_ratenumbersharesintegerspread_bpsnumbertrade_valuenumberstats_probabilistic-sharpeProbabilistic Sharpe Ratio — is the observed Sharpe statistically significant? Based on Bailey & Lopez de Prado (2012). Use when testing whether a Sharpe ratio is statistically significant. Provide returns and a benchmark Sharpe. Returns: probabilistic Sharpe ratio (probabilit...4 params
Probabilistic Sharpe Ratio — is the observed Sharpe statistically significant? Based on Bailey & Lopez de Prado (2012). Use when testing whether a Sharpe ratio is statistically significant. Provide returns and a benchmark Sharpe. Returns: probabilistic Sharpe ratio (probabilit...
annualization_factorintegerbenchmark_sharpenumberreturnsarrayrisk_free_ratenumbertvm_present-valuePresent value of a future lump sum and/or annuity stream. Use when computing the present value of a future cash flow. Provide future value, discount rate, and number of periods. Returns: present value and discount factor.5 params
Present value of a future lump sum and/or annuity stream. Use when computing the present value of a future cash flow. Provide future value, discount rate, and number of periods. Returns: present value and discount factor.
future_valuenumberpaymentnumberpayment_timingstringend · begindefault: endperiodsintegerratenumbertvm_future-valueFuture value of a present lump sum and/or annuity stream. Use when computing the future value of a present sum. Provide present value, interest rate, and number of periods. Returns: future value, total interest earned, and growth factor.5 params
Future value of a present lump sum and/or annuity stream. Use when computing the future value of a present sum. Provide present value, interest rate, and number of periods. Returns: future value, total interest earned, and growth factor.
paymentnumberpayment_timingstringend · begindefault: endperiodsintegerpresent_valuenumberratenumbertvm_irrInternal rate of return via Newton-Raphson. First cash flow is typically negative (investment). Use when computing the internal rate of return for a cash flow series. Provide an array of cash flows. Returns: IRR (decimal), annualized IRR, and NPV at the computed IRR (should be...1 params
Internal rate of return via Newton-Raphson. First cash flow is typically negative (investment). Use when computing the internal rate of return for a cash flow series. Provide an array of cash flows. Returns: IRR (decimal), annualized IRR, and NPV at the computed IRR (should be...
cash_flowsarraytvm_npvNet present value of a cash flow series at a given discount rate. Use when computing net present value of a series of cash flows. Provide discount rate and an array of cash flows (first is typically negative for initial investment). Returns: NPV, profitability index, and disco...2 params
Net present value of a cash flow series at a given discount rate. Use when computing net present value of a series of cash flows. Provide discount rate and an array of cash flows (first is typically negative for initial investment). Returns: NPV, profitability index, and disco...
cash_flowsarraydiscount_ratenumberstats_realized-volatilityRealized volatility: close-to-close, Parkinson, Garman-Klass, Yang-Zhang from OHLC. Use when computing historical/realized volatility from a return series. Provide returns and optional annualization factor. Returns: realized volatility (close-to-close), annualized vol, and rol...5 params
Realized volatility: close-to-close, Parkinson, Garman-Klass, Yang-Zhang from OHLC. Use when computing historical/realized volatility from a return series. Provide returns and optional annualization factor. Returns: realized volatility (close-to-close), annualized vol, and rol...
annualization_factorintegerclosearrayhigharraylowarrayopenarraystats_normal-distributionNormal distribution: CDF, PDF, quantile, and confidence intervals. Use when computing normal distribution CDF, PDF, quantiles, or confidence intervals. Provide x (for CDF/PDF), p (for quantile), or confidence_level (for interval), with optional mean and std. Returns: CDF proba...5 params
Normal distribution: CDF, PDF, quantile, and confidence intervals. Use when computing normal distribution CDF, PDF, quantiles, or confidence intervals. Provide x (for CDF/PDF), p (for quantile), or confidence_level (for interval), with optional mean and std. Returns: CDF proba...
confidence_levelnumbermeannumberpnumberstdnumberxnumberstats_sharpe-ratioStandalone Sharpe ratio from a returns series. Use when computing the Sharpe ratio from a return series. Provide returns and risk-free rate. Returns: annualized Sharpe ratio, annualized return, annualized volatility, and risk-adjusted metrics.3 params
Standalone Sharpe ratio from a returns series. Use when computing the Sharpe ratio from a return series. Provide returns and risk-free rate. Returns: annualized Sharpe ratio, annualized return, annualized volatility, and risk-adjusted metrics.
annualization_factorintegerreturnsarrayrisk_free_ratenumbertvm_cagrCompound Annual Growth Rate with optional forward projections. Use when computing compound annual growth rate. Provide beginning value, ending value, and number of years. Returns: CAGR (decimal), total return, and equivalent annual return.4 params
Compound Annual Growth Rate with optional forward projections. Use when computing compound annual growth rate. Provide beginning value, ending value, and number of years. Returns: CAGR (decimal), total return, and equivalent annual return.
end_valuenumberinclude_projectionsbooleanstart_valuenumberyearsnumberoptions_spread-scanScan and rank vertical spreads by risk/reward. Replaces 8-16 individual options/price calls. Use when you need to evaluate and rank multiple vertical spread candidates at once. Instead of calling options/price 8-16 times, this scans all strike combinations in one call. Provide...8 params
Scan and rank vertical spreads by risk/reward. Replaces 8-16 individual options/price calls. Use when you need to evaluate and rank multiple vertical spread candidates at once. Instead of calling options/price 8-16 times, this scans all strike combinations in one call. Provide...
dte_yearsnumbernum_candidatesintegerqnumberrnumberspotnumberstrategystringbull_call_spread · bear_put_spread · bull_put_spread · bear_call_spreaddefault: bull_call_spreadstrike_range_pctnumbervolnumberindicators_regime-classifyCombined regime classification: trend, vol, RSI, direction, strategy suggestion. Replaces technical + regime + realized-vol. Use when you need a complete market regime assessment combining trend, volatility, RSI, and directional signals. Instead of calling technical + regime +...7 params
Combined regime classification: trend, vol, RSI, direction, strategy suggestion. Replaces technical + regime + realized-vol. Use when you need a complete market regime assessment combining trend, volatility, RSI, and directional signals. Instead of calling technical + regime +...
closesarrayhighsarraylowsarrayopensarrayrsi_periodintegersma_periodintegervol_windowintegerrisk_full-analysisComplete risk tearsheet: Sharpe, Sortino, VaR, Kelly, drawdown, Hurst, CAGR. Replaces 7 individual calls. Use when you need a complete risk tearsheet for a return series. Instead of calling 7 individual risk/stats endpoints, this returns Sharpe, Sortino, Calmar, VaR, CVaR, Kel...4 params
Complete risk tearsheet: Sharpe, Sortino, VaR, Kelly, drawdown, Hurst, CAGR. Replaces 7 individual calls. Use when you need a complete risk tearsheet for a return series. Instead of calling 7 individual risk/stats endpoints, this returns Sharpe, Sortino, Calmar, VaR, CVaR, Kel...
equity_curvearrayportfolio_valuenumberreturnsarrayrisk_free_ratenumbertrade_evaluateComplete trade evaluation: sizing, risk/reward, Kelly, costs, regime, signals. Replaces 5 individual calls. Use when evaluating whether to take a specific trade. Combines position sizing, risk/reward analysis, transaction cost estimation, regime detection, and technical signal...10 params
Complete trade evaluation: sizing, risk/reward, Kelly, costs, regime, signals. Replaces 5 individual calls. Use when evaluating whether to take a specific trade. Combines position sizing, risk/reward analysis, transaction cost estimation, regime detection, and technical signal...
account_sizenumberadvnumbercommission_per_sharenumberentry_pricenumberpricesarrayreturnsarrayrisk_per_tradenumberspread_bpsnumberstop_lossnumbertake_profitnumberportfolio_healthFull portfolio health check: risk metrics, correlation, drawdown, rebalance, stress test. Replaces 6 individual calls. Use when you need a complete portfolio health check. Combines risk metrics, correlation matrix, drawdown analysis, rebalance detection, and stress testing (20...4 params
Full portfolio health check: risk metrics, correlation, drawdown, rebalance, stress test. Replaces 6 individual calls. Use when you need a complete portfolio health check. Combines risk metrics, correlation matrix, drawdown analysis, rebalance detection, and stress testing (20...
holdingsarraymin_trade_usdnumberrebalance_threshold_pctnumberrisk_free_ratenumberpairs_signalComplete pairs trading signal: cointegration, Hurst, z-score, half-life, hedge ratio. Replaces 4 individual calls. Use when analyzing a pairs trading opportunity. Combines cointegration testing, Hurst exponent, z-score analysis, half-life estimation, and trade signal generatio...5 params
Complete pairs trading signal: cointegration, Hurst, z-score, half-life, hedge ratio. Replaces 4 individual calls. Use when analyzing a pairs trading opportunity. Combines cointegration testing, Hurst exponent, z-score analysis, half-life estimation, and trade signal generatio...
name_astringname_bstringseries_aarrayseries_barraysignificancestring0.01 · 0.05 · 0.10default: 0.05batchExecute multiple computations in a single request. Max 100 per batch. Use when you need to execute multiple computations efficiently. Bundle up to 100 individual endpoint calls into a single request for ~6x throughput improvement. Provide an array of {endpoint, params} objects...1 params
Execute multiple computations in a single request. Max 100 per batch. Use when you need to execute multiple computations efficiently. Bundle up to 100 individual endpoint calls into a single request for ~6x throughput improvement. Provide an array of {endpoint, params} objects...
requestsarraybacktest_strategyDeterministic backtest of SMA crossover, RSI mean reversion, momentum, or Bollinger breakout. Replaces 10+ individual calls. Use when backtesting a trading strategy on price history. Strategies: sma_crossover (params: fast, slow), rsi_mean_reversion (params: period, oversold,...6 params
Deterministic backtest of SMA crossover, RSI mean reversion, momentum, or Bollinger breakout. Replaces 10+ individual calls. Use when backtesting a trading strategy on price history. Strategies: sma_crossover (params: fast, slow), rsi_mean_reversion (params: period, oversold,...
commission_bpsnumberinitial_capitalnumberparamsobjectpricesarrayslippage_bpsnumberstrategystringportfolio_rebalance-planGenerate trade list to rebalance from current holdings to target weights with transaction cost estimate. Use when generating the exact trades needed to rebalance a portfolio from current holdings to target weights. Provide current_holdings (asset -> USD value), target_weights...4 params
Generate trade list to rebalance from current holdings to target weights with transaction cost estimate. Use when generating the exact trades needed to rebalance a portfolio from current holdings to target weights. Provide current_holdings (asset -> USD value), target_weights...
current_holdingsobjectmin_trade_usdnumbertarget_weightsobjecttransaction_cost_bpsnumberoptions_strategy-optimizerRank top options strategies given market outlook + volatility view. Returns P&L, breakevens, max profit/loss for each. Use when agents need to pick the best options strategy given a market outlook. Provide spot price, outlook (bullish/bearish/neutral), vol_view (rising/falling...8 params
Rank top options strategies given market outlook + volatility view. Returns P&L, breakevens, max profit/loss for each. Use when agents need to pick the best options strategy given a market outlook. Provide spot price, outlook (bullish/bearish/neutral), vol_view (rising/falling...
SnumberTnumbercapitalnumberoutlookstringqnumberrnumbersigmanumbervol_viewstringhedging_recommendRank cheapest effective hedges for a given position. Compares protective puts, collars, inverse hedges. Use when agents need to hedge an existing position. Provide position_type (long_stock/short_stock/long_crypto/long_options), position_value, asset_price, volatility, time_ho...7 params
Rank cheapest effective hedges for a given position. Compares protective puts, collars, inverse hedges. Use when agents need to hedge an existing position. Provide position_type (long_stock/short_stock/long_crypto/long_options), position_value, asset_price, volatility, time_ho...
asset_pricenumbermax_hedge_cost_pctnumberposition_typestringposition_valuenumberrnumbertime_horizon_daysintegervolatilitynumberSponsors
Readme
QuantOracle
The quantitative computation API for autonomous financial agents
63 deterministic, citation-verified calculators + 10 composite workflows. 1,000 free calls/day. Pay-per-call on Base or Solana.
Details
- Repository
- github.com/quantoracledev/quantoracle
- Package
quantoracle-mcp- Transport
- STDIO
- Registry
- MCP registry, active