/serpapi:searchfrom SerpApi
Searches Google, Maps, News, Shopping, Flights, Hotels, Scholar, Jobs, YouTube, Amazon, and 100+ other engines via SerpApi. Returns structured results for current data like local businesses, prices, flights, or news.
Ships in SerpApi. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Run searches with the search tool from the SerpApi MCP server that this plugin connects. Tell the user you are using SerpApi. Each search that SerpApi hasn't cached uses one search from the user's SerpApi plan, so make every call count.
If no SerpApi search tool is available, or a call returns Missing API key or Invalid SerpApi API key, the key isn't set or is wrong. The fix depends on the app. If you can't tell which app the user is in, give both.
In Claude Code (terminal, IDE, or the desktop app's Code tab), ask the user to:
/plugin configure serpapi (or open /plugin, select SerpApi under Installed, and configure it)./reload-plugins.In claude.ai, the Claude desktop app, or Cowork, ask the user to:
serpapi and choose No sign-in.Bearer followed by their key from https://serpapi.com/dashboard as the authorization value, then add the connector. To replace a wrong key, disconnect the connector there and connect it again.Never ask for the key in chat. Keep the original request and run it once the tool works. Ask before switching to a different search tool.
| Need | engine | Main inputs | JSON results key |
|---|---|---|---|
| General web (default) | google_light | q | organic_results |
| Knowledge graph, answer box, AI Overview | google | q | knowledge_graph, answer_box, ai_overview |
| News | google_news_light | q | news_results |
| Images | google_images_light | q | images_results |
| Shopping prices | google_shopping_light | q | shopping_results |
| Local businesses | google_maps | q, type=search, optional ll | local_results or place_results |
| Reviews of a place | google_maps_reviews | data_id or place_id from a Maps result | reviews |
| Research papers | google_scholar | q, optional as_ylo | organic_results |
| Flights | google_flights | departure_id, arrival_id, outbound_date, return_date or type=2 | best_flights, other_flights |
| Hotels | google_hotels | q, check_in_date, check_out_date | properties |
| Jobs | google_jobs | q | jobs_results |
| Stock quote | google_finance | q such as AAPL:NASDAQ | summary |
| Search interest | google_trends | q; up to 5 comma-separated terms for interest over time | interest_over_time |
| YouTube | youtube | search_query | video_results |
| Amazon | amazon | k | organic_results |
| Walmart | walmart | query | organic_results |
| eBay | ebay | _nkw | organic_results |
| App Store | apple_app_store | term | organic_results |
| Other web engines | bing, duckduckgo | q | organic_results |
The query parameter is not always q. For any engine not listed here, look it up in references/engines.md, which links each engine's documentation. When the host can read MCP resources, serpapi://engines/<engine> gives the engine's parameters. Read the documentation instead of guessing parameter names.
For multi-step tasks (place reviews, AI Overview follow-ups, flights, hotels, OpenTable reviews, pagination, time filters), follow references/recipes.md.
params with engine and that engine's inputs. Add location, gl (country), and hl (language) when results depend on place or language.params.output:
"md": readable Markdown with titles, snippets, and source links, after a short header of search details. A full google results page is about a third the size of its JSON; a google_light page is about a quarter smaller. Use it when you will read and summarize the results, and whenever the user asks for Markdown or smaller results."json", the default: every field. Markdown can leave out fields such as IDs and tokens, so use JSON when a later step needs exact values, such as data_id, page_token, prices, or pagination, and for the multi-step recipes.json_restrictor and keep error in the list. "mode": "compact" removes only the search details, about 1 KB.no_cache: true only when the user needs fresh results; it always uses a search.search by default. Use search_table or search_dashboard only when the user wants an interactive table or dashboard and the app can display one.| Tool message | What to do |
|---|---|
Missing API key or Invalid SerpApi API key | Ask the user to configure the key, as described above. |
SerpApi API key forbidden | The plan or key can't run this search. Ask the user to check https://serpapi.com/dashboard. |
Rate limit exceeded | Stop searching. Tell the user they may be out of searches or over their hourly limit. |
Missing ... parameters | Ask the user for the listed values, then retry. |
| Another error, or no results | Check the engine's documentation, correct the parameters, and retry once. No results for an unusual query doesn't mean the key is broken. |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub serpapi/serpapi-claude-plugin --plugin serpapiOther plugins' skills for the same job