Marketstack
Stock Data Real-Time, Intraday & Historical Market Data API providing access to 125,000+ tickers across 72+ stock exchanges worldwide
Verdict
Common use cases
- Pull dividend history for portfolio stocks
- Compare sector performance across exchanges
- Validate pricing assumptions in financial models
- Track stock splits before earnings calls
- Enrich CRM records with live ticker data
Integration
- Vendor
- Marketstack
- Category
- developer-tools
- Auth
- API_KEY
- Tools
- 10
- Composio slug
marketstack
Tools
- Get Dividends
Tool to retrieve stock dividend data for one or more ticker symbols from Marketstack API. Use when you need historical dividend payment information for stocks, including dividend amounts and payment dates.
- Get End-of-Day Data
Tool to retrieve end-of-day (EOD) stock data for one or multiple ticker symbols. Returns OHLCV data (open, high, low, close, volume) along with adjusted prices, dividends, and split factors. Use when you need historical daily stock prices o
- Get Exchange Info
Tool to retrieve detailed information for a specific stock exchange by its MIC (Market Identifier Code). Use when you need comprehensive information about an exchange including its location, status, and operational details.
- Get Stock Splits
Tool to retrieve stock split data for one or more stock symbols from Marketstack. Use when you need historical split information including split factors and dates.
- Get Ticker EOD Data
Tool to retrieve end-of-day stock price data for a specific ticker symbol. Use when you need historical daily price information including open, high, low, close, volume, and adjusted values.
- Get Ticker EOD Latest
Tool to retrieve end-of-day (EOD) stock data for the latest available date for a specific ticker. Use when you need the most recent trading day data for a stock symbol.
- Get Ticker Info
Tool to retrieve detailed information about stock tickers including exchange, sector, and industry data. Use when you need comprehensive company information for a ticker symbol.
- List Currencies
Tool to retrieve a list of all supported currencies from the Marketstack API. Use when you need to get information about available currencies for stock market data.
- List Stock Exchanges
Tool to retrieve information about supported stock exchanges. Use when you need to list or search for stock exchanges from the 2700+ exchanges available in Marketstack.
- List Tickers
Tool to get a list of all supported stock tickers. Use when you need to obtain the full list of tickers supported by Marketstack or search for specific tickers.
Setup
Setup guide
- 11. Open your Switchy workspace and navigate to Settings > Integrations > MCP Servers. 2. Click 'Add MCP Server' and select Marketstack from the catalog. 3. Sign up at marketstack.com if you don't have an account, then copy your API access key from the dashboard. 4. Paste the key into the API Key field in Switchy and click 'Connect'. 5. Switchy will verify the key and confirm the connection — you'll see a green checkmark when it succeeds. 6. Open any Space, type '@Marketstack get the latest EOD data for AAPL', and send the message. 7. The MCP will return a structured response with open, high, low, close, volume, and adjusted values. 8. If the response fails, check your API key hasn't expired and that you haven't exceeded your plan's request limit.
What teammates see: by default, memories from Marketstack are scoped to the Space (PROJECT visibility) - you can mark any memory PRIVATE or share it ORG-wide.
Works well with
Top models
Compatibility data appears once enough Spaces have used this MCP together with a given model.
How Switchy teams use it
Starter prompts
Latest Price Check
@Marketstack get the latest EOD data for TSLA and show me the close price, volume, and adjusted close.Open in a Space →
Dividend Calendar
@Marketstack pull the last five dividend payments for JNJ and list the amounts and ex-dividend dates.Open in a Space →
Exchange Deep Dive
@Marketstack get information for the XNAS exchange and tell me its full name, timezone, and operating hours.Open in a Space →
Split History Lookup
@Marketstack find all stock splits for AAPL in the last three years and show the split factors and dates.Open in a Space →
Multi-Ticker Snapshot
@Marketstack get the latest EOD data for MSFT, GOOGL, and AMZN, then compare their closing prices and volumes.Open in a Space →
Example outputs
Illustrative - representative of the model's voice and quality, not literal recordings.
@Marketstack show me the latest end-of-day data for AAPL, MSFT, and GOOGL with their closing prices and volume
Here's the latest end-of-day data for those three tickers: AAPL closed at $178.45 (+1.2%) with volume of 52.3M shares. High: $179.12, Low: $176.88. MSFT closed at $412.67 (-0.4%) with volume of 28.1M shares. High: $415.23, Low: $411.05. GOOGL closed at $141.23 (+0.8%) with volume of 31.7M shares. High: $142.01, Low: $140.15. All data reflects the most recent trading session. Adjusted close values account for splits and dividends.
This example demonstrates the Get End-of-Day Data tool's ability to fetch multiple tickers in one request. Note that Marketstack's free tier limits historical data access and API call volume—check your plan's rate limits before building automated workflows that poll frequently.
@Marketstack get dividend history for AAPL over the last 12 months and calculate the total annual yield
AAPL dividend history (last 12 months): • Feb 2024: $0.24 per share • Nov 2023: $0.24 per share • Aug 2023: $0.24 per share • May 2023: $0.24 per share Total annual dividends: $0.96 per share. Based on the current price of $178.45, the trailing dividend yield is approximately 0.54%. Note: This calculation uses the most recent closing price. Actual yield varies with stock price movements.
This example pairs the Get Dividends tool with AI reasoning to compute yield. Marketstack returns raw dividend records—the AI synthesizes them into actionable insight. Requires a paid plan for full historical dividend access; free tier may return limited results.
@Marketstack look up the exchange info for NASDAQ (MIC: XNAS) and tell me what sectors are most represented there
NASDAQ (XNAS) is a US-based electronic stock exchange located in New York. It operates Monday-Friday, 9:30 AM - 4:00 PM ET, and is one of the world's largest exchanges by market capitalization. While Marketstack provides exchange metadata (timezone, currency, operating hours), it doesn't directly aggregate sector representation. However, NASDAQ is historically dominated by Technology, Consumer Discretionary, and Healthcare sectors—companies like AAPL, MSFT, AMZN, and TSLA trade here. For sector breakdowns, you'd need to query individual ticker data and aggregate by industry classification.
This example shows the Get Exchange Info tool's scope: it returns exchange-level metadata, not aggregate analytics. The AI correctly identifies what the tool can and cannot do. If you need sector distribution analysis, you'll need to fetch ticker info for multiple symbols and aggregate manually.
Use-case deep-dives
When Marketstack beats spreadsheet chaos for small syndicates
A 6-person angel syndicate reviews portfolio performance every Monday morning. They track 20-30 early-stage companies that went public, plus a handful of index benchmarks. Before Marketstack, someone manually pulled Yahoo Finance CSVs and pasted them into a shared Google Sheet. Now they run Get Ticker EOD Data and Get Dividends in a Switchy workspace, compare week-over-week closes, and flag outliers in under 5 minutes. The API key auth means no OAuth dance, and the 10 tools cover splits, dividends, and exchange metadata without custom scraping. If your syndicate tracks more than 50 tickers or needs intraday data, you'll hit rate limits on the free tier and need to upgrade. For weekly cadence and public-market tracking, this MCP is the fastest path from 'someone do the spreadsheet' to 'AI does the spreadsheet.'
Why this MCP wins for stock-data troubleshooting at scale
A 12-person fintech startup offers a robo-advisor app. Support tickets often ask 'why did my portfolio value drop?' or 'where's my dividend?' The support team used to manually check Marketstack's web dashboard, then copy-paste explanations into Zendesk. Now they pipe the ticket into a Switchy workspace, run Get Ticker EOD Latest and Get Stock Splits, and the AI drafts a response citing the actual split factor or dividend date. The Get Exchange Info tool catches edge cases where a foreign exchange was closed for a holiday. This works because the MCP's 10 tools map directly to the top 5 support question types, and API key auth means no per-agent provisioning. If your ticket volume exceeds 200/day, you'll need a paid Marketstack plan to avoid throttling. For early-stage support teams, this MCP turns stock-data questions into 30-second resolutions instead of 10-minute rabbit holes.
When Marketstack is overkill for internal financial reporting
A fractional CFO serves 4 SaaS companies and needs to pull public-market comps for board decks each quarter. She compares her clients' revenue multiples to 10-15 publicly traded peers. Marketstack's Get End-of-Day Data and Get Ticker Info tools can fetch the raw OHLCV and sector metadata, but the MCP doesn't calculate valuation multiples or normalize fiscal calendars—she still needs a spreadsheet or BI tool for that. If she's already paying for a Bloomberg Terminal or FactSet seat, Marketstack is redundant. But if she's bootstrapping and only needs quarterly snapshots, the free tier (100 requests/month) covers 4 quarters of 15-ticker pulls with room to spare. The buying call: use this MCP if you're doing lightweight public-market research without a dedicated data vendor, and you're comfortable doing the valuation math yourself.
Frequently asked
What does the Marketstack MCP do in Switchy?
It pulls historical stock market data — end-of-day prices, dividends, splits, exchange info — into your Switchy workspace. Your AI can answer questions like "What was AAPL's close price last Friday?" or "Show me Tesla's dividend history" without you leaving the chat. It's read-only; it won't execute trades or modify your Marketstack account.
Do I need a paid Marketstack plan to use this MCP?
You need a Marketstack API key, which means at least their free tier. The free plan caps you at 100 requests per month and limits historical data range, so if your team runs daily stock analysis you'll hit that ceiling fast. Paid plans start at $10/month for 10,000 requests. Paste your API key into Switchy's connection flow; no OAuth dance required.
Can the Marketstack MCP get real-time intraday prices?
No. It only fetches end-of-day data — the close, high, low, open, and volume after the market shuts. If you need tick-by-tick or minute-level data, you'll have to call Marketstack's intraday endpoints directly via their REST API or use a different MCP. This one is built for historical analysis, not live trading dashboards.
How is this different from just hitting the Marketstack API myself?
You skip writing fetch loops and parsing JSON. Ask your AI "What's the 30-day moving average for Microsoft?" and it calls Get Ticker EOD Data, does the math, and replies in plain English. If you're already piping Marketstack into a Python script, this won't change your life. If you want ad-hoc queries without code, it's faster.
Who on my team should connect the Marketstack account?
Whoever holds the Marketstack API key — usually your finance analyst or dev lead. Once connected in Switchy, everyone in the workspace can query the data through the AI. The key stays scoped to read-only market data, so there's no risk of accidental writes. Just make sure the key's rate limit covers your team's query volume.