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.
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 eodGETReturns historical end-of-day price bars for stocks.get_eod_by_dateGet eod by dateGETReturns the end-of-day bar for a specific date.get_eod_latestGet eod latestGETReturns the latest end-of-day bar for stocks.get_intradayGet intradayGETReturns intraday price bars for stocks.get_intraday_latestGet intraday latestGETReturns the latest intraday bar for stocks.
Exchange, 2 operations
get_exchangeGet exchangeGETReturns the details of one stock exchange.list_exchangesList exchangesGETLists the stock exchanges Marketstack covers.
Index, 2 operations
get_index_infoGet index infoGETReturns the level and performance of a market index.list_indexesList indexesGETLists the market indices Marketstack covers.
Ticker, 2 operations
get_ticker_infoGet ticker infoGETReturns the company profile for a ticker.list_tickersList tickersGETLists the tickers Marketstack covers.
Currency, 1 operation
list_currenciesList currenciesGETLists the currencies Marketstack quotes prices in.
Dividend, 1 operation
get_dividendsGet dividendsGETReturns the dividend history of tickers.
Etf holding, 1 operation
get_etf_holdingsGet etf holdingsGETReturns the holdings of an exchange traded fund.
Quote, 1 operation
get_stock_priceGet stock priceGETReturns the current price of a stock.
Split, 1 operation
get_splitsGet splitsGETReturns the stock split history of tickers.
Timezone, 1 operation
list_timezonesList timezonesGETLists 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.
