Integrating Marketstack with Hermes
Using Composio Connect CLI
1. Install the Composio CLI
Run the install script directly, or paste https://composio.dev/hermes into your Hermes chat box to have it installed for you.
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.SIGN UP
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.LOG IN
You can get a message when a stock crosses a price, get a closing report on your watchlist every weekday and hear about new dividends and splits on stocks you hold from Hermes. Composio runs each call on its own Marketstack account, so you don't need a Marketstack API key, and your first $2 is free.
Hermes runs Marketstack through Composio, and the cost comes out of your free $2.
$2 ≈ 2200 lookups
| When you ask Hermes for | Hermes uses this tool | Cost | What $2 gets you |
|---|---|---|---|
| The latest price for a stock | Get Real-Time Stock Price | $0.0009 per lookup | About 2,200 lookups |
| A year of daily prices for a stock | Get End-of-Day Data | $0.0009 per lookup | About 2,200 lookups |
| Dividend history for a stock | Get Dividends | $0.0009 per lookup | About 2,200 lookups |
| Today's intraday prices for a stock | Get Ticker Intraday Data | $0.0009 per lookup | About 2,200 lookups |
| Sector and industry for a ticker | Get Ticker Info | $0.0009 per lookup | About 2,200 lookups |
You pay Marketstack's price for each call with 0% markup, plus the regular Composio tool call charge. There's no Marketstack subscription, and you only pay for what you use.
19 of 19 Marketstack tools work without a key. Read how Instant works.
Composio adds Marketstack to Hermes as an Instant toolkit. You connect Composio to Hermes once, and then Hermes can use Marketstack right away. There are two ways to do this:
You bring your own Marketstack API key, set it up, and use it.
Composio runs each call on its own Marketstack account, so you don't have to set anything up at Marketstack, and your first $2 is free.
You do the setup one time and it takes about a minute. If you build Marketstack into your own product, turn on Instant toolkits in your project settings so your agent can call Marketstack for each of your users without a Marketstack API key, and read Instant tools in the Composio docs for the setup steps and code examples.
Open your Composio wallet and turn on Instant. Your free $2 shows up there.
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.Open my wallet
Follow the setup below. You only do this once.
Try a Marketstack prompt. The cost comes out of your $2.
1. Install the Composio CLI
Run the install script directly, or paste https://composio.dev/hermes into your Hermes chat box to have it installed for you.
curl -fsSL https://composio.dev/install | bash
2. Authenticate
Once the CLI is installed, ask Hermes to authenticate with Composio.
3. Connect to Marketstack
Ask your agent to connect to Marketstack, or simply request any Marketstack-related task. Hermes will prompt you to authenticate and authorize access.
4. Done. You're all set with a new Marketstack connection.
1. Get your MCP URL and API Key
Go to dashboard.composio.dev and copy your Connect MCP URL and API key.

