polygon-mcp
Enables querying real-time and historical financial market data for stocks, options, forex, and crypto, including quotes, trades, technical indicators, and reference data through a set of MCP tools.
README
Polygon.io MCP Server
MCP server wrapping the Polygon.io Python SDK for stocks, options, forex, and crypto market data.
Installation
cd polygon_mcp
uv pip install -e .
Configuration
Set your Polygon.io API key as an environment variable:
export POLYGON_API_KEY="your_api_key_here"
Usage
Run directly
uv run polygon-mcp
MCP Configuration
Add to your MCP config (e.g., ~/.kiro/settings/mcp.json):
{
"mcpServers": {
"polygon": {
"command": "uv",
"args": ["--directory", "/path/to/polygon_mcp", "run", "polygon-mcp"],
"env": {
"POLYGON_API_KEY": "your_api_key_here"
}
}
}
}
Available Tools
Stocks
stocks_get_sma- Simple Moving Averagestocks_get_ema- Exponential Moving Averagestocks_get_rsi- Relative Strength Indexstocks_get_macd- MACDstocks_get_trades- Trades for a datestocks_get_trades_v3- Trades v3 APIstocks_get_quotes- Quotes for a datestocks_get_quotes_v3- NBBO quotes v3stocks_get_last_trade- Most recent tradestocks_get_last_quote- Most recent quotestocks_get_daily_open_close- Daily OHLCVstocks_get_aggregate_bars- Candles/barsstocks_get_grouped_daily_bars- Market-wide daily barsstocks_get_previous_close- Previous day OHLCVstocks_get_snapshot- Current snapshotstocks_get_snapshot_all- All snapshotsstocks_get_current_price- Current pricestocks_get_gainers_and_losers- Top movers
Options
options_get_sma/ema/rsi/macd- Technical indicatorsoptions_get_trades- Option tradesoptions_get_quotes- Option quotesoptions_get_last_trade- Most recent tradeoptions_get_daily_open_close- Daily OHLCVoptions_get_aggregate_bars- Candles/barsoptions_get_previous_close- Previous day OHLCoptions_get_snapshot- Option snapshotoptions_build_symbol- Build option symboloptions_parse_symbol- Parse option symbol
Forex
forex_get_sma/ema/rsi/macd- Technical indicatorsforex_real_time_conversion- Currency conversionforex_get_historic_ticks- Historic ticksforex_get_quotes- NBBO quotesforex_get_last_quote- Last quoteforex_get_aggregate_bars- Candles/barsforex_get_grouped_daily_bars- Market-wide dailyforex_get_previous_close- Previous day OHLCforex_get_gainers_and_losers- Top movers
Crypto
crypto_get_sma/ema/rsi/macd- Technical indicatorscrypto_get_historic_trades- Historic tradescrypto_get_trades- Trades in time rangecrypto_get_last_trade- Last tradecrypto_get_daily_open_close- Daily open/closecrypto_get_aggregate_bars- Candles/barscrypto_get_grouped_daily_bars- Market-wide dailycrypto_get_previous_close- Previous day OHLCcrypto_get_snapshot_all- All snapshotscrypto_get_snapshot- Single snapshotcrypto_get_gainers_and_losers- Top moverscrypto_get_level2_book- Order book
Reference
reference_get_tickers- Query tickersreference_get_ticker_types- Ticker type mappingsreference_get_ticker_details- Ticker detailsreference_get_option_contract- Option contract inforeference_get_option_contracts- List option contractsreference_get_ticker_news- News articlesreference_get_stock_dividends- Dividend historyreference_get_stock_financials- SEC financialsreference_get_stock_splits- Split historyreference_get_market_holidays- Market holidaysreference_get_market_status- Market statusreference_get_conditions- Polygon conditionsreference_get_exchanges- Exchange list
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.