Massive (Polygon.io) MCP server for AI agents

Live

BEARER TOKEN

MARKET DATA

Accounting & Finance

Massive (Polygon.io) gives your agent read access to market data in your Massive account: price bars, snapshots, trades, and quotes for stocks, options, forex, and crypto, plus technical indicators, SEC filings, financial statements, and economic data.

  • Per-user credentials: each call uses the actual user's access token, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
Massive (Polygon.io)
agent · Acme Q3
Run
Show the top 20 US stock gainers today.
S
polygon_stocks_movers_get
175ms
Market data agent
Returned the 20 biggest US stock gainers of the day by percent change, each with price and volume.
Sources: Massive stock movers
polygon
20 tickers
18:29
Message Claude...

Tools your market data agent reaches for on Massive (Polygon.io), scoped per user.

CALL ANY TOOL
60 tools for market data in Massive (Polygon.io): read aggregates, snapshots, trades, and quotes for stocks, options, forex, and crypto, calculate technical indicators, and list SEC filings, financial statements, ratios, and economic indicators.
polygon_aggregates_get
Get aggregates
Get OHLC aggregate bars for any ticker (stocks, options, indices, forex or crypto) over a date range, in windows of multiplier x timespan (for example 5 minute or 1 day). Returns per bar the open, high, low, close, volume, VWAP, trade count and start timestamp, plus next_url when more bars remain. Use this for price history and charts. Use polygon_previous_close_get for only the last day.
Parameters
Name
Type
Required
Description
from
string
Required
The start of the aggregate time window. Either a date with the format YYYY-MM-DD or a millisecond timestamp. Example: 2025-11-03.
multiplier
integer
Required
The size of the timespan multiplier. Example: 1.
ticker
string
Required
Ticker symbol, case-sensitive. Stocks use the plain symbol (AAPL); options use O: (O:AAPL251219C00200000), indices I: (I:SPX), forex C: (C:EURUSD) and crypto X: (X:BTCUSD). Example: AAPL.
timespan
string
Required
The size of the time window. One of: second, minute, hour, day, week, month, quarter, year. Example: day. One of: `second`, `minute`, `hour`, `day`, `week`, `month`, `quarter`, `year`.
to
string
Required
The end of the aggregate time window. Either a date with the format YYYY-MM-DD or a millisecond timestamp. Example: 2025-11-28.
adjusted
boolean
Optional
Whether or not the results are adjusted for splits. By default, results are adjusted. Set this to false to get results that are NOT adjusted for splits. Example: true.
limit
integer
Optional
Limits the number of base aggregates queried to create the aggregate results. Max 50000 and Default 5000. Read more about how limit is used to calculate aggregate results in our article on [Aggregate Data API Improvements](https://massive.com/blog/aggs-api-updates/). Example: 25.
sort
string
Optional
Sort the results by timestamp. asc will return results in ascending order (oldest at the top), desc will return results in descending order (newest at the top). One of: asc, desc. Example: asc. One of: `asc`, `desc`.
polygon_balance_sheets_list
List balance sheets
polygon_conditions_list
List conditions
polygon_crypto_last_trade_get
Get crypto last trade
polygon_crypto_order_book_get
Get crypto order book
polygon_currency_convert
Convert currency
polygon_daily_open_close_get
Get daily open close
polygon_dividends_list
List dividends
polygon_filings_index_list
List filings index
polygon_forex_movers_get
Get forex movers
polygon_forex_snapshot_list
List forex snapshot
polygon_grouped_daily_crypto_get
Get grouped daily crypto
polygon_grouped_daily_stocks_get
Get grouped daily stocks
polygon_indicator_macd_get
Get indicator macd
polygon_indicator_sma_get
Get indicator sma
polygon_inflation_list
List inflation
polygon_ipos_list
List ipos
polygon_last_quote_get
Get last quote
polygon_market_holidays_list
List market holidays
polygon_market_status_get
Get market status
polygon_options_chain_snapshot_get
Get options chain snapshot
polygon_options_contracts_list
List options contracts
polygon_previous_close_get
Get previous close
polygon_ratios_list
List ratios
polygon_short_interest_list
List short interest
polygon_splits_list
List splits
polygon_stock_snapshot_get
Get stock snapshot
polygon_ticker_events_get
Get ticker events
polygon_ticker_types_list
List ticker types
polygon_trades_list
List trades

For more tools, view docs.

Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// Massive tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["polygon"], toolNames: [
    "polygon_stocks_movers_get",
    "polygon_indicator_rsi_get",
    "polygon_income_statements_list"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Show today's top stock gainers, calculate the RSI for the first one, and pull its latest income statement" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["polygon"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Show today's top stock gainers, calculate the RSI for the first one, and pull its latest income statement" }],
  tools,
});