2. Open the Hermes config file
nano ~/.hermes/config.yaml3. Add the Composio Connect MCP server
mcp_servers:
composio:
url: "https://connect.composio.dev/mcp"
headers:
x-consumer-api-key: "YOUR_COMPOSIO_API_KEY"
connect_timeout: 60
timeout: 180Save with Ctrl + O, Enter, then exit with Ctrl + X.
4. Restart your Hermes agent
Once restarted, ask your agent to connect to Marketstack or request any Marketstack-related task. It will prompt you to authenticate and authorize access.
5. Done!
Start a new chat and try this prompt:
Check the price of [US ticker] every 30 minutes while the US market is open. Message me once if it goes above [price] or below [price], with the price and the time. Then wait for me to set new levels.
Hermes runs it on Instant and shows you the result. It doesn't ask you for a Marketstack key, and the cost comes out of your $2. You can see each call in your wallet.
Each prompt runs on Instant, and the cost next to it is about what it takes from your $2.
Checks a US stock's price every 30 minutes during market hours and messages you when it passes a level you set.
Check the price of [US ticker] every 30 minutes while the US market is open. Message me once if it goes above [price] or below [price], with the price and the time. Then wait for me to set new levels.
Sends you each stock's close and daily change after the market closes, with the biggest movers first.
Every weekday after the US market closes, get the latest closing prices for [up to 10 tickers]. Message me each one's close and percent change for the day, biggest movers first, and flag anything that moved more than 3%.
Checks dividend and split records for your stocks each week and messages you only when something new shows up.
Each Monday, check the dividend and split records for [up to 10 tickers]. Message me anything that wasn't there last week, with the date and the amount per share or the split ratio. If nothing is new, don't message me.
Compares each day's volume with the 30-day average and messages you when a stock trades at more than double.
Every weekday after the close, get the last 30 days of daily data for [up to 10 tickers]. Message me any stock whose volume today was more than twice its 30-day average, with the volume, the average and the day's price change.
Works out a stock's 50-day and 200-day averages after each close and messages you only on the day it crosses one.
Every weekday after the close, get the last 200 daily closes for [ticker] and work out its 50-day and 200-day moving averages. Message me only on days when the close crosses either average, and say which way it crossed.
Compare today's first intraday price with the prior close.
Each trading day after the open, get yesterday's closing price and today's first intraday bar for [US ticker]. Message me if the gap from the prior close exceeds [percent], with both prices and the gap. Remember which date you already reported.
Alert when the latest quote spread widens beyond a limit.
During market hours, get the latest intraday bar for [US ticker] every 30 minutes. If bid and ask are returned, message me when their spread exceeds [percent], with both quotes and the timestamp. Send one alert per widening episode.
Check daily closes against the prior year of prices.
After each trading day, get the past year of daily prices for [ticker]. Message me when today's high exceeds every earlier high in that returned year, with the new high and prior high. Remember the last date reported.
| Tool | What it does | Works without a key | Cost on Instant |
|---|---|---|---|
| Get Dividends | Tool to retrieve stock dividend data for one or more ticker symbols from Marketstack API. | Yes | $0.009 per 10 stock requests |
| Get End-of-Day Data | Tool to retrieve end-of-day (EOD) stock data for one or multiple ticker symbols. | Yes | $0.009 per 10 stock requests |
| Get Exchange Info | Tool to retrieve detailed information for a specific stock exchange by its MIC (Market Identifier Code). | Yes | $0.009 per 10 API requests |
| Get Exchange Intraday Data | Tool to retrieve intraday stock data for symbols on a specific stock exchange (by MIC) at a chosen interval. | Yes | $0.009 per 10 stock requests |
| Get Exchange Intraday Data for Date | Tool to retrieve intraday stock data for symbols on a specific stock exchange (by MIC) for a specific date. | Yes | $0.009 per 10 stock requests |
| Get Exchange Intraday Latest | Tool to retrieve the latest available intraday data for symbols on a specific stock exchange (by MIC). | Yes | $0.009 per 10 stock requests |
| Get Intraday Data | Tool to retrieve intraday (real-time and historical) stock data for one or multiple ticker symbols at a chosen interval (1min/5min/10min/15min/30min/1hour). | Yes | $0.009 per 10 stock requests |
| Get Intraday Data for Date | Tool to retrieve intraday stock data for one or multiple ticker symbols on a specific date. | Yes | $0.009 per 10 stock requests |
| Get Intraday Latest Data | Tool to retrieve the latest available intraday data point(s) for one or multiple ticker symbols. | Yes | $0.009 per 10 stock requests |
| Get Stock Splits | Tool to retrieve stock split data for one or more stock symbols from Marketstack. | Yes | $0.009 per 10 stock requests |
| Get Real-Time Stock Price | Tool to retrieve the real-time (last known) stock price for a ticker symbol. | Yes | $0.009 per 10 stock requests |
| Get Ticker EOD Data | Tool to retrieve end-of-day stock price data for a specific ticker symbol. | Yes | $0.009 per 10 stock requests |
| Get Ticker EOD Latest | Tool to retrieve end-of-day (EOD) stock data for the latest available date for a specific ticker. | Yes | $0.009 per 10 stock requests |
| Get Ticker Info | Tool to retrieve detailed information about stock tickers including exchange, sector, and industry data. | Yes | $0.009 per 10 stock requests |
| Get Ticker Intraday Data | Tool to retrieve intraday stock data for a single ticker symbol at a chosen interval (1min/5min/10min/15min/30min/1hour). | Yes | $0.009 per 10 stock requests |
| Get Ticker Intraday Latest | Tool to retrieve the latest available intraday bar for a single ticker symbol, including real-time bid/ask quote fields. | Yes | $0.009 per 10 stock requests |
| List Currencies | Tool to retrieve a list of all supported currencies from the Marketstack API. | Yes | $0.009 per 10 API requests |
| List Stock Exchanges | Tool to retrieve information about supported stock exchanges. | Yes | $0.009 per 10 API requests |
| List Tickers | List supported stock tickers or search for specific tickers, with optional exchange filtering. | Yes | $0.009 per 10 API requests |
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.Open my Composio wallet
Check that Instant is turned on in your Composio wallet, then ask again.
Open your wallet in the Composio dashboard and check that Instant is turned on. If the $2 still isn't there, email support@composio.dev from the address you signed up with.
Your balance is empty. Add funds to your wallet on a Pro plan, or connect your own Marketstack key, then try again.
Use Marketstack MCP with Claude Code
Use Marketstack MCP with Claude Cowork
Use Marketstack MCP with OpenAI Agents SDK
Use Marketstack MCP with Claude Agent SDK
Use Marketstack MCP with Codex

