
Quantoracle
io.github.fel123由 GitHub 帳號 fel123 發布v2.4.2更新於 Oct 24, 2026
73 deterministic quant tools for AI agents. LLMs drift on Black-Scholes; these are exact math.
概覽
本機 MCP 伺服器,為助理提供 73 個確定性量化金融計算器,涵蓋選擇權定價、風險指標、投資組合與加密數學。
- 可以做什麼
- 選擇權與衍生性商品定價:Black-Scholes、隱含波動率、二元樹、障礙與亞式選擇權、波動率曲面、多腳策略。計算風險與投資組合指標:Sharpe、Sortino、VaR、CVaR、回撤、Kelly 部位、均值變異數最佳化、風險平價、再平衡。統計與時間序列分析:迴歸、共整合、Hurst、GARCH、分布配適。加密/DeFi、外匯與總體/貨幣時間價值計算:無常損失、清算價格、資金費率、DEX 滑價、利率平價、NPV、IRR、CAGR。執行打包多個計算器呼叫的複合工作流程,如回測、避險建議、完整風險分析與策略最佳化。
- 適用情境
- 適合需要精確、可重複的金融數學而非大型語言模型估算的情境:在聊天用戶端中為選擇權定價、計算部位、計算風險指標,或進行投資組合與回測類分析。
- 執行需求
- 透過 npx 或全域 npm 安裝在本機執行(需要 Node.js)。計算由 QuantOracle 遠端 API 執行,因此需要網路存取。免費方案無需帳號或 API 金鑰。選用環境變數 QUANTORACLE_API_URL 與 QUANTORACLE_X402_WALLET。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Quantoracle,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
quantoracle-mcp
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:
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
Or install globally:
Configure (Claude Desktop)
Add to your claude_desktop_config.json:
Configure (Cursor / Cline / Continue)
In your MCP settings, add:
- Command:
npx - Arguments:
-y quantoracle-mcp - Environment: none required for the free tier
Pricing
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
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:
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
- Browser calculators: https://quantoracle.dev (12 free calculators)
- Full API documentation: https://api.quantoracle.dev/openapi.json
- Endpoint catalog: https://api.quantoracle.dev/tools
- Source repository: https://github.com/QuantOracledev/quantoracle
- x402 protocol: https://x402.org
- Issues: https://github.com/QuantOracledev/quantoracle/issues
License
MIT. See LICENSE.
來源:mcp-server/README.md,提交 20b3fe6
工具
0版本歷史
1- v2.4.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分