Skip to main content
Glama
walkingshamrock

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

  1. Installieren Sie Abhängigkeiten (bei Verwendung von uv ):

    uv pip install -r requirements.txt

    Oder verwenden Sie Ihren bevorzugten Python-Paketmanager.

  2. Installieren Sie diesen MCP-Server für Claude:

    uv run mcp install main.py

    Dieser Befehl fügt die Konfiguration zu claude_desktop_config.json hinzu, damit Claude diesen MCP-Server verwenden kann.

  3. (Optional) Führen Sie den MCP-Server direkt aus:

    python main.py
  4. Verwenden Sie die MCP-Tools, um Optionspreise und Griechen zu berechnen, indem Sie die folgenden Argumente angeben:

    • S : Spotpreis

    • K : Ausübungspreis

    • T : 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:

  1. Installieren Sie das Paket im Entwicklungsmodus:

    pip install -e .
  2. Führen Sie Tests mit unittest aus:

    python -m unittest discover -s tests

    Oder mit pytest (nach der Installation von pytest aus requirements.txt):

    python -m pytest
  3. So führen Sie bestimmte Testmodule aus:

    python -m unittest tests.calculators.test_black_scholes_price

    Oder 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 .

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    Not graded
    quality
    C
    maintenance
    A Model Context Protocol server that enables LLMs to analyze options chains, calculate Greeks, and evaluate basic options strategies through Yahoo Finance data.
    38
    MIT
  • F
    license
    B
    quality
    D
    maintenance
    Provides tools to get financial data (stock prices, company information) and generate financial visualizations through the Model Context Protocol.
    10
    11
  • F
    license
    A
    quality
    D
    maintenance
    Enables programmatic access to Bitpanda cryptocurrency exchange features including trades, wallets, and transactions via the Model Context Protocol.
    8
    1
  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides 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

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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