Skip to main content
Glama

なぜQuantOracleなのか?

すべての金融エージェントには数学が必要です。QuantOracleがその数学を提供します。

  • 63の純粋な計算機: オプション、デリバティブ、リスク、ポートフォリオ、統計、暗号資産/DeFi、FX/マクロ、貨幣の時間的価値(TVM)を網羅

  • 依存関係ゼロ: 市場データ、アカウント、サードパーティAPIへの依存なし。数値を入力し、数値を受け取るだけ

  • 決定論的: 同じ入力からは常に同じ出力が得られるため、エージェントはキャッシュ、検証、呼び出しの連鎖が可能

  • 引用検証済み: すべての数式は公開された教科書(Hull、Wilmott、Bailey & Lopez de Prado)の値でテスト済み

  • 120の精度ベンチマーク: 解析的解法で合格済み

  • サブミリ秒: ほとんどのエンドポイントで高速な応答時間

  • 無料枠: 1IPあたり1日1,000コールまで無料。APIキー不要、登録不要、摩擦ゼロ

QuantOracleは繰り返し呼び出されることを想定して設計されています。バックテストを実行するエージェントは、1回の反復で10以上のエンドポイントを呼び出すかもしれません。それがこのモデルです。エージェントがクオンツ数学を必要とするたびに頼る計算機であり続けます。


Related MCP server: Toolstem MCP Server

クイックスタート

# Call any endpoint -- no setup required
curl -X POST https://api.quantoracle.dev/v1/options/price \
  -H "Content-Type: application/json" \
  -d '{"S": 100, "K": 105, "T": 0.5, "r": 0.05, "sigma": 0.2, "type": "call"}'
{
  "price": 3.6862,
  "greeks": {
    "delta": 0.4467,
    "gamma": 0.0281,
    "theta": -0.0113,
    "vega": 0.2653,
    "rho": 0.1989
  },
  "d1": -0.1331,
  "d2": -0.2745,
  "ms": 0.04
}

Python

import requests

# Black-Scholes pricing
r = requests.post("https://api.quantoracle.dev/v1/options/price", json={
    "S": 100, "K": 105, "T": 0.5, "r": 0.05, "sigma": 0.2, "type": "call"
})
print(r.json()["price"])  # 3.6862

# Portfolio risk metrics (22 metrics from a returns series)
r = requests.post("https://api.quantoracle.dev/v1/risk/portfolio", json={
    "returns": [0.01, -0.005, 0.008, -0.003, 0.012, -0.001, 0.006, -0.009, 0.004, 0.002]
})
print(r.json()["risk"]["sharpe"])  # Annualized Sharpe

# Kelly Criterion
r = requests.post("https://api.quantoracle.dev/v1/risk/kelly", json={
    "mode": "discrete", "win_rate": 0.55, "avg_win": 1.5, "avg_loss": 1.0
})
print(r.json()["half_kelly"])  # Recommended bet fraction

# Monte Carlo simulation
r = requests.post("https://api.quantoracle.dev/v1/simulate/montecarlo", json={
    "initial_value": 100000, "annual_return": 0.08, "annual_vol": 0.15, "years": 10, "simulations": 1000
})
print(r.json()["terminal"]["median"])  # Median portfolio value at year 10

TypeScript

const res = await fetch("https://api.quantoracle.dev/v1/options/price", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ S: 100, K: 105, T: 0.5, r: 0.05, sigma: 0.2, type: "call" })
});
const { price, greeks } = await res.json();
const { delta, gamma, vega } = greeks;

CLI

全63エンドポイントをターミナルで利用可能。依存関係ゼロ。

npm install -g quantoracle-cli

またはインストールせずに実行:

npx quantoracle-cli bs --spot 185 --strike 190 --expiry 0.25 --vol 0.25
  QuantOracle · Black-Scholes (call)
  ────────────────────────────────────
  Price           $8.02
  Intrinsic       $0.00
  Time Value      $8.02
  Breakeven      $198.02
  Prob ITM        43.0%

  Greeks
  ────────────────────────────────────
  Delta            0.4797
  Gamma            0.0172
  Theta           -0.0615/day
  Vega             0.3685
  ────────────────────────────────────
  ⏱ 0.05ms · api.quantoracle.dev
