
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 分