MetorialDocs

Set up Polygon in Metorial for Claude, ChatGPT and Cursor

Share Polygon with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 23 tools, all read-only.

To give your team Polygon in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Polygon integration in a Metorial portal, and each person connects with an API key. Agents can read financial market data from Massive (formerly Polygon.io) across stocks, options, forex, crypto, and indices. The integration has 23 tools, all read-only, plus 3 triggers.

What you'll learn

  • How an admin shares Polygon in a portal and how each person connects
  • What Polygon asks for when you connect, and where to find it
  • How to check the connection with metorial call

Before you start

Sign-in method

MethodTypeWhat a person provides
API KeyAPI tokenapiKey

API Key

To connect, a person enters:

  • apiKey: Your Polygon.io API key. Found in the API Keys section of your Polygon.io dashboard.

Admin: share Polygon in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Polygon. For how members connect, choose Each person connects so everyone enters their own API key, or Shared connection to enter one API key for everyone.

Choose who gets it

Add the access groups that should see Polygon. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Polygon integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search polygon

Employee: connect Polygon

In the portal

Open Polygon in the catalog

Sign in to your portal and open Polygon. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API key (apiKey).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search polygon
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Polygon connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list polygon
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Every Polygon tool only reads, so the connection is read-only as it is.

Check it worked

metorial list polygon
metorial tools <integration-id>
metorial call <integration-id> get_forex_data -d '{"dataType":"conversion"}'

metorial tools lists the 23 tools, minus any you rejected. get_forex_data needs dataType, so replace the placeholders. It retrieves forex market data including currency conversion, last quote for a currency pair, or a snapshot of a forex ticker.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (23)

  • get_stock_snapshot: Retrieve a current market snapshot for one or more stock tickers. Needs tickers.
  • get_crypto_data: Retrieve current market snapshots for one or more cryptocurrency tickers.
  • get_forex_data: Retrieve forex market data including currency conversion, last quote for a currency pair, or a snapshot of a forex ticker. Needs dataType.
  • get_unified_snapshot: Retrieve unified snapshots for multiple tickers across different asset classes (stocks, options, forex, crypto, indices) in a single request. Needs tickers.
  • get_ticker_details: Retrieve comprehensive details about a ticker including company information, market cap, industry classification, branding, address, employee count, and other fundamental data. Needs ticker.
  • get_splits_dividends: DEPRECATED — use `get_corporate_actions` instead. Needs dataType.
  • get_market_status: Retrieve the current trading status of major markets (stocks, forex, crypto) and upcoming market holidays.
  • get_options_chain: Retrieve options contracts and chain snapshots for a given underlying ticker. Needs underlyingTicker.
  • get_technical_indicators: Retrieve pre-computed technical indicators (SMA, EMA, RSI, MACD) for any ticker (stocks, forex, crypto, indices). Needs ticker and indicator.
  • get_aggregate_bars: Retrieve OHLCV (open, high, low, close, volume) aggregate bars for any ticker (stocks, forex, crypto, options, indices) over a specified date range and time interval. Needs ticker, multiplier, timespan, from and to.
  • search_tickers: Search and list ticker symbols across all markets (stocks, options, forex, crypto, indices).
  • get_previous_close: Retrieve the previous day's OHLCV bar for any ticker (stocks, forex, crypto, options, indices). Needs ticker.
  • get_market_news: Retrieve financial news articles with optional filtering by ticker and publication date.
  • get_stock_financials: DEPRECATED — use `get_financial_statements` instead. Needs ticker.
  • get_stock_trades_quotes: Retrieve recent trades, quotes (NBBO), last trade, or last quote for a stock ticker. Needs ticker and dataType.
  • get_market_movers: Retrieve the top 20 gainers or losers of the day for stocks, forex, or crypto markets. Needs market and direction.
  • get_forex_snapshots: Retrieve current forex market snapshots for selected currency pairs or the whole forex market, including daily bars, prior-day bars, last quotes, and price changes.
  • get_corporate_actions: Retrieve stock splits or cash dividends from the current corporate actions API, including event identifiers, distribution classifications, and historical adjustment factors.
  • get_reference_data: Discover exchange IDs and MICs, ticker type codes, or trade and quote condition codes.
  • get_financial_ratios: Retrieve the latest valuation, profitability, liquidity, and leverage ratios for companies.
  • get_financial_statements: Retrieve current income statements, balance sheets, or cash flow statements with period, filing-date, and fiscal-year filters.
  • get_indices_snapshot: Retrieve current index values, trading-session performance, market status, and data timestamps for one or more indices.
  • get_grouped_daily_bars: Retrieve daily OHLCV aggregate bars across the US stock market for one date.

Triggers

Polygon has 3 triggers, which fire on events in Polygon:

  • new_market_news: Triggers when new market news articles are published, optionally filtered by ticker.
  • inbound_webhook
  • stock_price_change: Triggers periodically with the latest snapshot data for monitored stock tickers.

Next steps