Market Data MCP Server
mcp-market-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 8000Docker:
docker build -t mcp-market-data:edge .
docker run -p 8000:8000 --name mcp-market-data mcp-market-data:edgecurl 示例:
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 之类的工具。
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