Black-Scholes MCP Server
Black-Scholes MCP-Server
Dieses Projekt bietet einen Model Context Protocol (MCP)-Server zur Berechnung des Preises und der Greeks europäischer Optionen mithilfe des Black-Scholes-Modells.
Merkmale
Berechnen Sie den Black-Scholes-Preis für europäische Call- und Put-Optionen
Berechnen Sie die Option „Griechen“ und „Griechen höherer Ordnung“:
Delta
Vega
Theta
Gamma
Rho
Lambda
Epsilon
Vanna
Charme
Vomma
Veta
Geschwindigkeit
Zomma
Farbe
Ultima
Vera
Related MCP server: MCP Bitpanda Server
Verwendung
Installation und Verwendung
Installieren Sie Abhängigkeiten (bei Verwendung von
uv):uv pip install -r requirements.txtOder verwenden Sie Ihren bevorzugten Python-Paketmanager.
Installieren Sie diesen MCP-Server für Claude:
uv run mcp install main.pyDieser Befehl fügt die Konfiguration zu
claude_desktop_config.jsonhinzu, damit Claude diesen MCP-Server verwenden kann.(Optional) Führen Sie den MCP-Server direkt aus:
python main.pyVerwenden Sie die MCP-Tools, um Optionspreise und Griechen zu berechnen, indem Sie die folgenden Argumente angeben:
S: SpotpreisK: AusübungspreisT: Restlaufzeit (in Jahren)r: risikofreier Zinssatz (jährlich, dezimal)q: Dividendenrendite (jährlich, dezimal)vol: Volatilität (jährlich, dezimal)type: „call“ oder „put“
Ausführen von Tests
So führen Sie die Tests für dieses Projekt aus:
Installieren Sie das Paket im Entwicklungsmodus:
pip install -e .Führen Sie Tests mit unittest aus:
python -m unittest discover -s testsOder mit pytest (nach der Installation von pytest aus requirements.txt):
python -m pytestSo führen Sie bestimmte Testmodule aus:
python -m unittest tests.calculators.test_black_scholes_priceOder mit pytest:
python -m pytest tests/calculators/test_black_scholes_price.py
Danksagung
Dieses Projekt verwendet das Modelcontextprotocol/Python-SDK für die MCP-Serverimplementierung.
Lizenz
Dieses Projekt ist unter der MIT-Lizenz lizenziert. Weitere Informationen finden Sie unter LIZENZ .
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
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
Exact options P/L at expiry, Black-Scholes, Greeks and covered-call/put returns on your numbers.
Model Context Protocol interface for Yari Infotech engineering & architectural advisory.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables LLMs to analyze options chains, calculate Greeks, and evaluate basic options strategies through Yahoo Finance data.141MIT
- AlicenseAqualityDmaintenanceEnables programmatic access to Bitpanda cryptocurrency exchange features including trades, wallets, and transactions via the Model Context Protocol.81ISC
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to scan markets, build option strategies, track positions, and execute trades on TastyTrade via the Model Context Protocol.3MIT

Cuebook MCP Serverofficial
AlicenseNot gradedqualityAmaintenanceProvides market intelligence including asset search, market state, cues, events, and paper trading via the Model Context Protocol.MIT