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 Yahoo Finance
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 .
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA Model Context Protocol server that enables LLMs to analyze options chains, calculate Greeks, and evaluate basic options strategies through Yahoo Finance data.38MIT
- 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
Related MCP Connectors
Options analytics: 17 pricing models, 17 Greeks, GEX, IV, 23 screeners, unusual, dark pool, max pain
Options analytics for AI assistants: chains, IV rank, VRP, Greeks, GEX, expected moves, screeners.
Hosted MCP for stocks, options, Greeks, brokers, order previews, alerts, and workflows.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/walkingshamrock/black-scholes-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server