Market Data MCP Server
Enables fetching market data including OHLCV prices, option chains, and Greeks by implementing support for Polygon as a data provider through the pluggable DataProvider interface.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Market Data MCP Serverget the latest option chain for TSLA with expiration next month"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-market-data
Market & Options Data MCP ("market-data") — FastAPI server
A deployable, minimal, vendor-pluggable service that exposes endpoints used by an LLM or any client to fetch OHLCV, option chains, Greeks, basic corporate events, and to assemble a training dataset with alignment/caching. Uses yfinance as a default provider so it runs out-of-the-box; swap in Polygon/IEX/etc by implementing the DataProvider interface below.
Run locally:
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:edgeExample 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"
}'Notes
Image will publish to
ghcr.io/pishnuke/mcp-market-data:edgeonmaster, plus asha-<short>tag, and toghcr.io/pishnuke/mcp-market-data:<tag>when you push a Git tag likev0.1.0.Ensure your repo is public or that consumers have permission to pull from GHCR. For private repos, consumers need a token.
The GHCR repository name is lowercase; if your GitHub org/repo has uppercase, GHCR normalizes it.
Point your MCP client at mcp.json (or the running URL) and call tools like /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.
Market Data App MCP — wraps the Market Data App API (marketdata.app)
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.326MIT
- 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.MIT