# Kelly criterion
qo kelly --win-rate 0.55 --avg-win 120 --avg-loss 100

# Monte Carlo
qo mc --value 80000 --return 0.10 --vol 0.18 --years 2

# JSON output for scripting
qo bs --spot 185 --strike 190 --expiry 0.25 --vol 0.25 --json | jq '.greeks.delta'

# Data from file
qo risk portfolio --returns @returns.txt

# All commands
qo help

無料枠

1IPあたり1日1,000コールまで無料。登録不要。APIキー不要。APIを呼び出すだけです。

無料

有料 (x402)

コール数

1,000/日

無制限

認証

なし

x402マイクロペイメントヘッダー

エンドポイント

全63

全63

レートヘッダー

あり

あり

すべてのレスポンスにはレート制限ヘッダーが含まれており、エージェントが自己管理可能です:

X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 847
X-RateLimit-Reset: 2025-01-15T00:00:00Z

使用状況はいつでも確認可能:

curl https://api.quantoracle.dev/usage

1,000コールを超えると、APIはx402決済ヘッダーと共に 402 Payment Required を返します。x402互換エージェントは自動的に支払いを行い、継続します:

HTTP/1.1 402 Payment Required
PAYMENT-REQUIRED: <base64-encoded payment instructions>

ティア

価格

エンドポイント

Simple

$0.002

Zスコア、APY/APR、フィボナッチ、ボリンジャーバンド、ATR、テイラー・ルール、インフレ、実質利回り、PV、FV、NPV、CAGR、正規分布、シャープレシオ、清算価格、プット・コール・パリティ

Medium

$0.005

ブラック・ショールズ、インプライド・ボラティリティ、ケリー基準、ポジションサイジング、ドローダウン、レジーム、クロスオーバー、債券償却、キャリートレード、IRP、PPP、ファンディングレート、スリッページ、ベスティング、リバランス、IRR、実現ボラティリティ、PSR、取引コスト

Complex

$0.008

ポートフォリオリスク、二項ツリー、バリア/アジア/ルックバックオプション、クレジットスプレッド、VaR、ストレステスト、回帰分析、共和分、ハースト指数、分布適合、リスクパリティ

Heavy

$0.015

モンテカルロ、GARCH、ポートフォリオ最適化、オプションチェーン分析、ボラティリティ・サーフェス、イールドカーブ、相関行列


x402決済

QuantOracleは、コールごとのマイクロペイメントに x402プロトコル を使用しています。エージェントが無料枠を使い切ると、APIは支払い指示を含む標準的な 402 レスポンスを返します。x402互換エージェント(Coinbase AgentKit、OpenClawなど)はこれを自動的に処理します:

  1. エージェントがエンドポイントを呼び出し、PAYMENT-REQUIRED ヘッダー付きの 402 を受け取る

  2. エージェントがガス代不要のUSDC送金承認(EIP-3009)に署名する

  3. エージェントが PAYMENT-SIGNATURE ヘッダーを付けてリクエストを再送する

  4. サーバーがCDPファシリテーター経由で検証し、レスポンスを提供し、オンチェーンで決済する

APIキー不要。サブスクリプション不要。アカウント不要。数学とマイクロペイメントのみ。

  • 通貨: Base上のUSDC (チェーンID 8453)

  • 決済: Coinbase Developer Platformファシリテーター経由

  • ウォレット: 0xC94f5F33ae446a50Ce31157db81253BfddFE2af6


MCPサーバー

QuantOracleは63のツールを備えたネイティブMCPサーバーとして利用可能です。Claude Desktop、Cursor、Windsurf、およびMCP互換クライアントで動作します。

npm経由でインストール

npx quantoracle-mcp

Claude Desktop / Claude Code

設定でコネクタとして追加するか、claude_desktop_config.json に追加してください:

{
  "mcpServers": {
    "quantoracle": {
      "url": "https://mcp.quantoracle.dev/mcp"
    }
  }
}

またはnpx経由でローカル実行:

{
  "mcpServers": {
    "quantoracle": {
      "command": "npx",
      "args": ["-y", "quantoracle-mcp"]
    }
  }
}

リモートMCP (ストリーミングHTTP)

