SerpApi MCP server

OfficialSerpApi141Config last verified Jun 1, 2026

SerpApi's official server gives agents structured search results from Google, Bing, and dozens of other engines through one tool.

SerpApi MCP is the official server from SerpApi, the long-running search-results API that scrapes Google and many other engines and returns clean, structured JSON. Instead of a separate tool per engine, the server exposes a single search tool that fronts every SerpApi engine — Google, Google Light, Bing, Yahoo, DuckDuckGo, YouTube, eBay, Google Maps, Google News, Google Images, and more — selected via an engine parameter. The same tool surfaces the rich blocks SerpApi parses out of a results page, including answer boxes, organic results, news, shopping, images, and local results, with location targeting and a choice between complete and compact response modes.

To help an agent discover what each engine accepts, the server publishes its parameter schemas as MCP resources at serpapi://engines and serpapi://engines/<engine>. The canonical deployment is the hosted remote endpoint at https://mcp.serpapi.com, authenticated with a SerpApi API key supplied either in the URL path or as an Authorization Bearer header.

Quick install

Copy-paste configs are provided for all 8 supported clients. Pick your client below.

Add to ~/.claude.json

~/.claude.json
json
{
  "mcpServers": {
    "serpapi": {
      "type": "http",
      "url": "https://mcp.serpapi.com/mcp",
      "headers": {
        "Authorization": "Bearer <SERPAPI_API_KEY>"
      }
    }
  }
}
Or via CLI
bash
claude mcp add --transport http serpapi https://mcp.serpapi.com/mcp

Available tools

ToolDescription
searchRuns a search against any SerpApi engine (params.engine, default google_light) and result type. Takes a query (params.q), optional location for geo-targeting, and a mode of complete or compact; returns the parsed result blocks such as answer boxes, organic results, news, shopping, and images.

Required configuration

  • SERPAPI_API_KEYRequired

    SerpApi API key (from serpapi.com). Passed in the URL path or as an Authorization Bearer header.

What you can do with it

Grounded answers from live search

An agent runs a Google search and reads the answer box and organic results as structured JSON, so it can cite current information without scraping HTML itself.

One server, many engines

Switch the engine parameter to query Google News, YouTube, Maps, or Bing from the same tool, then inspect serpapi://engines to discover the exact parameters each one supports.

FAQ

Is it free?
SerpApi offers a free tier with a monthly search allowance; higher volume requires a paid plan, and your SerpApi API key authenticates the MCP server either way.
Does it support remote/OAuth?
Yes, the canonical deployment is the hosted remote endpoint at https://mcp.serpapi.com, authenticated with a SerpApi API key passed in the URL path or as an Authorization Bearer header rather than OAuth. The repository can also be self-hosted with uv.
← Browse all search-and-data servers