Integrating Serper 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 morning news brief on your topics, track your Google rankings every week and get told when a low review comes in from Hermes. Composio runs each call on its own Serper account, so you don't need a Serper API key, and your first $2 is free.
Hermes runs Serper through Composio, and the cost comes out of your free $2.
$2 ≈ 2000 searches or 660 searches
| When you ask Hermes for | Hermes uses this tool | Cost | What $2 gets you |
|---|---|---|---|
| Google results for a search | Search the Web | $0.001 per search | About 2,000 searches |
| Businesses from a Google Maps search | Search Maps | $0.003 per search | About 660 searches |
| Product prices from Google Shopping | Search Shopping | $0.002 per search | About 1,000 searches |
| Recent news stories on a topic | Search News | $0.001 per search | About 2,000 searches |
| A page of Google reviews for a place | List Place Reviews | $0.001 per page | About 2,000 pages |
| The text of a web page | Scrape Webpage | $0.002 per page | About 1,000 pages |
You pay Serper's price for each call with 0% markup, plus the regular Composio tool call charge. There's no Serper subscription, and you only pay for what you use.
10 of 15 Serper tools work without a key. For List Locations, Search with Google Lens, Search Patents, Search Places and Search Videos, connect your own Serper key. Read how Instant works.
Composio adds Serper to Hermes as an Instant toolkit. You connect Composio to Hermes once, and then Hermes can use Serper right away. There are two ways to do this:
You bring your own Serper API key, set it up, and use it.
Composio runs each call on its own Serper account, so you don't have to set anything up at Serper, and your first $2 is free.
You do the setup one time and it takes about a minute. If you build Serper into your own product, turn on Instant toolkits in your project settings so your agent can call Serper for each of your users without a Serper 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 Serper 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 Serper
Ask your agent to connect to Serper, or simply request any Serper-related task. Hermes will prompt you to authenticate and authorize access.
4. Done. You're all set with a new Serper 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 Serper or request any Serper-related task. It will prompt you to authenticate and authorize access.
5. Done!
Start a new chat and try this prompt:
Every morning at 8, search Google News for stories from the past day about [topic 1], [topic 2] and [topic 3]. Message me only the stories you haven't sent before, each with a one-line summary, the source and the link.
Hermes runs it on Instant and shows you the result. It doesn't ask you for a Serper key, and the cost comes out of your $2. You can see each call in your wallet.
If you want List Locations, Search with Google Lens, Search Patents, Search Places and Search Videos, you need your own key. Ask Hermes to connect your Serper account, and it gives you a Composio link:
Connect my Serper account using Composio.
Open the link, paste your Serper API key and click Connect Account. You can get a key from Serper API keys page. After that, Composio uses your key first and doesn't charge Instant for those calls.
Each prompt runs on Instant, and the cost next to it is about what it takes from your $2.
Searches Google News for your topics each morning and sends only the stories you haven't seen.
Every morning at 8, search Google News for stories from the past day about [topic 1], [topic 2] and [topic 3]. Message me only the stories you haven't sent before, each with a one-line summary, the source and the link.
Checks where your site ranks for your keywords each Monday and messages you what moved.
Each Monday, search Google in [country, e.g. the US] for these keywords and find where [your domain] ranks in the top 100: [paste up to 10 keywords]. Remember the positions and message me what moved up or down since last week.
Checks a business's newest Google reviews every morning and messages you any new one with 3 stars or fewer.
Find [business name] in [city] on Google Maps and remember it. Every morning, check its newest reviews and message me any new review with 3 stars or fewer, with the date, rating and full text.
Checks the lowest price for a product every morning and messages you when it drops or changes.
Every morning, search Google Shopping for [product name and model]. Keep track of the lowest price and the store, and message me when the lowest price drops below [price] or changes from the day before.
Fetches a page a few times a day, compares it with the last copy and messages you a summary of the changes.
Check [page URL] every 6 hours. Compare the text with the last version you saved and message me a short summary of what changed. Don't message me when nothing changed.
| Tool | What it does | Works without a key | Cost on Instant |
|---|---|---|---|
| Batch Search the Web | Run 1-10 independent first-page Google web searches in one native Serper request. | Yes | $0.001 per credit (1 credit/query for 1-10 results |
| Get Search Suggestions | Return Google autocomplete suggestions for a partial search query without running a full search. | Yes | From $0.001 per request. |
| List Place Reviews | Return paginated Google reviews for one place identified by Place ID, feature ID, or CID, with optional sorting and topic filtering. | Yes | From $0.001 per page of reviews. |
| Scrape Webpage | Ask Serper to fetch one webpage and return extracted text, metadata, and optionally markdown, links, images, and videos. | Yes | $0.001 per scrape credit (2, 6, or 10 per page) |
| Search Images | Search Google Images and return one page of source pages, full image URLs, thumbnails, dimensions, and positions. | Yes | $0.001 per image-search credits (100 results use 2 credits) |
| Search Maps | Search Google Maps by text, Place ID, or CID, optionally constrained to a viewport, and return one page of rich place identifiers and contact details. | Yes | $0.001 per map-search credits (3 per page) |
| Search News | Search recent Google News coverage and return one page of article titles, links, sources, publication times, snippets, and images when available. | Yes | From $0.001 per news search. |
| Search Scholar | Search Google Scholar and return one page of academic publications with citation counts, publication metadata, snippets, and PDF links when available. | Yes | From $0.001 per scholar search. |
| Search Shopping | Search Google Shopping and return one page of products, prices, merchants, offers, ratings, images, and product IDs. | Yes | $0.001 per shopping-search credits (2 per page) |
| Search the Web | Search Google web results and return one page of organic links plus available answer, knowledge, question, related-search, and top-story sections. | Yes | $0.001 per credit used for web searches |
| List Locations | Find canonical Serper location names and country codes for localizing search requests; this lookup is free. | Needs your own key | Billed to your own Serper key |
| Search with Google Lens | Reverse-search one public image URL with Google Lens and return visual matches. | Needs your own key | Billed to your own Serper key |
| Search Patents | Search Google Patents and return typed patent records and figures. | Needs your own key | Billed to your own Serper key |
| Search Places | Search Google Places and return one page of local businesses and places. | Needs your own key | Billed to your own Serper key |
| Search Videos | Search Google Videos and return one page of titles, source links, thumbnail and video URLs, durations, channels, dates, and positions. | Needs your own key | Billed to your own Serper 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.Open my Composio wallet
You may have asked for something that needs your own key, like List Locations, Search with Google Lens, Search Patents, Search Places and Search Videos. Those tools don't run on Instant. For everything else, 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 Serper key, then try again.
Supabase is an open-source backend platform offering scalable Postgres databases, authentication, storage, and real-time APIs. It lets developers build modern apps without managing infrastructure.
Codeinterpreter is a Python-based coding environment with built-in data analysis and visualization. It lets you instantly run scripts, plot results, and prototype solutions inside supported platforms.
GitHub is a code hosting platform for version control and collaborative software development. It streamlines project management, code review, and team workflows in one place.
1Password is a password manager and digital vault for storing logins, secrets, notes, and secure documents. It helps individuals and teams protect credentials, share access safely, and reduce password risk.
Not for the 10 tools that run on Instant. Composio runs those calls on its own Serper account, and you only add Composio to your agent. The other 5 tools need your own Serper key.
Yes. Every Composio account gets $2 of Instant credit once you turn on Instant, and you can use it on Serper or on any other Instant toolkit.
You can get about 2,000 searches, about 660 searches or about 1,000 searches. 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 Serper key.
You pay Serper's price for each call with 0% markup, plus the regular Composio tool call charge.
Yes. Connect your key from the Serper toolkit in your Composio dashboard. Composio always uses your own connection first, and it doesn't charge Instant for those calls.
You can use 10 of the 15 tools without a key, including Batch Search the Web, Get Search Suggestions, List Place Reviews, Scrape Webpage, Search Images, Search Maps and 4 more. The other 5 tools need your own Serper key.
Composio is SOC 2 Type II compliant.
New accounts get a one-time $2 starter credit for Instant calls.Run Serper from your agent with no Serper 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