Market Data MCP Server
mcp-market-data
MCP-сервер рыночных данных и данных по опционам («market-data») — сервер FastAPI
Развертываемый, минималистичный, подключаемый сервис, который предоставляет конечные точки, используемые LLM или любым клиентом для получения OHLCV, цепочек опционов, греков, основных корпоративных событий, а также для формирования обучающего набора данных с выравниванием/кэшированием. По умолчанию использует yfinance, поэтому работает «из коробки»; замените его на Polygon/IEX/и т. д., реализовав интерфейс DataProvider, приведенный ниже.
Запуск локально:
pip install -r requirements.txt
uvicorn app.main:app --host 0.0.0.0 --port 8000Docker:
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"
}'Примечания
Образ будет публиковаться в
ghcr.io/pishnuke/mcp-market-data:edgeв веткеmaster, а также с тегомsha-<short>, и вghcr.io/pishnuke/mcp-market-data:<tag>при отправке Git-тега, напримерv0.1.0.Убедитесь, что ваш репозиторий публичный или что у потребителей есть разрешение на вытягивание (pull) из GHCR. Для приватных репозиториев потребителям потребуется токен.
Имя репозитория GHCR пишется в нижнем регистре; если в названии вашей организации/репозитория GitHub есть заглавные буквы, GHCR приводит их к нижнему регистру.
Укажите вашему MCP-клиенту путь к mcp.json (или запущенному URL) и вызывайте инструменты, такие как /get_ohlcv.
This server cannot be deployed
Maintenance
Related MCP Connectors
Live US options chains with Greeks and IV, a screener, SQL, and FMP fundamentals.
Financial Datasets AI MCP — wraps financialdatasets.ai
Unified financial infrastructure connecting AI agents directly to trade live/demo brokerage accounts, Web3 non-custodial wallets, real-time market data across equities, ETFs, crypto, forex, options, DeFi swaps, and prediction markets, institutional research feeds, and algorithmic strategy backtesters.
Scan options flow, analyze real-time market data, and build investing and trading workflows.
Related MCP Servers
- AlicenseBqualityBmaintenanceA 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.327MIT
- FlicenseNot gradedqualityNot gradedmaintenanceProvides backtesting-compliant financial data including company financials, historical stock and crypto prices, and news with sentiment analysis from financialdatasets.ai API.-
- AlicenseAqualityDmaintenanceProvides 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.14MIT
- AlicenseNot gradedqualityBmaintenanceEnables 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 npmMIT