Provides tools for accessing financial market data through Polygon.io API, including ticker details, real-time quotes, historical price aggregates, market status, and news articles related to specific tickers.
Polygon MCP Server
A Model Context Protocol (MCP) server that provides tools for interacting with the Polygon.io API for market data.
Features
This MCP server provides the following tools:
get_ticker_details - Get details about a ticker symbol
get_latest_quote - Get real-time quote for a ticker
get_aggregates - Get aggregate bars for a ticker
get_daily_open_close - Get daily open/close prices
get_market_status - Check if markets are open
get_ticker_news - Get news articles for a ticker
list_tickers - Search/list available tickers
get_snapshot - Get snapshot of ticker(s)
Related MCP server: CCXT MCP Server
Installation
Clone this repository
Install dependencies:
npm installBuild the server:
npm run build
Configuration
The server requires the following environment variable:
POLYGON_API_KEY- Your Polygon.io API key
MCP Settings Configuration
Add the following to your MCP settings file:
Usage Examples
Get Market Status
Get Ticker Details
Get Historical Data
Get News
Development
Run in watch mode:
npm run watchRun tests:
npm testLint code:
npm run lint
API Documentation
For more information about the Polygon.io API, visit: https://polygon.io/docs
License
MIT