SerpApi
MCP server by SerpApi
Get live Google, Bing and 40+ other search engine results as structured JSON or Markdown.
Connect to SerpApi
SerpApi needs an API key. Connect with its own URL and your key:
Send your key in the Authorization header. mcp.tc never sees or stores keys. Where to get a key
Share this server
Opens this page, with the URL and setup steps.
mcp.tc/i/serpapiAbout
Connects to SerpApi to run live searches across Google, Bing, Yahoo, DuckDuckGo, YouTube, eBay and other engines. One search tool covers web, news, shopping, jobs, local, flights, hotels, images, weather and stock results. Engine parameter schemas are exposed as MCP resources, and optional table and dashboard tools render results visually in hosts that support MCP Apps.
Runs as a hosted streamable HTTP endpoint at mcp.serpapi.com, or locally from the open source repository (Python with uv) or an MCPB bundle. Connecting and listing tools needs no key, but searching requires a SerpApi API key, sent as a Bearer header or in the URL path.
What you can do
- Run live searches on Google, Bing, Yahoo, DuckDuckGo, YouTube, eBay and more
- Get news, shopping, jobs, local, flight and hotel results
- Return results as JSON, compact JSON or Markdown
- Discover engine names and parameters through MCP resources
- View results as a sortable table or dashboard in MCP Apps hosts
Tools 4
search_dashboardRead-onlySame as search, but renders metrics, a source chart and a results table with detail panel.
search_tableRead-onlySame as search, but shows organic results as a sortable, searchable table in MCP Apps hosts.
extractRead-onlySerpApi extract
searchRead-onlyRun a live search on any SerpApi engine and return structured results in JSON or Markdown.
Read from the live server on 17 Nov 2026. Read-only, Writes and Can delete are hints the server declares; your client decides whether to ask before running a tool.
Example prompts
Search Google for the latest news on solid-state batteries
Find coffee shops in Austin, TX using Google Maps results
Compare flight prices from Rome to London next month
Show YouTube results for Rust async tutorials as a table
Set up
Every client connects to mcp.serpapi.com. Pick yours; the page remembers your choice.
Claude Code
- Run this in a terminal, in your project folder:
claude mcp add --transport http serpapi https://mcp.serpapi.com/mcp --header "Authorization: Bearer <YOUR_API_KEY>"- Replace the placeholder with your key before you run it, then check it with
/mcpinside Claude Code.
Add --scope user to make it available in every project, not just this one.
Claude Desktop
- Use the
mcp-remotebridge, which keeps the key on this computer (a connector added on claude.ai with the key under Request headers also shows up here). Open Settings → Developer → Edit Config and add:
{
"mcpServers": {
"serpapi": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.serpapi.com/mcp",
"--header",
"Authorization: Bearer <YOUR_API_KEY>"
]
}
}
}- Replace the placeholder with your key and restart Claude Desktop.
The bridge needs Node.js on your computer.
claude.ai
- Open the connector form on claude.ai. This button fills in the name and URL for you:
Add to claude.ai (opens in a new tab)
- Check that the URL reads
https://mcp.serpapi.com/mcp. Under Request headers, addAuthorization: Bearer <YOUR_API_KEY>with your key from SerpApi, then click Add. - Turn it on in a chat from the tools menu.
Free plans allow one custom connector. On Team and Enterprise plans an owner adds it under Organization settings → Connectors.
Cursor
Add to Cursor (opens in a new tab)
Or add it by hand to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project):
{
"mcpServers": {
"serpapi": {
"url": "https://mcp.serpapi.com/mcp",
"headers": {
"Authorization": "Bearer <YOUR_API_KEY>"
}
}
}
}VS Code
Add it to .vscode/mcp.json. VS Code asks for the key the first time and stores it securely:
{
"servers": {
"serpapi": {
"type": "http",
"url": "https://mcp.serpapi.com/mcp",
"headers": {
"Authorization": "Bearer ${input:api-key}"
}
}
},
"inputs": [
{
"type": "promptString",
"id": "api-key",
"description": "API key",
"password": true
}
]
}Devin Desktop
- Add it to
~/.config/devin/mcp_config.json(macOS and Linux) or%APPDATA%\devin\mcp_config.json(Windows):
{
"mcpServers": {
"serpapi": {
"serverUrl": "https://mcp.serpapi.com/mcp",
"headers": {
"Authorization": "Bearer <YOUR_API_KEY>"
}
}
}
}- Refresh the MCP server list in Cascade.
Devin Desktop is the new name for Windsurf. It reads serverUrl (or url) for remote servers.
Codex
codex mcp add serpapi --url https://mcp.serpapi.com/mcp --bearer-token-env-var SERPAPI_API_KEYOr edit ~/.codex/config.toml directly:
[mcp_servers.serpapi]
url = "https://mcp.serpapi.com/mcp"
bearer_token_env_var = "SERPAPI_API_KEY"Set SERPAPI_API_KEY to your key in the shell that runs Codex.
Gemini CLI
gemini mcp add --transport http --header "Authorization: Bearer <YOUR_API_KEY>" serpapi https://mcp.serpapi.com/mcpThis adds it to the current project. Add -s user to use it everywhere.
Any client
Most clients accept this shape. Some name the URL field differently: serverUrl in Devin Desktop, httpUrl in Gemini CLI’s settings file.
{
"mcpServers": {
"serpapi": {
"type": "http",
"url": "https://mcp.serpapi.com/mcp",
"headers": {
"Authorization": "Bearer <YOUR_API_KEY>"
}
}
}
}Zed puts servers under context_servers in its settings. Cline needs "type": "streamableHttp", or it assumes SSE.
Client only starts local servers? Bridge it with npx -y mcp-remote https://mcp.serpapi.com/mcp.
Embed
Show SerpApi in a README or on your site. Each embed links to this page, uses the server’s own URL, and sets no cookies. How embeds work
The card, the iframe and the JSON are in English. Add ?lang=it, fr, de or es to their address for another language.
README badge
[](https://mcp.tc/i/serpapi)<a href="https://mcp.tc/i/serpapi"><img src="https://mcp.tc/i/serpapi/badge.svg" alt="SerpApi on mcp.tc" height="20"></a>It follows the reader’s light or dark mode. Add ?theme=light or ?theme=dark to fix it, or ?style=compact to show the mark without the word.
Website card
<script src="https://mcp.tc/w/serpapi.js" async></script>The card appears where the tag is. Add data-theme="dark" or data-size="compact" to the tag to change it. The file holds everything it needs, so it makes no other requests and sets no cookies.
iframe
<iframe src="https://mcp.tc/embed/serpapi" title="SerpApi on mcp.tc" width="420" height="200" loading="lazy" allow="clipboard-write" style="border:0;border-radius:8px;max-width:100%"></iframe>Use it on pages that don’t allow scripts. Add ?theme=light or ?theme=dark to the address to fix the colors.
JSON
The listing as data for your own pages and tools: name, tagline, the server’s own URL, tools and the “Add to” links. Any site can read it (CORS is open).
https://mcp.tc/i/serpapi.jsonAI prompt
Paste this into an AI coding assistant, such as Claude Code or Cursor, and it adds the SerpApi card to your site.
Add the mcp.tc card for SerpApi, an MCP server, to my website. It is one static script: no build step, no package to install, no cookies.
Put this tag where the card should appear. The card renders right before it:
```html
<script src="https://mcp.tc/w/serpapi.js" async></script>
```
To show the card somewhere else, put this placeholder there and load the same script once, for example before `</body>`. Keep the link inside: visitors without JavaScript see it.
```html
<div data-mcptc="serpapi"><a href="https://mcp.tc/i/serpapi">SerpApi on mcp.tc</a></div>
```
Options:
- `data-theme="light"` or `"dark"` on the tag or the placeholder fixes the colors. Without it, the card follows the visitor’s light or dark mode.
- `data-size="compact"` gives a smaller card without the tagline.
- The CSS variable `--mcptc-max-width` on the placeholder or a parent sets the width (default `520px`).
- `?lang=` on the script URL sets the card’s language: `en`, `it`, `fr`, `de` or `es`.
If the site has a Content Security Policy, allow `script-src https://mcp.tc` and `img-src data:` (the icon is inline).
For a README or other Markdown docs, use the badge instead:
```markdown
[](https://mcp.tc/i/serpapi)
```
Reference: https://mcp.tc/embedChange history
We read this server’s tool list every 3 hours and record what changes. Last read 18 Nov 2026, 05:33 UTC.
-
New version 2.3.0 (was 2.2.0). Reported by the server.
-
New version 2.2.0 (was 2.1.0). Reported by the server.
-
1 tool added.
Details, 4 Nov 2026, 11:44 UTC
Added 1
extractRead-onlyExtract 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": return native Markdown unchanged in either response mode. - "json": return JSON, with filtering determined by the response mode. Compact JSON removes metadata. For scrape responses containing markdown, it also keeps only markdown and any error field. include_markdown=false or an explicit json_restrictor skips this extra filtering. Map/crawl and responses without markdown keep their remaining fields. Use complete with output="json" for full JSON. Crawl max_pages defaults to 10 (maximum 100). Each successfully extracted, uncached page consumes one credit. Examples: Full scrape JSON: {"params":{"u…
-
New version 2.1.0 (was 2.0.0). Reported by the server.
-
2 tools changed.
Details, 3 Nov 2026, 08:51 UTC
Changed 2
search_dashboardinput schemasearch_tableinput schema
-
Tracking started: 3 tools.
FAQ
Can I paste mcp.tc/i/serpapi into my MCP client?
No. mcp.tc links are pages, not server addresses. Connect with https://mcp.serpapi.com/mcp, so your client talks to SerpApi directly. Your key goes there too, never to mcp.tc. The quick link is for sharing: it opens this page, with setup steps for every client.
Does SerpApi need an API key or a sign-in?
Yes. SerpApi needs an API key, sent as the Authorization header. Get one from SerpApi and keep it in your client’s config, never in a shared file.
Is SerpApi a remote or a local server?
Remote. SerpApi hosts it at https://mcp.serpapi.com/mcp, and it speaks Streamable HTTP. There’s nothing to install.
What can SerpApi do?
It has 4 tools, including search_dashboard, search_table and extract. You can run live searches on Google, Bing, Yahoo, DuckDuckGo, YouTube, eBay and more, get news, shopping, jobs, local, flight and hotel results and return results as JSON, compact JSON or Markdown.
Which clients can use it?
Any client that supports remote MCP servers and can send your key: Claude Code, Cursor, VS Code, Devin Desktop, Codex, Gemini CLI, Zed and others. On claude.ai and Claude Desktop, add the key as a request header when you create the custom connector. ChatGPT can’t send a key, so it can’t use it.
Does mcp.tc track changes to SerpApi?
Yes. SerpApi’s History tab shows each change we find to its tools, down to descriptions and parameters, plus new versions and edits by its owner. Follow the listing to get an email when it changes.
Who wrote this page?
mcp.tc’s robot read SerpApi’s own metadata (its MCP handshake, tool list and public pages), and an AI model drafted the text from it. A person reviews anything the checks can’t confirm. The text can still be wrong, so if you spot a mistake, use Report this listing on this page.
mcp.tc isn’t affiliated with SerpApi. This page was built from SerpApi’s public metadata, last checked on 17 Nov 2026, and an AI model wrote the description, so it can be wrong. Names and marks belong to their owners. Something off? Report this listing.