polygon-mcp

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.

Category
Visit Server

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 Average
  • stocks_get_ema - Exponential Moving Average
  • stocks_get_rsi - Relative Strength Index
  • stocks_get_macd - MACD
  • stocks_get_trades - Trades for a date
  • stocks_get_trades_v3 - Trades v3 API
  • stocks_get_quotes - Quotes for a date
  • stocks_get_quotes_v3 - NBBO quotes v3
  • stocks_get_last_trade - Most recent trade
  • stocks_get_last_quote - Most recent quote
  • stocks_get_daily_open_close - Daily OHLCV
  • stocks_get_aggregate_bars - Candles/bars
  • stocks_get_grouped_daily_bars - Market-wide daily bars
  • stocks_get_previous_close - Previous day OHLCV
  • stocks_get_snapshot - Current snapshot
  • stocks_get_snapshot_all - All snapshots
  • stocks_get_current_price - Current price
  • stocks_get_gainers_and_losers - Top movers

Options

  • options_get_sma/ema/rsi/macd - Technical indicators
  • options_get_trades - Option trades
  • options_get_quotes - Option quotes
  • options_get_last_trade - Most recent trade
  • options_get_daily_open_close - Daily OHLCV
  • options_get_aggregate_bars - Candles/bars
  • options_get_previous_close - Previous day OHLC
  • options_get_snapshot - Option snapshot
  • options_build_symbol - Build option symbol
  • options_parse_symbol - Parse option symbol

Forex

  • forex_get_sma/ema/rsi/macd - Technical indicators
  • forex_real_time_conversion - Currency conversion
  • forex_get_historic_ticks - Historic ticks
  • forex_get_quotes - NBBO quotes
  • forex_get_last_quote - Last quote
  • forex_get_aggregate_bars - Candles/bars
  • forex_get_grouped_daily_bars - Market-wide daily
  • forex_get_previous_close - Previous day OHLC
  • forex_get_gainers_and_losers - Top movers

Crypto

  • crypto_get_sma/ema/rsi/macd - Technical indicators
  • crypto_get_historic_trades - Historic trades
  • crypto_get_trades - Trades in time range
  • crypto_get_last_trade - Last trade
  • crypto_get_daily_open_close - Daily open/close
  • crypto_get_aggregate_bars - Candles/bars
  • crypto_get_grouped_daily_bars - Market-wide daily
  • crypto_get_previous_close - Previous day OHLC
  • crypto_get_snapshot_all - All snapshots
  • crypto_get_snapshot - Single snapshot
  • crypto_get_gainers_and_losers - Top movers
  • crypto_get_level2_book - Order book

Reference

  • reference_get_tickers - Query tickers
  • reference_get_ticker_types - Ticker type mappings
  • reference_get_ticker_details - Ticker details
  • reference_get_option_contract - Option contract info
  • reference_get_option_contracts - List option contracts
  • reference_get_ticker_news - News articles
  • reference_get_stock_dividends - Dividend history
  • reference_get_stock_financials - SEC financials
  • reference_get_stock_splits - Split history
  • reference_get_market_holidays - Market holidays
  • reference_get_market_status - Market status
  • reference_get_conditions - Polygon conditions
  • reference_get_exchanges - Exchange list

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured