mcpField
Q
Quantoracle

Quantoracle

Local
quantoracle.devFinance13Updated today

About Quantoracle

Quantoracle is an MCP server for AI agents that exposes deterministic quantitative finance calculations through the QuantOracle API. Its coverage spans options, risk, portfolios, statistics, crypto, FX, and macro, alongside workflows combining multiple calculations.

Key features

  1. 01Calculators across quantitative finance domains
  2. 02Repeatable results for the same inputs
  3. 03Options, derivatives, and risk metrics
  4. 04Portfolio, statistics, crypto, and FX calculations
  5. 05Composite calculation workflows

Use cases

  1. 01Calculate option prices and Greeks
  2. 02Assess portfolio risk and drawdown
  3. 03Analyze DeFi liquidation prices or DEX slippage
  4. 04Run backtests or portfolio rebalance planning

MCP support

The server wraps QuantOracle API financial calculation endpoints as MCP tools, accepting and returning JSON. Free calculator endpoints require no API key; paid composite endpoints can use x402 payments.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"quantoracle": {
"command": "npx",
"args": [
"-y",
"quantoracle-mcp"
]
}
}
}
Run commandnpx -y quantoracle-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmquantoracle-mcp2.4.2

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

quantoracle-mcp

npm MIT License x402

Model Context Protocol (MCP) server exposing 73 deterministic quant finance calculators to AI agents — Claude, ChatGPT, Cursor, Cline, or any MCP-compatible client. Every tool accepts JSON and returns JSON. Same inputs always produce the same outputs.

The math runs on the QuantOracle API; this package is the thin MCP transport layer that lets your agent call those endpoints as native tools.

Try the calculators in your browser first: the same engine powers 12 free interactive calculators at quantoracle.dev — useful for verifying outputs before wiring the MCP server into your agent.

What's included

73 deterministic financial computation tools across 8 categories:

CategoryExamples
Options pricingBlack-Scholes, implied vol, payoff diagrams, multi-leg strategies
DerivativesBinomial trees, barrier, Asian, lookback, volatility surface
Risk metricsSharpe, Sortino, VaR, CVaR, drawdown, Kelly, position sizing
PortfolioMean-variance optimization, risk parity, rebalancing, health scoring
StatisticsRegression, cointegration, Hurst, GARCH, distribution fits
Crypto / DeFiImpermanent loss, liquidation price, funding rate, DEX slippage
FXInterest rate parity, PPP, carry trade, forwards
Macro / TVMTaylor Rule, real yield, NPV, IRR, CAGR

Plus 10 composite workflows that bundle 5-15 calculator calls in a single response: backtest, hedging recommendations, full risk analysis, rebalance planning, options strategy optimizer, etc.

Install

npx quantoracle-mcp

Or install globally:

npm install -g quantoracle-mcp
quantoracle-mcp

Configure (Claude Desktop)

Add to your claude_desktop_config.json:

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

Configure (Cursor / Cline / Continue)

In your MCP settings, add:

  • Command: npx
  • Arguments: -y quantoracle-mcp
  • Environment: none required for the free tier

Pricing

TierWhat you getWhat it costs
FreeAll 73 endpoints, 1,000 calls per IP per day, no signup, no API key$0
Paid (x402)Beyond the free tier; required for the 10 paid composite endpoints$0.002–$0.10 USDC per call depending on complexity

Paid calls settle automatically via the x402 protocol on Base mainnet or Solana mainnet. The MCP client (or wrapping framework) is responsible for handling the 402 Payment Required response and retrying with payment headers.

Default behavior: the package never spends money on its own. If a paid endpoint is called and no x402-capable wallet is wired into the client, the call returns a 402 error and exits cleanly. No automatic billing, no surprise charges.

Free-tier endpoints (calculator-only): every endpoint priced $0.002–$0.015. These are the bulk of the 73 endpoints and cover almost any quant-finance use case.

Paid-only endpoints (composites): /v1/risk/full-analysis, /v1/hedging/recommend, /v1/backtest/strategy, /v1/portfolio/rebalance-plan, /v1/options/strategy-optimizer, /v1/options/spread-scan, /v1/trade/evaluate, /v1/portfolio/health, /v1/pairs/signal, /v1/indicators/regime-classify. These wrap many calculator calls and are priced $0.04–$0.10.

Optional environment variables

VariableDefaultPurpose
QUANTORACLE_API_URLhttps://api.quantoracle.devOverride the API endpoint (e.g. for staging or self-hosted)
QUANTORACLE_X402_WALLET(none)If set, the server enables x402 payment for paid endpoints. Without this variable, paid endpoints return 402 and the agent receives a clean error

No QUANTORACLE_API_KEY is required for the free tier. The free tier is rate-limited per source IP, not per account.

Example — Claude Desktop session

After installing, ask Claude:

"Price a 30-day NVDA call with strike $185, spot $180, IV 28%."

Claude calls the options/price tool. Response:

Price: $4.92
Greeks: Δ 0.43, Γ 0.043, ν 0.21, Θ -0.034, ρ 0.12
Breakeven: $189.92

Or:

"Run a Monte Carlo simulation: $100K portfolio, 30 years, 7% return, 16% vol, 4% withdrawal. What's the success rate?"

Claude calls simulate/montecarlo. Response includes terminal-value distribution (P5/P25/median/P75/P95), probability of loss, probability of ruin, and CAGR.

Resources

License

MIT. See LICENSE.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.