Search the web
SerpApi
Scrapes Google, Bing and other search engines on request and returns the result pages as structured JSON or Markdown.
Addresses
Install
| What | Command |
|---|---|
| Claude Code (MCP) | claude mcp add --transport http serpapi https://mcp.serpapi.com/mcp --header "Authorization: Bearer YOUR_SERPAPI_API_KEY" |
| Codex (MCP) | codex mcp add serpapi --url https://mcp.serpapi.com/mcp --bearer-token-env-var SERPAPI_API_KEY |
| Python SDK | pip install serpapi |
| JavaScript SDK | npm install serpapi |
| CLI (Homebrew) | brew tap serpapi/homebrew-tap && brew install serpapi-cli |
| MCP self-host | git clone https://github.com/serpapi/serpapi-mcp.git && cd serpapi-mcp && uv sync && uv run src/server.py |
Source3MCP integration
Read from SerpApi, LLC’s own pages on 2026-11-04. Every number links to the page a value came from. For agents, the same facts as markdown: /tools/search-the-web/serpapi.md