Black-Scholes MCP Server
ブラック・ショールズMCPサーバー
このプロジェクトは、ブラック・ショールズ・モデルを使用してヨーロピアン・オプションの価格とギリシャ文字を計算するためのモデル・コンテキスト・プロトコル (MCP) サーバーを提供します。
特徴
ヨーロピアンコールオプションとプットオプションのブラックショールズ価格を計算する
オプション ギリシャ文字と高階ギリシャ文字を計算します。
デルタ
ベガ
シータ
ガンマ
ロー
ラムダ
イプシロン
ヴァンナ
魅力
ヴォンマ
ヴェタ
スピード
ゾンマ
色
ウルティマ
ベラ
Related MCP server: MCP Yahoo Finance
使用法
インストールと使用方法
依存関係をインストールします(
uvを使用する場合):uv pip install -r requirements.txtまたは、お好みの Python パッケージ マネージャーを使用します。
この MCP サーバーを Claude にインストールします。
uv run mcp install main.pyこのコマンドは、Claude がこの MCP サーバーを使用できるように、
claude_desktop_config.jsonに構成を追加します。(オプション) MCP サーバーを直接実行します。
python main.pyMCP ツールを使用して、次の引数を指定してオプション価格とギリシャ文字を計算します。
S: スポット価格K: 行使価格T: 満期までの期間(年)r: 無リスク金利(年率、小数)q: 配当利回り(年率、小数)vol: ボラティリティ(年率、小数点)type:「コール」または「プット」
テストの実行
このプロジェクトのテストを実行するには:
開発モードでパッケージをインストールします。
pip install -e .unittest を使用してテストを実行します。
python -m unittest discover -s testsまたは、pytest を使用する場合 (requirements.txt から pytest をインストールした後):
python -m pytest特定のテスト モジュールを実行するには:
python -m unittest tests.calculators.test_black_scholes_priceまたはpytestの場合:
python -m pytest tests/calculators/test_black_scholes_price.py
謝辞
このプロジェクトでは、MCP サーバーの実装にmodelcontextprotocol/python-sdkを使用します。
ライセンス
このプロジェクトはMITライセンスの下でライセンスされています。詳細はライセンスをご覧ください。
This server cannot be deployed
Maintenance
Related MCP Connectors
Deterministic company valuation and corporate finance tools for AI agents — IRR, NPV, MOIC, DCF, WACC, enterprise value, EV multiples, CAPM, beta and sensitivity analysis via Model Context Protocol. Useful for financial analysis, equity analysis, quantitative analysis, financial projections, financial formulas and financial modeling.
Options analytics: 17 pricing models, 17 Greeks, GEX, IV, 23 screeners, unusual, dark pool, max pain
Deterministic time-value-of-money and fund-performance tools for AI agents — future value, present value, CAGR, annuities, perpetuities, loan payments, payback, discounted payback, DPI, RVPI and TVPI via Model Context Protocol. Useful for corporate finance, financial projections, financial analysis, quantitative analysis, financial formulas and financial modeling.
Deterministic profitability and market-value analysis tools for AI agents — margins, ROA, ROE, ROCE, ROIC, EPS, P/E, P/B, dividend yield and payout ratio via Model Context Protocol. Useful for corporate finance, equity analysis, financial analysis, quantitative analysis, financial formulas and financial modeling.
Related MCP Servers
- AlicenseBqualityBmaintenanceA Model Context Protocol server that enables LLMs to analyze options chains, calculate Greeks, and evaluate basic options strategies through Yahoo Finance data.140MIT
- FlicenseBqualityDmaintenanceProvides tools to get financial data (stock prices, company information) and generate financial visualizations through the Model Context Protocol.1011-
- FlicenseAqualityDmaintenanceEnables programmatic access to Bitpanda cryptocurrency exchange features including trades, wallets, and transactions via the Model Context Protocol.81-
- FlicenseNot gradedqualityDmaintenanceProvides real-time options analytics, pricing with Greeks, Monte Carlo simulations, volatility analysis, strategy backtesting, and risk metrics using actual market data from Yahoo Finance and Polygon.io.1-