// Execute the tool call with the user's vaulted Massive access token
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["polygon"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Show today's top stock gainers, calculate the RSI for the first one, and pull its latest income statement" }],
  tools,
});

// Tool call runs with the user's vaulted Massive access token
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["polygon"] }, pageSize: 100,
});

const agent = new Agent({
  name: "market_data_agent",
  model: "gemini-2.5-pro",
  instruction: "Massive tools scoped to this user",
  tools,
});

await agent.run("Show today's top stock gainers, calculate the RSI for the first one, and pull its latest income statement");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Massive (Polygon.io) tool. Click to copy, paste into your agent, done.
Prices and snapshots
Copy the prompt
Copied
Get daily bars for this ticker for the last 30 days.
Copy the prompt
Copied
Show the current snapshot for this stock.
Copy the prompt
Copied
List today's top forex losers.
Indicators and options
Copy the prompt
Copied
Calculate the 14-day RSI for this ticker.
Copy the prompt
Copied
Show the options chain snapshot for this underlying.
Copy the prompt
Copied
Get the last trade for this crypto pair.
Fundamentals and macro
Copy the prompt
Copied
List the latest income statements for this ticker.
Copy the prompt
Copied
Show recent insider transactions for this company.
Copy the prompt
Copied
List the US Treasury yields for this month.
SEE HOW AUTH WORKS
Each user connects their own Massive access token once, and Scalekit sends it with every call. Tokens stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Massive (Polygon.io)
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
Massive (Polygon.io)
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
Massive (Polygon.io)
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
Massive (Polygon.io)
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other finance and analytics connectors.
GTM and RevOps Teams
Revenue forecast commentary
Pulls open pipeline from Salesforce and HubSpot, calculates coverage against quota, flags at-risk stages, posts commentary to Slack, and logs every snapshot to Google Sheets.
GTM and RevOps Teams
Competitive intelligence briefing agent
Scans Gong calls for competitor mentions, matches each one to its Notion battlecard, and DMs every affected rep a single Slack digest per cycle. Every call runs as the PMM who owns the briefing, never a shared bot.
Test other agents
See the same per-user auth pattern across other finance and analytics connectors.
GTM
Revenue forecast agent
Score pipeline coverage against quota across Salesforce and HubSpot, post forecast commentary to Slack, log snapshots to Sheets.
GTM
Competitive intelligence briefing agent
Scan Gong calls for competitor mentions, match each one to its Notion battlecard, and DM every affected rep a single Slack digest.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared Massive access token looks fine in a demo. In production every market data request looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared token
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
Massive today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access Massive as the user or through a shared token?
As the user. Each user connects their own Massive access token once, and Scalekit sends it with every call. Data requests the agent makes are attributed to that user in your audit trail, not a shared service account.
Where is the Massive access token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new access token. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in Massive?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the snapshot and fundamentals tools without the tick-level polygon_trades_list and polygon_quotes_list. All 60 tools are read-only, so none writes or deletes data in Massive. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Massive access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
Which asset classes does the connector cover?
Stocks, options, indices, forex, and crypto. Tools such as polygon_aggregates_get work on any of them, and others are specific, like polygon_crypto_order_book_get for crypto and polygon_options_chain_snapshot_get for options.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""polygon"": {
""url"": ""https://mcp.scalekit.com/polygon"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.polygon]
url = ""https://mcp.scalekit.com/polygon""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""polygon"": {
""url"": ""https://mcp.scalekit.com/polygon"",
""type"": ""http""
}
}
}