Set up Marketstack in Metorial for Claude, ChatGPT and Cursor
Share Marketstack with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 22 tools, all read-only.
To give your team Marketstack in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Marketstack integration in a Metorial portal, and each person connects with an API key. Agents can retrieve real-time, intraday, and historical stock market data for 30,000+ tickers across 70+ global exchanges. The integration has 22 tools, all read-only, plus 1 trigger.
What you'll learn
- How an admin shares Marketstack in a portal and how each person connects
- What Marketstack asks for when you connect, and where to find it
- How to check the connection with
metorial call
Before you start
- A portal with at least one access group
- An API key from Marketstack for each person, or one for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in method
| Method | Type | What a person provides |
|---|---|---|
| API Key | API token | token |
API Key
To connect, a person enters:
token: Marketstack API access key from your account dashboard
Admin: share Marketstack 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 Marketstack. 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 Marketstack. 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 Marketstack integration. Once it exists, check which groups have it:
Employee: connect Marketstack
In the portal
Open Marketstack in the catalog
Sign in to your portal and open Marketstack. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your API key (token).
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
catalog search prints the catalog item ID.
Add it to your AI client
metorial install adds your Marketstack 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.
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 Marketstack tool only reads, so the connection is read-only as it is.
Check it worked
metorial tools lists the 22 tools, minus any you rejected. get_sec_financial_data needs mode, so replace the placeholders. It retrieves XBRL financial data from SEC EDGAR filings.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (22)
search_sec_filings: Search SEC EDGAR filings by company name or CIK code.search_tickers: Search for stock tickers by name, symbol, or exchange.get_intraday_prices: Retrieve intraday stock price data with configurable intervals from 1 minute to 24 hours. Needssymbols.get_etf_holdings: Retrieve complete ETF holdings data by ticker, including fund metadata and individual security holdings with balances, values, weights, asset categories, and ISINs. Needssymbol.get_sec_financial_data: Retrieve XBRL financial data from SEC EDGAR filings. Needsmode.get_government_bonds: Retrieve 10-year government bond yield data for 53+ countries.get_splits_and_dividends: Retrieve historical stock split factors and/or dividend payment information for one or more tickers. Needssymbolsandtype.get_commodities: Retrieve current or historical commodity prices by commodityName, including energy, metals, agriculture, and livestock.list_exchanges: List and search supported stock exchanges worldwide.get_market_indices: Retrieve data for 86+ global stock market indices and benchmarks.get_ticker_details: Retrieve detailed company information for a specific ticker symbol, including company name, country, exchange details, and data availability. Needssymbol.get_eod_prices: Retrieve end-of-day (closing) stock prices including open, high, low, close, volume, and adjusted values. Needssymbols.get_analyst_ratings: DEPRECATED — use `get_company_ratings` instead. Needssymbols.list_timezones: List supported IANA timezones and their standard and daylight-saving abbreviations.get_company_ratings: Retrieve analyst buy/sell/hold ratings and consensus price targets for exactly one company ticker through the current company-ratings API.list_currencies: List supported currencies, including currency codes, names, and native symbols.list_etfs: Discover available ETF ticker symbols before retrieving their holdings.get_realtime_prices: Get the last known stock price across exchanges, with currency and the provider trade timestamp.get_market_index: Retrieve a single benchmark quote directly without listing and fetching every index.get_company_profile: Get extended company information by ticker, including industry, sector, executives, addresses, and listings when provided.get_accounts_payable_frames: Get the latest SEC AccountsPayableCurrent fact per reporting entity for a calendar frame, using the documented US-GAAP accounts-payable API.download_catalog: Download the provider-published supported ticker, end-of-day ticker, or commodity catalog to discover query identifiers.
Triggers
Marketstack has 1 trigger, which fire on events in Marketstack:
inbound_webhook
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Marketstack there
- Tool permissions: tool filters and what employees see
- Marketstack on metorial.com: the integration overview