Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
serpapi avatar

Search

  • 5 installs
  • 13 repo stars
  • Updated August 3, 2026
  • serpapi/serpapi-claude-plugin

Helps with ai & agent building tasks.

About

search is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted development.

  • search
  • AI & Agent Building
  • AI-coding skill

Search by the numbers

  • 5 all-time installs (skills.sh)
  • Ranked #13,065 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/serpapi/serpapi-claude-plugin --skill search

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs5
repo stars13
Last updatedAugust 3, 2026
Repositoryserpapi/serpapi-claude-plugin

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

SerpApi Search

Search any engine via a single REST endpoint. Each API call costs one search credit.

Important: Always use Bash(curl ...) to call the SerpApi REST API. Do not use WebFetch, WebSearch, or any other HTTP tool.

Setup

The API key must be set as an environment variable:

export SERPAPI_API_KEY="your_key_here"

If SERPAPI_API_KEY is not set, tell the user:

Set your SerpApi API key: export SERPAPI_API_KEY="your_key" — get one free at https://serpapi.com/manage-api-key

API Pattern

Every search follows the same pattern regardless of engine:

curl -s "https://serpapi.com/search.json?engine=ENGINE&QUERY_PARAM=QUERY&api_key=$SERPAPI_API_KEY"

The only things that vary per engine are: 1. The engine value 2. The query parameter name (q, k, query, etc.) 3. Engine-specific optional parameters

Engine Selection

Pick the engine based on user intent:

IntentEngineQuery paramDocs
Web searchgoogle_lightqhttps://serpapi.com/google-light-api
Web search (full features)googleqhttps://serpapi.com/search-api
Bing searchbingqhttps://serpapi.com/bing-search-api
DuckDuckGo searchduckduckgoqhttps://serpapi.com/duckduckgo-search-api
Yahoo searchyahoophttps://serpapi.com/yahoo-search-api
Yandex searchyandextexthttps://serpapi.com/yandex-search-api
Baidu searchbaiduqhttps://serpapi.com/baidu-search-api
AI searchgoogle_ai_modeqhttps://serpapi.com/google-ai-mode-api
AI overviewgoogle_ai_overviewqhttps://serpapi.com/google-ai-overview-api
Bing Copilotbing_copilotqhttps://serpapi.com/bing-copilot-api
Brave AIbrave_ai_modeqhttps://serpapi.com/brave-ai-mode-api
Amazon productsamazonkhttps://serpapi.com/amazon-search-api
Walmart productswalmartqueryhttps://serpapi.com/walmart-search-api
eBay productsebay_nkwhttps://serpapi.com/ebay-search-api
Google Shoppinggoogle_shoppingqhttps://serpapi.com/google-shopping-api
Home Depothome_depotqhttps://serpapi.com/home-depot-search-api
Google Maps / localgoogle_mapsqhttps://serpapi.com/google-maps-api
Google Localgoogle_localqhttps://serpapi.com/google-local-api
Yelpyelpfind_deschttps://serpapi.com/yelp-search-api
TripAdvisortripadvisorqhttps://serpapi.com/tripadvisor-search-api
OpenTable reviewsopen_table_reviewsrestaurant_idhttps://serpapi.com/open-table-reviews-api
Google Scholargoogle_scholarqhttps://serpapi.com/google-scholar-api
Google Patentsgoogle_patentsqhttps://serpapi.com/google-patents-api
Google Newsgoogle_newsqhttps://serpapi.com/google-news-api
Google Trendsgoogle_trendsqhttps://serpapi.com/google-trends-api
Google Imagesgoogle_imagesqhttps://serpapi.com/google-images-api
Google Videosgoogle_videosqhttps://serpapi.com/google-videos-api
Google Lensgoogle_lensurlhttps://serpapi.com/google-lens-api
YouTubeyoutubesearch_queryhttps://serpapi.com/youtube-search-api
Google Flightsgoogle_flights(see params)https://serpapi.com/google-flights-api
Google Hotelsgoogle_hotelsqhttps://serpapi.com/google-hotels-api
Google Travelgoogle_travel_explore(see params)https://serpapi.com/google-travel-explore-api
Google Jobsgoogle_jobsqhttps://serpapi.com/google-jobs-api
Google Financegoogle_financeqhttps://serpapi.com/google-finance-api
Google Playgoogle_playqhttps://serpapi.com/google-play-api
Apple App Storeapple_app_storetermhttps://serpapi.com/apple-app-store
Google Autocompletegoogle_autocompleteqhttps://serpapi.com/google-autocomplete-api
Navernaverqueryhttps://serpapi.com/naver-search-api