Use Marketstack MCP with OpenClaw
Use Marketstack MCP with Atomic Agent
Use Marketstack MCP with Google ADK
Use Marketstack MCP with LangChain
Use Marketstack MCP with Vercel AI SDK
Use Marketstack MCP with Mastra AI
Use Marketstack MCP with LlamaIndex
Use Marketstack MCP with CrewAI
Use Marketstack MCP with Pydantic AI
Use Marketstack MCP with AutoGen
Firecrawl automates large-scale web crawling and data extraction. It helps organizations efficiently gather, index, and analyze content from online sources.
Tavily offers powerful search and data retrieval from documents, databases, and the web. It helps teams locate and filter information instantly, saving hours on research.
Exa is a data extraction and search platform for gathering and analyzing information from websites, APIs, or databases. It helps teams quickly surface insights and automate data-driven workflows.
SerpApi is a real-time API for structured search engine results. It lets you automate SERP data collection, parsing, and analysis for SEO and research.
No. Every Marketstack tool runs on Instant, so Composio runs each call on its own Marketstack account and you only add Composio to your agent.
Yes. Every Composio account gets $2 of Instant credit once you turn on Instant, and you can use it on Marketstack or on any other Instant toolkit.
You can get about 2,200 lookups, about 2,200 lookups or about 2,200 lookups. The price list on this page shows the cost of each tool.
Instant calls stop. You can add funds to your wallet on a Pro plan, or connect your own Marketstack key.
You pay Marketstack's price for each call with 0% markup, plus the regular Composio tool call charge.
Yes. Connect your key from the Marketstack toolkit in your Composio dashboard. Composio always uses your own connection first, and it doesn't charge Instant for those calls.
All 19 tools work without a key, including Get Dividends, Get End-of-Day Data, Get Exchange Info, Get Exchange Intraday Data, Get Exchange Intraday Data for Date, Get Exchange Intraday Latest and 13 more.
Composio is SOC 2 Type II compliant.
New accounts get a one-time $2 starter credit for Instant calls.Run Marketstack from your agent with no Marketstack key.
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.Get $2 starter credit