Polygon.io
An MCP server for Massive.com Financial Market Data
What is Polygon.io?
Polygon.io is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server for massive.com financial market data
An MCP server for Massive.com Financial Market Data
This server falls under the Finance & Fintech category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- An MCP server for Massive.com Financial Market Data
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx polygon-io-mcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Polygon.io
The Polygon.io MCP server (served via the Massive.com infrastructure) connects AI agents to real-time and historical financial market data including stocks, options, and cryptocurrencies through a natural-language interface. It exposes three composable tools — endpoint discovery, API execution, and SQL data querying — along with built-in financial functions like Black-Scholes pricing and technical indicators. A Massive.com API key is required, which provides access to Polygon.io data via the Massive platform.
Prerequisites
- Python 3.12 or later
- Astral UV (uv) version 0.4.0 or later
- A Massive.com account with a MASSIVE_API_KEY (register at massive.com)
- An MCP-compatible client such as Claude Desktop or Claude Code
Install the mcp_massive package
Install using uv tool install from the GitHub repository. This provides access to Polygon.io and other Massive.com financial data endpoints.
uv tool install "mcp_massive @ git+https://github.com/massive-com/[email protected]"Find the installed binary path
Get the full path to the mcp_massive binary for use in your MCP client configuration.
which mcp_massiveRegister with Claude Code
Add the server to Claude Code using the CLI, providing your Massive.com API key. This key also grants access to Polygon.io data through the Massive platform.
claude mcp add polygon-massive -e MASSIVE_API_KEY=your_api_key_here -- mcp_massiveConfigure Claude Desktop
For Claude Desktop, add the server entry to claude_desktop_config.json with the binary path and your API key in the env block.
{
"mcpServers": {
"polygon-massive": {
"command": "/path/to/mcp_massive",
"env": {
"MASSIVE_API_KEY": "your_api_key_here"
}
}
}
}Tune optional data limits
Adjust the in-memory SQLite limits if you plan to work with large datasets. These control how much fetched financial data can be held in memory for SQL querying.
export MASSIVE_MAX_TABLES=100
export MASSIVE_MAX_ROWS=200000Polygon.io Examples
Client configuration
Claude Desktop configuration connecting to Polygon.io stock and options data via the Massive.com MCP server. Replace the path and API key with real values.
{
"mcpServers": {
"polygon-massive": {
"command": "/Users/yourname/.local/bin/mcp_massive",
"env": {
"MASSIVE_API_KEY": "your_api_key_here"
}
}
}
}Prompts to try
Example prompts for querying stock, options, and cryptocurrency data through the Polygon.io/Massive data layer.
- "Get the current price and daily change for TSLA stock"
- "Show me the options chain for SPY expiring next Friday"
- "Calculate the 50-day moving average for NVDA closing prices"
- "Fetch BTC/USD OHLCV data for the past 30 days and plot a trend"
- "Find all S&P 500 stocks with volume above 10 million today"Troubleshooting Polygon.io
MASSIVE_API_KEY not recognized or returns 401 errors
The API key must be placed in the env block of the MCP server config, not as a shell export. Verify the key at massive.com dashboard and ensure there are no trailing spaces in the config value.
mcp_massive binary not on PATH after uv install
Run `uv tool dir` to find the UV tools directory and add its bin/ subfolder to your PATH. Alternatively, use the full absolute path returned by `which mcp_massive` directly in the MCP config command field.
SQL queries return no results even after fetching data
Use the search_endpoints tool first to discover the correct endpoint name, then use call_api to fetch and store the result with a named table, and finally use query_data referencing that exact table name.
Frequently Asked Questions about Polygon.io
What is Polygon.io?
Polygon.io is a Model Context Protocol (MCP) server that mcp server for massive.com financial market data It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Polygon.io?
Follow the installation instructions on the Polygon.io GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Polygon.io?
Polygon.io works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Polygon.io free to use?
Yes, Polygon.io is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
Polygon.io Alternatives — Similar Finance & Fintech Servers
Looking for alternatives to Polygon.io? Here are other popular finance & fintech servers you can use with Claude, Cursor, and VS Code.
ValueCell
★ 10.7kValueCell is a community-driven, multi-agent platform for financial applications.
Vibe Trading
★ 8.1k'Vibe-Trading: Your Personal Trading Agent'
Quantdinger
★ 6.2kAI quantitative trading platform for crypto, stocks, and forex with backtesting, live trading, market data, and multi-agent research.vibe-trading ,trading-agents,ai-trader,ai-trading
TradingView
★ 2.8kReal-time crypto & stock screening, advanced technical indicators, Bollinger Bands intelligence, candlestick patterns + native Claude Desktop integration. Multi-exchange (Binance, KuCoin, Bybit+). Open-source AI trading infrastructure.
Financial Datasets
★ 2.1kProvides access to comprehensive financial data including income statements, balance sheets, cash flow statements, stock prices, company news, SEC filings, and cryptocurrency information with built-in financial ratio analysis.
Stripe
★ 1.6kThe Stripe Model Context Protocol server allows you to integrate with Stripe APIs through function calling. This protocol supports various tools to interact with different Stripe services.
Browse More Finance & Fintech MCP Servers
Explore all finance & fintech servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Polygon.io in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Polygon.io?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.