# SerpApi

> SerpApi is a freemium MCP server for web search and scraping. Official SerpApi server: Google, Bing and other search results as JSON or Markdown. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, CLI, self-hosted
- **Website:** https://serpapi.com
- **Repository:** https://github.com/serpapi/serpapi-mcp
- **MCP Registry name:** io.github.serpapi/serpapi-mcp
- **Categories:** web search and scraping
- **Listing updated:** 2026-11-14

## About

This is SerpApi's own MCP server, hosted at mcp.serpapi.com and also self-hostable. It requires a SerpApi API key, passed as a bearer header or in the URL path, and it can be installed in Claude Desktop, Claude Code, Codex and other clients. The repository also ships a Claude Desktop .mcpb bundle that runs the server locally over stdio.

Beyond web results it reaches Bing, Yahoo, DuckDuckGo, YouTube, eBay and more, with per-engine parameter schemas exposed as MCP resources. Weather and stock data are available through search queries. Responses come as complete or compact JSON, or as Markdown, which the README says cuts token usage by about half on average and by more than 90% for deeply nested results. Opt-in search_table and search_dashboard tools render results as an interactive UI in hosts that support it.

The SerpApi service behind it handles proxies, CAPTCHAs and parsing, runs requests in a full browser and offers a ZeroTrace mode that stores no search parameters or data.

## Features

- **Multi-engine search:** Queries Google, Bing, Yahoo, DuckDuckGo, YouTube, eBay and others.
- **Markdown responses:** Returns compact Markdown to reduce token use on nested results.
- **Engine schemas:** Exposes per-engine parameters as MCP resources.
- **Interactive results:** Optional table and dashboard tools render results in supporting hosts.
- **Host or self-host:** Use the hosted endpoint, run it from source, or install the local .mcpb bundle.

## Good for

- Give an agent live Google results with location control
- Pull YouTube or eBay results into a research workflow
- Check weather or company data through search
- Reduce token cost of large SERP payloads

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http serpapi-mcp https://mcp.serpapi.com/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://mcp.serpapi.com/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "serpapi-mcp": {
      "url": "https://mcp.serpapi.com/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "serpapi-mcp": {
      "type": "http",
      "url": "https://mcp.serpapi.com/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "serpapi-mcp": {
      "serverUrl": "https://mcp.serpapi.com/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "serpapi-mcp": {
      "type": "http",
      "url": "https://mcp.serpapi.com/mcp"
    }
  }
}
```

## Tools

- `search_dashboard`: Interactive dashboard variant of `search`: returns summary metrics, a source breakdown chart, and a results table with a click-to-expand detail panel, all rendered in the conversation. Same params as `search`. Use for a richer visual overview of a query's results. Automatically selects an engine-specific dashboard when available (e.g. google_flights gets price intelligence charting).
- `search_table`: Interactive UI variant of `search`: returns organic results as a sortable, searchable table rendered in the conversation. Same params as `search`. Use when the host supports MCP Apps and the user wants to browse results visually rather than read JSON.
- `extract`: Extract content from a public http(s) URL, discover site URLs, or crawl pages. API options go in params: url is required; params.mode is scrape (default), map, or crawl. See serpapi://engines/extract for all options. Top-level mode controls the response: - complete (default): full JSON. - compact: native Markdown by default. params.output selects the format and overrides either default: - "md": re
- `search`: Universal search tool supporting all SerpApi engines and result types. When to use: - Any query needing live, structured SERP data: web results, news, product listings, job postings, local businesses, flight/hotel prices, video results, images, stock/weather cards, knowledge graph entities. Engine discovery via MCP resources: - serpapi://engines lists all engines supported by this tool. - serpapi:

## FAQ

### Do I need an API key?

Yes, a SerpApi key from your dashboard.

### Can I self-host it?

Yes. Clone the repository and run it with uv, or use the Claude Desktop .mcpb bundle for a local stdio install.

### Is there a free plan?

The SerpApi site says you can start for free; plan prices are not listed in the text available.

### How are searches counted?

Only successful searches count toward the monthly total; cached, errored and failed searches do not.

### Is SerpApi free?

SerpApi has a free plan, with paid plans for more usage or features.

### How do I add SerpApi to Claude Code?

Run this command in your terminal: claude mcp add --transport http serpapi-mcp https://mcp.serpapi.com/mcp

### What are the best alternatives to SerpApi?

The closest alternatives to SerpApi are Scrapling MCP Server, Firecrawl MCP Server, SearXNG Search, NeuralVerge and AI-Powered directory.

## Alternatives

- [Scrapling MCP Server](https://ai-powered.com/mcp/scrapling-mcp-server): Scrapling MCP Server is an open-source MCP server for web search and scraping.
- [Firecrawl MCP Server](https://ai-powered.com/mcp/firecrawl-mcp-server): Firecrawl MCP Server is a freemium MCP server for web search and scraping.
- [SearXNG Search](https://ai-powered.com/mcp/searxng-search): SearXNG Search is an open-source MCP server for web search and scraping.
- [NeuralVerge](https://ai-powered.com/mcp/neuralverge): NeuralVerge is an MCP server for web search and scraping.
- [AI-Powered directory](https://ai-powered.com/mcp/ai-powered-directory): AI-Powered directory is a free MCP server for developer tools.
- [Shopify MCP Server (any store)](https://ai-powered.com/mcp/shopify-mcp-server-any-store): Shopify MCP Server (any store) is a paid MCP server for e-commerce.
- [Chanroll: YouTube Channel Video Scraper (Official API)](https://ai-powered.com/mcp/chanroll-youtube-channel-video-scraper-official-api): Chanroll: YouTube Channel Video Scraper (Official API) is a paid MCP server for design and media.
- [Vidvett: YouTube Video Details Scraper (Official API)](https://ai-powered.com/mcp/vidvett-youtube-video-details-scraper-official-api): Vidvett: YouTube Video Details Scraper (Official API) is a paid MCP server for design and media.

---
Source: https://ai-powered.com/mcp/serpapi-2
