Skip to content

Serpapi Claude Plugin

Claude Plugin for SerpApi API.

Install

$/plugin marketplace add serpapi/serpapi-claude-plugin

Install command taken from the project's README or registry entry. Always review code before running it.

SerpApi for Claude

Ask Claude to search Google, Google Maps, Amazon, YouTube, and 100+ other search engines through SerpApi. Claude picks the engine that fits your question, such as Google Maps for a local business or Google Flights for fares, and answers with links to its sources.

The plugin works in Claude Code, claude.ai, and the Claude desktop app, including Cowork.

Before you start

You need a SerpApi API key. SerpApi's free plan includes 250 searches a month. Sign up, then copy your key from the dashboard.

Set up in Claude Code

In Claude Code, run these two commands one at a time:

/plugin marketplace add serpapi/serpapi-claude-plugin
/plugin install serpapi@serpapi-plugins

Claude Code asks for your API key during the install and stores it securely in your system's credential store.

To add or change the key later, run /plugin configure serpapi@serpapi-plugins and then /reload-plugins. You need this if you installed with claude plugin install from a terminal, because that command doesn't ask for the key.

Set up in claude.ai or the Claude desktop app

  1. In claude.ai or the desktop app, open Customize > Plugins, select Add > Add marketplace, enter serpapi/serpapi-claude-plugin, and add the SerpApi plugin.
  2. Open the plugin's Connectors tab and select Connect next to serpapi.
  3. Under Authentication, choose No sign-in.
  4. Under Request headers, enter Bearer YOUR_API_KEY as the value of the authorization header, with your key in place of YOUR_API_KEY. Then add the connector.

Claude stores the header value securely and doesn't show it again. Plugins and connectors belong to your Claude account, so this one setup covers claude.ai, the desktop app, and Cowork. The plugin also appears in Claude Code, which keeps its own copy of the key, so set the key there too as described above.

Search

In Claude Code, use the /serpapi:search command:

/serpapi:search coffee shops near Times Square

In claude.ai, the desktop app, and Cowork, type / and choose serpapi:search from the menu. In any of them you can also ask in your own words, such as "Use SerpApi to find this week's news about solar energy." Some other requests to try:

  • "Compare Sony WH-1000XM5 prices on Amazon, Walmart, and Google Shopping."
  • "Show the newest reviews for The French Laundry in Yountville."
  • "List research papers on transformer architectures published since 2023."
  • "Find nonstop flights from New York to London next month." Claude asks for exact dates if you leave them out.

Claude answers in prose unless you ask for a table or for the raw results. Raw results come as JSON, with every field SerpApi returns, or as Markdown, which is easier to read and shorter. A full Google results page in Markdown is about a third the size of the JSON. Ask for Markdown when you want the results without the extra detail.

Questions

How many searches does a request use?

Similar plugs

Orca is the ADE for working with a fleet of parallel agents. Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies

Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro,…

Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code, Devin as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini…