How to connect Serper to Hermes in 2 mins: No API key needed

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.

SerperInstant · No API key

Hermes runs Serper through Composio, and the cost comes out of your free $2.

  • Google results for a search$0.001
  • Businesses from a Google Maps search$0.003
  • Product prices from Google Shopping$0.002

$2 ≈ 2000 searches or 660 searches

Composio Instant

What you can do with your free $2

What your free $2 gets you with Serper
When you ask Hermes forHermes uses this toolCostWhat $2 gets you
Google results for a searchSearch the Web$0.001 per searchAbout 2,000 searches
Businesses from a Google Maps searchSearch Maps$0.003 per searchAbout 660 searches
Product prices from Google ShoppingSearch Shopping$0.002 per searchAbout 1,000 searches
Recent news stories on a topicSearch News$0.001 per searchAbout 2,000 searches
A page of Google reviews for a placeList Place Reviews$0.001 per pageAbout 2,000 pages
The text of a web pageScrape Webpage$0.002 per pageAbout 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.

How it works

How to connect Serper to Hermes

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:

  • Bring your own key

    You bring your own Serper API key, set it up, and use it.

  • Use the Composio wallet

    Instant

    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.

Get started

Start to use Serper in Hermes in 3 steps

  1. Turn on Instant

    Open your Composio wallet and turn on Instant. Your free $2 shows up there.

  2. Add Composio to Hermes

    Follow the setup below. You only do this once.

  3. Ask Hermes for something

    Try a Serper prompt. The cost comes out of your $2.

Setup

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.

bash
curl -fsSL https://composio.dev/install | bash
Hermes authenticating with Composio

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.


Using Composio Connect MCP

1. Get your MCP URL and API Key

Go to dashboard.composio.dev and copy your Connect MCP URL and API key.

Copy MCP URL and API key from Composio dashboard

2. Open the Hermes config file

bash
nano ~/.hermes/config.yaml

3. Add the Composio Connect MCP server

bash
mcp_servers:
  composio:
    url: "https://connect.composio.dev/mcp"
    headers:
      x-consumer-api-key: "YOUR_COMPOSIO_API_KEY"
    connect_timeout: 60
    timeout: 180

Save 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!

Try it

Ask Hermes for something with Serper

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.

Optional: connect your own Serper key

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.

Starter prompts

Use your first $2: copy a prompt into Hermes

Each prompt runs on Instant, and the cost next to it is about what it takes from your $2.

  • Get a morning news brief on your topics

    Less than $0.01 per run

    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.

  • Track your Google rankings every week

    About $0.02 per run

    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.

  • Get told when a low review comes in

    Less than $0.01 per run

    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.

  • Watch a product's price on Google Shopping

    Less than $0.01 per run

    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.

  • Watch a web page and report what changed

    Less than $0.01 per run

    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.

What it can do

What Hermes can do with Serper

Works without a key

  • Google results for a search
  • Businesses from a Google Maps search
  • Product prices from Google Shopping
  • Recent news stories on a topic
  • A page of Google reviews for a place
  • The text of a web page

Needs your own Serper key

  • List Locations
  • Search with Google Lens
  • Search Patents
  • Search Places
  • Search Videos
Tools and prices

Supported tools (15)

Serper tools and their Instant prices
ToolWhat it doesWorks without a keyCost on Instant
Batch Search the WebRun 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 SuggestionsReturn Google autocomplete suggestions for a partial search query without running a full search.YesFrom $0.001 per request.
List Place ReviewsReturn paginated Google reviews for one place identified by Place ID, feature ID, or CID, with optional sorting and topic filtering.YesFrom $0.001 per page of reviews.
Scrape WebpageAsk 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 ImagesSearch 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 MapsSearch 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 NewsSearch recent Google News coverage and return one page of article titles, links, sources, publication times, snippets, and images when available.YesFrom $0.001 per news search.
Search ScholarSearch Google Scholar and return one page of academic publications with citation counts, publication metadata, snippets, and PDF links when available.YesFrom $0.001 per scholar search.
Search ShoppingSearch 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 WebSearch 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 LocationsFind canonical Serper location names and country codes for localizing search requests; this lookup is free.Needs your own keyBilled to your own Serper key
Search with Google LensReverse-search one public image URL with Google Lens and return visual matches.Needs your own keyBilled to your own Serper key
Search PatentsSearch Google Patents and return typed patent records and figures.Needs your own keyBilled to your own Serper key
Search PlacesSearch Google Places and return one page of local businesses and places.Needs your own keyBilled to your own Serper key
Search VideosSearch Google Videos and return one page of titles, source links, thumbnail and video URLs, durations, channels, dates, and positions.Needs your own keyBilled to your own Serper key
Pricing

How you pay for Serper

  • Your first $2 is freeIt's added to your Composio wallet when you turn on Instant.
  • You pay for each callYou pay Serper's price with 0% markup, plus the regular Composio tool call charge.
  • Your own key comes firstIf you connect your own Serper key, Composio uses it and doesn't charge Instant for those calls.
  • You control the costYou can ask your agent to check with you before each paid call, and you can turn Instant off at any time.
  • You can see each callYour wallet shows each call and what it cost.
  • When your balance runs outYou can add funds to your wallet on a Pro plan or connect your own key.
Help

Troubleshooting

  1. 1. Hermes asks me for a Serper API key

    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.

  2. 2. I can't see my free $2

    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.

  3. 3. A Serper call failed with a balance error

    Your balance is empty. Add funds to your wallet on a Pro plan, or connect your own Serper key, then try again.

FAQ

Frequently asked questions

Start with Serper.It takes 30 seconds.

New accounts get a one-time $2 starter credit for Instant calls.Run Serper from your agent with no Serper key.

Get $2 starter credit