Serpapi MCP logo

Serpapi MCP

by serpapi

Searches Google and other engines through SerpApi, returning structured JSON or Markdown plus optional interactive results.

Install Serpapi MCP

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://mcp.serpapi.com/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Hosted endpointLive · TodayLive Remote EndpointOur automated health check connected to this remote MCP endpoint successfully.Last checked 10/26/2026, 9:30:31 PM

Clients with native remote MCP support can connect directly to this URL.

Remote endpoint
https://mcp.serpapi.com/mcp

Overview

The serpapi/serpapi-mcp MCP server connects MCP clients to SerpApi for Google, Bing, Yahoo, DuckDuckGo, YouTube, eBay, and other engine results. Its main search tool accepts engine-specific parameters and can return complete or compact JSON, or Markdown. Reach for it when an agent needs web search, shopping, news, images, weather, stock, or other SerpApi-supported result types. It is available as a hosted HTTP service or can be self-hosted locally.

Use cases

  • Search Google or another supported engine from an AI agent
  • Retrieve location-based weather information
  • Look up stock market information for a company
  • Extract news, image, shopping, or organic search results
  • Render search results in an interactive table or dashboard

Key features

  • Multi-engine SerpApi search
  • Engine-specific parameter schemas
  • Complete or compact JSON responses
  • Markdown response output
  • Weather and stock search queries
  • Optional interactive search UIs

Tools3

What Serpapi MCP lets your agent do. Expand a tool for its parameters.

Verified live~1.1k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

17/18 checks healthy over the last 78d

What it can do

From the 3 tools this server returned when we ran it.

Can delete or modify data · 1Makes network requests · 2Read-only tools · 2

Observed 2026-10-24 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

2 high-severity advisories on record for this package. Most advisories affect transitive dependencies and may not be exploitable in this server's actual usage — this is a directional signal, not a security audit.

Critical 1High 1Medium 0Low 0

Scanned 8/21/2026 via OSV.dev

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars182Stargazers on the source repository.
Last commit12d agoMost recent push to the default branch.
Tools exposed3Callable tools this server registers over MCP.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How Serpapi MCP works

What serpapi/serpapi-mcp MCP server does

The serpapi/serpapi-mcp MCP server exposes SerpApi search and data extraction through the Model Context Protocol. Its central search tool supports multiple search engines, including Google, Bing, Yahoo, DuckDuckGo, YouTube, eBay, and other engines listed by SerpApi. Search results may include organic listings, answer boxes, news, images, and shopping data, with result formatting detected automatically.

The server can also retrieve information through ordinary search queries, such as location-based weather forecasts or company stock data. It supports JSON responses by default, with complete and compact modes, and can return Markdown when params.output is set to md. Optional search_table and search_dashboard tools provide interactive result displays in MCP hosts that support MCP Apps.

This places the serpapi/serpapi-mcp MCP server in the 🔎 Search & Data Extraction category. It fits agents that need current search results or engine-specific data without implementing separate clients for each supported search provider.

How it works

Clients call search with a params object. The required params.q field is used for standard queries, while some engines use fields such as search_query, term, or _nkw. The params.engine value selects the SerpApi engine and defaults to google_light when omitted. Other parameters can specify location, domain, and engine-specific search options.

Engine parameter schemas are available through MCP resources at serpapi://engines and serpapi://engines/<engine>. Clients with argument-completion support can request engine-name suggestions for the resource URI. The response includes the result in MCP structured content and text; JSON results contain serialized JSON, while Markdown results contain formatted Markdown.

Setup and configuration

The hosted service is available at https://mcp.serpapi.com/mcp. Clients can authenticate with an Authorization: Bearer YOUR_API_KEY header, which keeps the key out of the URL, or use the path form /YOUR_API_KEY/mcp for clients that cannot set headers. A SerpApi API key is needed for search and the App tools, but not for connecting, listing tools, or reading resources.

For local deployment, clone the repository, run uv sync, and start it with uv run src/server.py. A local HTTP endpoint can then be configured in an MCP client. The repository also provides a src/stdio.py entry point for hosts that launch MCP servers as subprocesses. The project requires Python 3.13 or newer. Claude Desktop users can install the released .mcpb bundle, which asks for the API key and runs the server locally over stdio.

Tools and capabilities

The serpapi/serpapi-mcp MCP server provides:

  • A general search tool covering all SerpApi engines and engine-specific parameters.
  • Engine schema resources for discovering supported parameters.
  • Complete or compact JSON output modes.
  • Markdown output for lower-token result transfer.
  • Optional search_table and search_dashboard interactive UI tools.
  • Search-based access to weather, stock, news, image, shopping, and other supported result types.

Limitations and notes

Results depend on the SerpApi API and the selected engine’s available parameters. The server does not expose one fixed schema for every search: parameters vary by engine, so clients should consult the engine resources or SerpApi’s search API reference. An API key is required for actual searches and App tools. Markdown output is unchanged by the JSON mode setting, and compact mode removes JSON metadata rather than changing the underlying search request.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Serpapi MCP

serpapi/serpapi-mcp is an MCP server that connects MCP clients to SerpApi and exposes its multi-engine search capabilities. Its main tools include `search`, plus optional `search_table` and `search_dashboard` tools for interactive hosts. It supports Google, Bing, Yahoo, DuckDuckGo, YouTube, eBay, and other SerpApi engines.

Install it by connecting to the hosted HTTP endpoint, running the repository locally with `uv sync` and `uv run src/server.py`, or launching `src/stdio.py` as a subprocess. Claude Desktop users can also install the released `.mcpb` bundle.

Authenticate with a SerpApi API key using an `Authorization: Bearer` header or the API-key path format. The hosted endpoint supports both methods, while local stdio configurations can provide the key through `SERPAPI_API_KEY`.

Yes, Cursor is named as a supported installation target in the repository. Configure it to use the hosted MCP endpoint with an `Authorization: Bearer YOUR_SERPAPI_API_KEY` header.

It supports JSON by default, including complete and compact modes, and Markdown when the search output parameter is set to `md`. Compact mode removes JSON metadata, while Markdown responses are returned as Markdown.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSerpapi MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/serpapi-serpapi-mcp?style=directory)](https://allmcps.com/mcp/serpapi-serpapi-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/serpapi-serpapi-mcp"><img src="https://allmcps.com/api/badge/serpapi-serpapi-mcp?style=directory" alt="Serpapi MCP on AllMCPs" /></a>