ホストされたサーバーに直接接続します(インストール不要):

https://mcp.quantoracle.dev/mcp

Smithery

npx @smithery/cli mcp add https://server.smithery.ai/QuantOracle/quantoracle

OpenClaw / ClawHub

clawhub install quantoracle

統合

QuantOracleは複数のエージェントエコシステムで利用可能です:

プラットフォーム

接続方法

Claude Desktop / Claude Code

コネクタURL: https://mcp.quantoracle.dev/mcp

Cursor / Windsurf

MCP設定: npx quantoracle-mcp

Smithery

npx @smithery/cli mcp add QuantOracle/quantoracle

OpenClaw / ClawHub

clawhub install quantoracle

CLI

npm install -g quantoracle-cli または npx quantoracle-cli

Glama

glama.ai/mcp/servers

npm (MCP)

npx quantoracle-mcp

x402エコシステム

x402.org/ecosystem

REST API

https://api.quantoracle.dev/v1/...

OpenAPI仕様

https://api.quantoracle.dev/openapi.json

Swagger UI

https://api.quantoracle.dev/docs

ツール探索

# List all 63 tools with paths and pricing
curl https://api.quantoracle.dev/tools

# Health check
curl https://api.quantoracle.dev/health

# Usage check
curl https://api.quantoracle.dev/usage

# MCP server card
curl https://mcp.quantoracle.dev/.well-known/mcp/server-card.json

全エンドポイントリファレンス

オプション (4エンドポイント)

エンドポイント

説明

価格

POST /v1/options/price

10のグリークス(デルタからカラーまで)を含むブラック・ショールズ価格設定

$0.005

POST /v1/options/implied-vol

ニュートン・ラフソン法によるインプライド・ボラティリティ計算機

$0.005

POST /v1/options/strategy

マルチレッグ・オプション戦略の損益、損益分岐点、最大利益/損失

$0.008

POST /v1/options/payoff-diagram

マルチレッグ・オプションのペイオフ図データ生成

$0.005

デリバティブ (7エンドポイント)

エンドポイント

説明

価格

POST /v1/derivatives/binomial-tree

米国型および欧州型オプションのCRR二項ツリー価格設定

$0.008

POST /v1/derivatives/barrier-option

解析式を用いたバリアオプション価格設定

$0.008

POST /v1/derivatives/asian-option

アジア型オプション価格設定:幾何学的閉形式または算術近似

$0.008

POST /v1/derivatives/lookback-option

ルックバックオプション価格設定(変動/固定ストライク、Goldman-Sosin-Gatto)

$0.008

POST /v1/derivatives/option-chain-analysis

オプションチェーン分析:スキュー、マックスペイン、プット・コール・レシオ

$0.015

POST /v1/derivatives/put-call-parity

プット・コール・パリティチェックおよび裁定取引検出

$0.002

POST /v1/derivatives/volatility-surface

市場データからインプライド・ボラティリティ・サーフェスを構築

$0.015

リスク (8エンドポイント)

エンドポイント

説明

価格

POST /v1/risk/portfolio

22のリスク指標:シャープ、ソルティノ、カルマー、オメガ、VaR、CVaR、ドローダウン

$0.008

POST /v1/risk/kelly

ケリー基準:離散(勝敗)または連続(リターン系列)

$0.005

POST /v1/risk/position-size

リスク/リワード目標を伴う固定比率ポジションサイジング

$0.005

POST /v1/risk/drawdown

アンダーウォーターカーブを伴うドローダウン分解

$0.005

POST /v1/risk/correlation

リターン系列からのN x N相関および共分散行列

$0.008

POST /v1/risk/var-parametric

パラメトリックVaRおよび条件付きVaR

$0.008

POST /v1/risk/stress-test

複数のシナリオにわたるポートフォリオ・ストレステスト

$0.008

POST /v1/risk/transaction-cost

取引コストモデル:手数料 + スプレッド + Almgren市場インパクト

$0.005

インジケーター (6エンドポイント)

エンドポイント

説明

価格

POST /v1/indicators/technical

13のテクニカル指標(SMA、EMA、RSI、MACDなど)+ 複合シグナル

$0.005

POST /v1/indicators/regime

