Marketstack integration
Marketstack v2 market data: end-of-day and intraday price bars for stocks across seventy exchanges, split and dividend history, the ticker universe with per-company profiles, exchange, currency and time zone reference data, market index listings, live stock prices and ETF holdings. Every call is a GET authenticated with an access key carried in the query string.
Say what should happen.
The workflow builds itself.
Common Marketstack use cases
- seeing what an ETF is exposed to
- showing a live price in an alert
- backtesting a strategy on daily bars
- reporting how a benchmark moved today
- valuing a portfolio at the last close
- discovering which indices are available
- valuing a transaction at its trade date
- computing total return including dividends
- labelling prices with their currency symbol
- charting a trading day in fifteen-minute bars
What you can do with Marketstack
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Price bar, 5 operations
get_eodGet eodGETAgents: ask firstReturns historical end-of-day price bars for stocks.get_eod_by_dateGet eod by dateGETAgents: ask firstReturns the end-of-day bar for a specific date.get_eod_latestGet eod latestGETAgents: ask firstReturns the latest end-of-day bar for stocks.get_intradayGet intradayGETAgents: ask firstReturns intraday price bars for stocks.get_intraday_latestGet intraday latestGETAgents: ask firstReturns the latest intraday bar for stocks.
Exchange, 2 operations
get_exchangeGet exchangeGETAgents: ask firstReturns the details of one stock exchange.list_exchangesList exchangesGETAgents: ask firstLists the stock exchanges Marketstack covers.
Index, 2 operations
get_index_infoGet index infoGETAgents: ask firstReturns the level and performance of a market index.list_indexesList indexesGETAgents: ask firstLists the market indices Marketstack covers.
Ticker, 2 operations
get_ticker_infoGet ticker infoGETAgents: ask firstReturns the company profile for a ticker.list_tickersList tickersGETAgents: ask firstLists the tickers Marketstack covers.
Currency, 1 operation
list_currenciesList currenciesGETAgents: ask firstLists the currencies Marketstack quotes prices in.
Dividend, 1 operation
get_dividendsGet dividendsGETAgents: ask firstReturns the dividend history of tickers.
Etf holding, 1 operation
get_etf_holdingsGet etf holdingsGETAgents: ask firstReturns the holdings of an exchange traded fund.
Quote, 1 operation
get_stock_priceGet stock priceGETAgents: ask firstReturns the current price of a stock.
Split, 1 operation
get_splitsGet splitsGETAgents: ask firstReturns the stock split history of tickers.
Timezone, 1 operation
list_timezonesList timezonesGETAgents: ask firstLists the time zones of the covered exchanges.
Use Marketstack from Claude Code, Cursor or Codex
Connect Marketstack in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Marketstack operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Marketstack
- Create your workspace
Sign up free. Nothing to install.
- Connect Marketstack once
Add your Marketstack connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Marketstack integration FAQ
What can you do with the Marketstack integration?
LiveContext exposes 17 operations on Marketstack, covering price bar, exchange, index and ticker. Common uses include seeing what an ETF is exposed to, showing a live price in an alert and backtesting a strategy on daily bars.