Default to `google_light` for general web searches — it's faster and cheaper than google. Use google only when you need knowledge graph, ads, or advanced SERP features.

Engine Parameters

Each engine has its own parameters documented in a JSON schema file at engines/<engine_name>.json relative to this plugin's root directory. Read the relevant file when you need engine-specific parameter details.

The JSON schema structure:

  • params: engine-specific parameters (query, filters, pagination, etc.)
  • common_params: shared SerpApi parameters (api_key, device, no_cache, etc.)
  • Each param has description, optional required, type, options, and group fields.

Common Parameters

These work across most engines:

ParamDescription
locationSearch origin (city-level recommended). E.g., Austin, Texas, United States
glCountry code. E.g., us, uk, fr
hlLanguage code. E.g., en, es, de
devicedesktop (default), tablet, or mobile
no_cachetrue to force fresh results (costs a credit; cached results are free)
numNumber of results (where supported)
start / pagePagination. Google uses start (0, 10, 20...), Amazon/Walmart use page (1, 2, 3...)
json_restrictorRestrict response fields for smaller payloads. E.g., organic_results.title,organic_results.link

Response Handling

SerpApi returns structured JSON. Key top-level fields vary by engine:

  • Web search: organic_results, knowledge_graph, answer_box, related_questions, local_results
  • Shopping: shopping_results or organic_results (with price, rating, etc.)
  • Maps: local_results (with address, rating, GPS coordinates, phone)
  • Scholar: organic_results (with citation_id, cited_by count, PDF links)
  • News: news_results
  • Images: images_results
  • Flights: best_flights, other_flights, price_insights
  • Jobs: jobs_results
  • Finance: summary, financials, graph

Always summarize results for the user. Never dump raw JSON unless explicitly asked.

Use json_restrictor to reduce response size when you only need specific fields.

Multi-Engine Comparison

For price comparisons or cross-engine research, query multiple engines sequentially:

# Compare prices across Amazon, Walmart, and Google Shopping
curl -s "https://serpapi.com/search.json?engine=amazon&k=airpods+pro&api_key=$SERPAPI_API_KEY"
curl -s "https://serpapi.com/search.json?engine=walmart&query=airpods+pro&api_key=$SERPAPI_API_KEY"
curl -s "https://serpapi.com/search.json?engine=google_shopping&q=airpods+pro&api_key=$SERPAPI_API_KEY"

Consolidate and compare the results for the user.

Rules

1. Always use `curl` via Bash. Never use WebFetch, WebSearch, or other HTTP tools. The allowed-tools header restricts this skill to Bash(curl *) and Read. 2. Confirm before searching when the query or engine choice is ambiguous. Each non-cached call costs one credit. 3. Show the curl command before executing so the user sees exactly what's being called. 4. Prefer `google_light` over google for simple web searches. 5. Use `no_cache=false` (the default) to benefit from free cached results. 6. URL-encode query parameters properly. Spaces become + or %20. 7. Read the engine schema from engines/<engine>.json when you need to look up available parameters for a specific engine.

Additional Resources

  • For practical curl examples, see examples.md
  • Interactive playground: https://serpapi.com/playground
  • Full API docs: https://serpapi.com/search-api
  • Account & usage: https://serpapi.com/account-api

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.