トレンド + ボラティリティレジーム + 複合リスク分類

$0.005

POST /v1/indicators/crossover

シグナル履歴を伴うゴールデン/デッドクロス検出

$0.005

POST /v1/indicators/bollinger-bands

%B、バンド幅、スクイーズ検出を伴うボリンジャーバンド

$0.002

POST /v1/indicators/fibonacci-retracement

フィボナッチ・リトレースメントおよびエクステンションレベル

$0.002

POST /v1/indicators/atr

正規化ATRおよびボラティリティレジームを伴う平均真のレンジ(ATR)

$0.002

統計 (10エンドポイント)

エンドポイント

説明

価格

POST /v1/stats/linear-regression

R二乗、t統計量、標準誤差を伴うOLS線形回帰

$0.008

POST /v1/stats/polynomial-regression

適合度指標を伴うn次多項式回帰

$0.008

POST /v1/stats/cointegration

ヘッジ比率と半減期を伴うEngle-Granger共和分検定

$0.008

POST /v1/stats/hurst-exponent

再スケーリングレンジ(R/S)分析によるハースト指数

$0.008

POST /v1/stats/garch-forecast

最尤推定を用いたGARCH(1,1)ボラティリティ予測

$0.015

POST /v1/stats/zscore

極値検出を伴うローリングおよび静的Zスコア

$0.002

POST /v1/stats/distribution-fit

一般的な分布へのデータ適合と

Available Tools

74 tools
backtest_strategyA
Read-onlyIdempotent

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, overbought), momentum (params: lookback), bollinger_breakout (params: period, std). Provide prices, strategy name, params, initial_capital, commission_bps. Returns: total return, Sharpe, Calmar, max drawdown, number of trades, win rate, equity curve, vs buy-and-hold. PAID ONLY — no free tier.

Inputs: prices (required), params, strategy, slippage_bps, +2 more.

batchA
Read-onlyIdempotent

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. Price equals the sum of individual endpoint prices. Ideal for backtests, parameter sweeps, and portfolio-wide calculations.

Inputs: requests (required).

crypto_apy-apr-convertA
Read-onlyIdempotent

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.

Inputs: rate (required), from_type, compounding.

crypto_dex-slippageA
Read-onlyIdempotent

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.

Inputs: reserve_a (required), reserve_b (required), trade_amount (required), fee_bps, +1 more.

crypto_funding-rateA
Read-onlyIdempotent

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.

Inputs: funding_rates (required), position_size, payment_interval_hours.

crypto_impermanent-lossA
Read-onlyIdempotent

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 ratios.

Inputs: current_price_ratio (required), amm_type, lower_tick, upper_tick, +2 more.

crypto_liquidation-priceA
Read-onlyIdempotent

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.

Inputs: leverage (required), direction (required), collateral (required), entry_price (required), +3 more.

crypto_rebalance-thresholdA
Read-onlyIdempotent

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.

Inputs: holdings (required), min_trade_usd, threshold_pct.

crypto_vesting-scheduleA
Read-onlyIdempotent

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 cumulative totals.

Inputs: total_tokens (required), tge_pct, start_date, cliff_months, +2 more.

derivatives_asian-optionA
Read-onlyIdempotent

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.

Inputs: K (required), S (required), T (required), sigma (required), +5 more.

derivatives_barrier-optionA
Read-onlyIdempotent

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.

Inputs: H (required), K (required), S (required), T (required), +6 more.

derivatives_binomial-treeA
Read-onlyIdempotent

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.

Inputs: K (required), S (required), T (required), sigma (required), +5 more.

derivatives_lookback-optionA
Read-onlyIdempotent

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.

Inputs: S (required), T (required), sigma (required), K, +6 more.

derivatives_option-chain-analysisA
Read-onlyIdempotent

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 data.

Inputs: spot (required), chain (required), T, r.

derivatives_put-call-parityA
Read-onlyIdempotent

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.

Inputs: K (required), S (required), T (required), put_price (required), +3 more.

derivatives_volatility-surfaceA
Read-onlyIdempotent

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.

Inputs: spot (required), market_data (required), interpolation.

fi_credit-spreadA
Read-onlyIdempotent

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 probability, and loss-given-default.

