Skip to content

SerpApi MCP

SerpApi returns structured search engine results, including organic results, maps, shopping and images. An agent can retrieve structured search results for keyword research and source discovery. Add your SerpApi key once in Longwave settings; calls run on your vendor account.

Add to Longwave

Add SerpApi to your agent

Paste this into Claude Code or a terminal. Then run /mcp to sign in.

functions
1
access
Your key
tasks
1

Use SerpApi on Longwave

  1. Download Longwave or open app.longwave.run.
  2. Add your SerpApi API key once in Longwave settings. Calls run on your SerpApi account at SerpApi's price.
  3. Ask for the result in any thread, for example: “Find pages ranking for a target keyword”. The agent picks the SerpApi function and calls it.

Use SerpApi in Claude Code, Codex, Cursor or ChatGPT

Add the Longwave MCP server once. It carries 2,593 functions across 103 tools, including SerpApi, and asks you to sign in on first use.

Why call SerpApi through Longwave

  • Your SerpApi key is stored once, encrypted, and used by every harness and device you use.
  • One MCP server for 103 tools, so your agent setup does not grow a key and a server per vendor.
  • Spending limits per key and per account, checked before a paid call is made.
  • Each call is recorded with the provider, the cost and the result, and can be read again from another device.

SerpApi functions

Function Price
Search the web Find public web pages for a query. serpapi.web.search
Subscription plans include a monthly search allowance; no standalone PAYG per-call rate published.

Prices are SerpApi's published rates. Source: SerpApi pricing.

Use cases

Questions people ask

How do I get a SerpApi API key?

Sign in to SerpApi and create a key at serpapi.com/manage-api-key. Add it once in Longwave settings and your agents' SerpApi calls run on your own account. SerpApi API keys

Does SerpApi offer a free API allowance?

SerpApi publishes this allowance: 250 searches per month. The allowance applies to the vendor account used for the call. SerpApi pricing

Do I need a SerpApi account?

Yes. Create a key at https://serpapi.com/manage-api-key and add it in Longwave settings. Longwave stores it encrypted and uses it only for your calls.

How do I use SerpApi in Claude Code?

Add the Longwave MCP server once with claude mcp add --transport http longwave https://api.longwave.run/v1/mcp/tasks, sign in, and ask for what you need. Claude finds the right SerpApi function and calls it.

Use SerpApi in Longwave

Ask any Longwave thread for the result, or add Longwave to Claude Code, Codex, Cursor or ChatGPT.

Add to Longwave