Skip to main content
Glama
walkingshamrock

Black-Scholes MCP Server

ブラック・ショールズMCPサーバー

このプロジェクトは、ブラック・ショールズ・モデルを使用してヨーロピアン・オプションの価格とギリシャ文字を計算するためのモデル・コンテキスト・プロトコル (MCP) サーバーを提供します。

特徴

  • ヨーロピアンコールオプションとプットオプションのブラックショールズ価格を計算する

  • オプション ギリシャ文字と高階ギリシャ文字を計算します。

    • デルタ

    • ベガ

    • シータ

    • ガンマ

    • ロー

    • ラムダ

    • イプシロン

    • ヴァンナ

    • 魅力

    • ヴォンマ

    • ヴェタ

    • スピード

    • ゾンマ

    • ウルティマ

    • ベラ

Related MCP server: MCP Yahoo Finance

使用法

インストールと使用方法

  1. 依存関係をインストールします( uvを使用する場合):

    uv pip install -r requirements.txt

    または、お好みの Python パッケージ マネージャーを使用します。

  2. この MCP サーバーを Claude にインストールします。

    uv run mcp install main.py

    このコマンドは、Claude がこの MCP サーバーを使用できるように、 claude_desktop_config.jsonに構成を追加します。

  3. (オプション) MCP サーバーを直接実行します。

    python main.py
  4. MCP ツールを使用して、次の引数を指定してオプション価格とギリシャ文字を計算します。

    • S : スポット価格

    • K : 行使価格

    • T : 満期までの期間(年)

    • r : 無リスク金利(年率、小数)

    • q : 配当利回り(年率、小数)

    • vol : ボラティリティ(年率、小数点)

    • type :「コール」または「プット」

テストの実行

このプロジェクトのテストを実行するには:

  1. 開発モードでパッケージをインストールします。

    pip install -e .
  2. unittest を使用してテストを実行します。

    python -m unittest discover -s tests

    または、pytest を使用する場合 (requirements.txt から pytest をインストールした後):

    python -m pytest
  3. 特定のテスト モジュールを実行するには:

    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ライセンスの下でライセンスされています。詳細はライセンスをご覧ください。

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