Inputs: bond_price (required), coupon_rate (required), maturity_years (required), risk_free_curve (required), +2 more.

fixed-income_amortizationA
Read-onlyIdempotent

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 balance.

Inputs: years (required), principal (required), annual_rate (required), extra_payment.

fixed-income_bondA
Read-onlyIdempotent

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 accrued interest.

Inputs: ytm (required), years (required), coupon_rate (required), face, +1 more.

fi_yield-curve-interpolateA
Read-onlyIdempotent

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.

Inputs: rates (required), tenors (required), target_tenors (required), method.

fx_carry-tradeA
Read-onlyIdempotent

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.

Inputs: spot_exit (required), spot_entry (required), holding_period_days (required), borrow_currency_rate (required), +3 more.

fx_forward-rateA
Read-onlyIdempotent

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.

Inputs: forward_end (required), yield_curve (required), forward_start (required), compounding.

fx_interest-rate-parityA
Read-onlyIdempotent

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.

Inputs: spot_rate (required), foreign_rate (required), domestic_rate (required), time_years, +2 more.

fx_purchasing-power-parityA
Read-onlyIdempotent

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.

Inputs: base_spot_rate (required), foreign_inflation (required), domestic_inflation (required), time_years.

hedging_recommendA
Read-onlyIdempotent

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_horizon_days, max_hedge_cost_pct. Returns: ranked hedges (protective put, collar, futures short, partial hedge) each with cost, protection level, affordability flag, and max loss after hedge. PAID ONLY — no free tier.

Inputs: volatility (required), asset_price (required), position_type (required), position_value (required), +3 more.

indicators_atrA
Read-onlyIdempotent

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.

Inputs: low (required), high (required), close (required), period.

indicators_bollinger-bandsA
Read-onlyIdempotent

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.

Inputs: prices (required), window, num_std.

indicators_crossoverA
Read-onlyIdempotent

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.

Inputs: prices (required), fast_period, slow_period.

indicators_fibonacci-retracementA
Read-onlyIdempotent

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

Inputs: swing_low (required), swing_high (required), direction.

indicators_regimeA
Read-onlyIdempotent

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.

Inputs: prices (required), sma_period, vol_window.

indicators_regime-classifyA
Read-onlyIdempotent

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 + realized-vol separately, this returns everything in one call. Provide closing prices (min 30). Returns: trend direction, volatility regime, RSI, SMA, strategy suggestion (momentum/mean-reversion/risk-off). PAID ONLY — no free tier.

Inputs: closes (required), lows, highs, opens, +3 more.

indicators_technicalA
Read-onlyIdempotent

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/oversold), and trend classification.

Inputs: prices (required), period, volumes.

macro_inflation-adjustedA
Read-onlyIdempotent

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.

Inputs: inflation_rate_pct (required), nominal_return_pct (required), periods, initial_value.

macro_real-yieldA
Read-onlyIdempotent

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.

Inputs: nominal_yield (required), tips_yield, tenor_years, inflation_expectation.

macro_taylor-ruleA
Read-onlyIdempotent

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.

Inputs: current_inflation (required), output_weight, output_gap_pct, inflation_weight, +3 more.

options_implied-volA
Read-onlyIdempotent

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 type. Returns: implied volatility, convergence info, and Greeks at that IV.

Inputs: K (required), S (required), T (required), market_price (required), +3 more.

options_payoff-diagramA
Read-onlyIdempotent

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

Inputs: legs (required), spot (required), points, price_range_pct.

options_priceA
Read-onlyIdempotent

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: option price, 10 Greeks, and intrinsic/time value breakdown.

Inputs: K (required), S (required), T (required), sigma (required), +3 more.

options_spread-scanA
Read-onlyIdempotent

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 spot price, volatility, DTE, and strategy type (bull_call_spread, bear_put_spread, etc.). Returns: ranked candidates with risk/reward ratios, breakevens, and full Greeks for each leg. PAID ONLY — no free tier.

Inputs: vol (required), spot (required), dte_years (required), q, +4 more.

options_strategyA
Read-onlyIdempotent

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, breakeven points, P&L at various prices, and payoff data.

Inputs: legs (required), points, S_range.

