Skip to main content
Glama
pishnuke

Market Data MCP Server

by pishnuke

mcp-market-data

Market & Options Data MCP ("market-data") — FastAPIサーバー

LLMや任意のクライアントがOHLCV、オプションチェーン、ギリシャ指標、基本的な企業イベントを取得し、調整/キャッシュ機能付きのトレーニングデータセットを構築するために使用するエンドポイントを公開する、デプロイ可能で最小限のベンダープラグイン可能なサービスです。デフォルトのプロバイダーとしてyfinanceを使用しているため、すぐに実行可能です。以下のDataProviderインターフェースを実装することで、Polygon/IEXなどに切り替えることができます。

ローカルでの実行:

  pip install -r requirements.txt
  uvicorn app.main:app --host 0.0.0.0 --port 8000

Docker:

  docker build -t mcp-market-data:edge .
  docker run -p 8000:8000 --name mcp-market-data mcp-market-data:edge

curlの例:

  curl "https://market-data.verumnomen.com/get_ohlcv?symbol=AAPL&timeframe=1d&start=2024-01-01&end=2024-06-30"
  curl -X POST https://market-data.verumnomen.com/make_dataset -H 'Content-Type: application/json' -d '{
    "symbols":["AAPL","NVDA"],
    "features":["ohlcv(1d,120d)","rv_park(5d)","ret_1d","iv30"],
    "horizon":"1d","window":"180d","align":"market_close"
  }'

注意事項

  • イメージはmasterブランチでghcr.io/pishnuke/mcp-market-data:edgeおよびsha-<short>タグに公開され、v0.1.0のようなGitタグをプッシュするとghcr.io/pishnuke/mcp-market-data:<tag>に公開されます。

  • リポジトリが公開されているか、利用者がGHCRからプルする権限を持っていることを確認してください。プライベートリポジトリの場合、利用者はトークンが必要です。

  • GHCRのリポジトリ名は小文字です。GitHubの組織名/リポジトリ名に大文字が含まれている場合、GHCRはそれを小文字に正規化します。

MCPクライアントをmcp.json(または実行中のURL)に向け、/get_ohlcvのようなツールを呼び出してください。

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    B
    maintenance
    A Model Context Protocol server providing real-time stock data and options analysis through Yahoo Finance, enabling LLMs to access market data, analyze stocks, and evaluate options strategies.
    3
    27
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Provides comprehensive financial analysis and real-time market data including stock information, options chains, technical indicators, financial statements, earnings calendars, and market sentiment indicators through integration with yfinance and other financial APIs.
    14
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables access to real-time and historical market data including stocks, ETFs, forex, and cryptocurrencies, with support for time series, quotes, dividends, splits, and earnings.
    60 npm
    MIT