Polygon MCP Server
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.
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., "@Polygon MCP Server what's the latest quote for Apple stock?"
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.
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: Alpaca Trading 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:
{
"mcpServers": {
"polygon": {
"command": "node",
"args": ["/path/to/polygon-server/build/index.js"],
"env": {
"POLYGON_API_KEY": "your-api-key"
}
}
}
}Usage Examples
Get Market Status
{
"tool": "get_market_status",
"arguments": {}
}Get Ticker Details
{
"tool": "get_ticker_details",
"arguments": {
"ticker": "AAPL"
}
}Get Historical Data
{
"tool": "get_aggregates",
"arguments": {
"ticker": "AAPL",
"timespan": "day",
"from": "2024-01-01",
"to": "2024-01-31"
}
}Get News
{
"tool": "get_ticker_news",
"arguments": {
"ticker": "TSLA",
"limit": 5
}
}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
Available Tools
8 toolsget_aggregatesC
Get aggregate bars for a ticker
Inputs: ticker (required), timespan (required), from (required), to (required), +3 more.
get_daily_open_closeC
Get daily open/close prices
Inputs: ticker (required), date (required).
get_latest_quoteC
Get real-time quote for a ticker
Inputs: ticker (required).
get_market_statusB
Check if markets are open
Inputs: no named parameters.
get_snapshotC
Get snapshot of ticker(s)
Inputs: tickers (required).
get_ticker_detailsC
Get details about a ticker symbol
Inputs: ticker (required).
get_ticker_newsC
Get news articles for a ticker
Inputs: ticker (required), limit.
list_tickersC
Search/list available tickers
Inputs: search, type, market, limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Every tool has a clearly distinct purpose focused on different aspects of market data retrieval. Tools like get_aggregates (historical bars), get_daily_open_close (daily prices), get_latest_quote (real-time quote), and get_snapshot (current state) all serve unique functions without overlap, making it easy for an agent to select the right tool.
All tools follow a consistent verb_noun pattern with 'get_' or 'list_' prefixes, using snake_case throughout. This predictability (e.g., get_aggregates, list_tickers) makes the tool set easy to navigate and understand at a glance.
With 8 tools, this server is well-scoped for a financial market data domain, covering essential operations like real-time quotes, historical data, news, and ticker listings. Each tool earns its place without feeling excessive or insufficient for the purpose.
The tool set provides comprehensive coverage for market data retrieval, including real-time, historical, and informational aspects. A minor gap exists in lacking update/delete operations, but this is appropriate for a read-only data source, and agents can work around this limitation effectively.
Related MCP Connectors
Hosted MCP server for SEC, FRED, Polymarket, Deribit, OKX, and FMP.
Official Intrinio MCP server. US stock prices, options and fundamentals for AI agents.
A Model Context Protocol server exposing real-time and historical Colombo Stock Exchange (CSE) data to AI agents and LLM applications. Provides quotes and OHLCV price history, full financial statements (income, balance sheet, cash flow), pre-computed technicals (moving averages, RS ratings, volume signals), macroeconomic indicators, corporate actions, and rule-based screening across CSE stocks and sector indices, everything needed to build CSE-aware trading assistants, research tools, and market-analysis agents. This is the official MCP server of www.ceyloncharts.com
Financial data MCP server for Claude, ChatGPT, Cursor and Codex. Real-time stock quotes, financial statements, options flow, SEC filings, insider trades, 13F holdings, macro data and market news from gloom.sh, the open-source Bloomberg Terminal alternative.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol (MCP) server that provides real-time access to financial market data through the free Alpha Vantage API. This server implements a standardized interface for retrieving stock quotes and company information.12104MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol server that interfaces with Alpaca trading API, allowing users to manage portfolios, place trades, and access market data through natural language interactions.835MIT
- AlicenseBqualityBmaintenanceA Model Context Protocol server that enables interaction with Yahoo Finance to retrieve stock pricing, company information, and historical financial data through natural language queries.21888 PyPI29MIT
- AlicenseCqualityDmaintenanceA Model Context Protocol server providing comprehensive financial data from Yahoo Finance, allowing users to retrieve detailed stock information, financial statements, options data, and market news.34MIT