options_strategy-optimizerA
Read-onlyIdempotent

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/stable), T, sigma, r. Returns: ranked list of strategies (Long Call, Bull Call Spread, Iron Condor, Long Straddle, etc.) each with legs, max profit/loss, breakevens, net debit/credit, and score. PAID ONLY — no free tier.

Inputs: S (required), T (required), sigma (required), outlook (required), +4 more.

pairs_signalA
Read-onlyIdempotent

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 generation in one call. Provide two price series. Returns: cointegration result, hedge ratio, spread z-score, Hurst, and actionable signal (LONG/SHORT/WAIT/CLOSE/NO_TRADE). PAID ONLY — no free tier.

Inputs: series_a (required), series_b (required), name_a, name_b, +1 more.

portfolio_healthA
Read-onlyIdempotent

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 (2008 Crisis, Rate Hike, Flash Crash) in one call. Provide holdings with values, target weights, and return series. Returns: Sharpe, VaR, drawdown, correlation matrix, rebalance trades, and stress test P&L. PAID ONLY — no free tier.

Inputs: holdings (required), min_trade_usd, risk_free_rate, rebalance_threshold_pct.

portfolio_optimizeA
Read-onlyIdempotent

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 efficient frontier points.

Inputs: returns (required), mode, risk_free_rate.

portfolio_rebalance-planA
Read-onlyIdempotent

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 (asset -> weight, sum to 1), transaction_cost_bps. Returns: list of trades (buy/sell with amounts), total cost, drift before/after, and post-rebalance weights. PAID ONLY — no free tier.

Inputs: target_weights (required), current_holdings (required), min_trade_usd, transaction_cost_bps.

portfolio_risk-parity-weightsB
Read-onlyIdempotent

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.

Inputs: volatilities (required), correlation_matrix (required), asset_names, risk_budget.

risk_correlationA
Read-onlyIdempotent

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.

Inputs: series (required).

risk_drawdownA
Read-onlyIdempotent

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.

Inputs: equity_curve (required).

risk_full-analysisA
Read-onlyIdempotent

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, Kelly, max drawdown, Hurst exponent, CAGR, and win rate in one call. Provide daily returns. Returns: comprehensive risk profile with portfolio values. PAID ONLY — no free tier.

Inputs: returns (required), equity_curve, risk_free_rate, portfolio_value.

risk_kellyA
Read-onlyIdempotent

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.

Inputs: mode, avg_win, returns, avg_loss, +1 more.

risk_portfolioA
Read-onlyIdempotent

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, Omega, VaR (95/99), CVaR, max drawdown, skewness, kurtosis, win rate, profit factor. Optionally provide benchmark returns for alpha, beta, tracking error, and information ratio.

Inputs: returns (required), risk_free_rate, benchmark_returns.

risk_position-sizeA
Read-onlyIdempotent

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 trade.

Inputs: stop_loss (required), entry_price (required), account_size (required), risk_per_trade.

risk_stress-testA
Read-onlyIdempotent

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 breakdown.

Inputs: positions (required), scenarios (required).

risk_transaction-costA
Read-onlyIdempotent

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 percentage of trade value.

Inputs: trade_value (required), adv, shares, spread_bps, +5 more.

risk_var-parametricA
Read-onlyIdempotent

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.

Inputs: returns (required), portfolio_value, confidence_levels, holding_period_days.

simulate_montecarloA
Read-onlyIdempotent

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 (5th/25th/50th/75th/95th), expected value, probability of profit, and path statistics. NOTE: Via MCP, keep simulations ≤ 1000 and years ≤ 30 for fastest response. For larger simulations (up to 5000 paths, 100 years), call the REST API directly at https://api.quantoracle.dev/v1/simulate/montecarlo.

Inputs: years, annual_vol, simulations, annual_return, +3 more.

stats_cointegrationA
Read-onlyIdempotent

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.

Inputs: series_x (required), series_y (required), significance.

stats_correlation-matrixA
Read-onlyIdempotent

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, eigenvectors, and explained variance ratios.

Inputs: series (required), method, include_eigenvalues.

stats_distribution-fitA
Read-onlyIdempotent

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), and Q-Q plot data.

Inputs: data (required).

stats_garch-forecastA
Read-onlyIdempotent

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.

Inputs: returns (required), mean_model, forecast_periods.

stats_hurst-exponentA
Read-onlyIdempotent

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.

Inputs: series (required), max_window, min_window.

stats_linear-regressionA
Read-onlyIdempotent

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.

Inputs: x (required), y (required), confidence_level.

stats_normal-distributionA
Read-onlyIdempotent

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 probability, PDF density, z-score, quantile value, and/or confidence interval bounds.

Inputs: p, x, std, mean, +1 more.

stats_polynomial-regressionA
Read-onlyIdempotent

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.

Inputs: x (required), y (required), degree.

stats_probabilistic-sharpeA
Read-onlyIdempotent

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 (probability observed Sharpe exceeds benchmark), p-value, and required track record length.

Inputs: returns (required), risk_free_rate, benchmark_sharpe, annualization_factor.

stats_realized-volatilityA
Read-onlyIdempotent

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 rolling vol series.

Inputs: close (required), low, high, open, +1 more.

stats_sharpe-ratioA
Read-onlyIdempotent

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.

Inputs: returns (required), risk_free_rate, annualization_factor.

stats_zscoreA
Read-onlyIdempotent

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σ.

Inputs: series (required), window, threshold.

trade_evaluateA
Read-onlyIdempotent

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 signals into a single go/no-go verdict. Provide entry/stop/target prices, account size, and recent price history. Returns: position size, costs, signals, regime, Kelly sizing, and FAVORABLE/CAUTION/UNFAVORABLE verdict. PAID ONLY — no free tier.

Inputs: prices (required), stop_loss (required), entry_price (required), take_profit (required), +6 more.

tvm_cagrA
Read-onlyIdempotent

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.

Inputs: years (required), end_value (required), start_value (required), include_projections.

tvm_future-valueA
Read-onlyIdempotent

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.

Inputs: rate (required), periods (required), payment, present_value, +1 more.

tvm_irrA
Read-onlyIdempotent

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 ~0).

Inputs: cash_flows (required).

tvm_npvA
Read-onlyIdempotent

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 discounted cash flow breakdown.

Inputs: cash_flows (required), discount_rate (required).

tvm_present-valueA
Read-onlyIdempotent

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.

Inputs: rate (required), periods (required), payment, future_value, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 74 tools

    Disambiguation3/5

    The tools are grouped by domain but some have overlapping functionalities, such as indicators_regime and indicators_regime-classify, and risk_portfolio vs risk_full-analysis. The presence of consolidated 'replaces' tools alongside individual ones can confuse an agent about which to use.

    Naming Consistency4/5

    Tool names follow a domain_prefix_descriptive pattern, but there is some inconsistency with hyphens vs underscores (e.g., crypto_apy-apr-convert, options_implied-vol) and varied lengths. Overall, the pattern is clear and predictable.

    Tool Count2/5

    With 74 tools, the count is very high for an MCP server. While each tool serves a distinct purpose in quantitative finance, the sheer number makes it difficult for an agent to efficiently navigate and select the right tool.

    Completeness5/5

    The server covers a comprehensive range of quantitative finance computations including options, risk, portfolio, technical indicators, fixed income, FX, crypto, and statistics. It addresses common and advanced needs, with few obvious gaps for the intended domain.

    Maintenance

    ActivityMaintained
    ResponsivenessUsually handled

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Financial intelligence for AI agents. 31 tools across 8 data sources — regime, derivatives, stablecoin flows, momentum, volatility, macro, DeFi, weather patterns, political cycles, seasonality. The context layer between your agent and a bad trade.
      31
      9 npm
      9
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Agent-ready financial intelligence tools for AI agents. Two curated tools — get_stock_snapshot and get_company_metrics — that combine multiple data sources, derive signals (UNDERVALUED, STRONG, ACCELERATING), and pre-compute the math. One call, one agent-friendly response.
      3
      140 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      The verifiable risk engine for autonomous agents: deterministic, self-verifying financial calculations that an agent can delegate and prove. It covers liquidation and funding, position sizing and risk of ruin, options Greeks and margin, LP divergence, treasury concentration and depeg, execution quality checks, plus intelligence on options, DeFi, prediction markets, and transaction safety analysis.
      2
      MIT