MCP server
SerpApi MCP Server
- Maintainer
- Official · SerpApi
- Runs
- Remote
- GitHub
- ★ 182, last push 2026-10-15 (checked 2026-10-24)
- License
- MIT
- URL
- https://mcp.serpapi.com/mcp
- Registry
- io.github.serpapi/serpapi-mcp
- Connects to
- Google Search
Install the SerpApi MCP Server
Pick your client. Remote first: nothing to install, and you sign in with OAuth where the client supports it. Config shapes checked against each client's docs on 2026-10-25.
The URL also takes Authorization as a header (see its docs), for clients without OAuth sign-in.
Run in a terminal, then /mcp inside Claude Code to sign in. Add --scope project to share it via .mcp.json. docs
claude mcp add --transport http serpapi https://mcp.serpapi.com/mcp
Customize > Connectors > Add > Add custom connector, paste this URL and sign in. It syncs to Claude Desktop and mobile. docs
https://mcp.serpapi.com/mcp
The free plan allows one custom connector. On Team and Enterprise an owner adds it under Organization settings > Connectors.
chatgpt.com/plugins > + > Add custom MCP server, paste the URL, set up sign-in and create it as a plugin. Then @-mention it in a chat. docs
https://mcp.serpapi.com/mcp
Workspace admins can turn custom MCP plugins off.
Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project), or use the install button. docs
{
"mcpServers": {
"serpapi": {
"url": "https://mcp.serpapi.com/mcp"
}
}
}Add to .vscode/mcp.json (note the "servers" key and the type), or use the install button. Command Palette > "MCP: Open User Configuration" for all workspaces. docs
{
"servers": {
"serpapi": {
"type": "http",
"url": "https://mcp.serpapi.com/mcp"
}
}
}Run codex mcp add serpapi --url https://mcp.serpapi.com/mcp (then codex mcp login serpapi), or add this to ~/.codex/config.toml. The CLI, IDE extension and Codex app share it. docs
[mcp_servers.serpapi] url = "https://mcp.serpapi.com/mcp"
Run in a terminal (-s user adds it for all projects), then /mcp auth to sign in. In ~/.gemini/settings.json the key is httpUrl. docs
gemini mcp add -s user --transport http serpapi https://mcp.serpapi.com/mcp
Run in a terminal; it writes ~/.copilot/mcp-config.json. docs
copilot mcp add --transport http serpapi https://mcp.serpapi.com/mcp
Add to mcp_config.json: ~/.config/devin/mcp_config.json on macOS and Linux (older installs: ~/.codeium/windsurf/mcp_config.json), %APPDATA%\devin\ on Windows. docs
{
"mcpServers": {
"serpapi": {
"serverUrl": "https://mcp.serpapi.com/mcp"
}
}
}Add to Zed's settings.json (or Settings > AI > MCP Servers > Add Server). Remote servers without an Authorization header sign in with OAuth. docs
{
"context_servers": {
"serpapi": {
"url": "https://mcp.serpapi.com/mcp"
}
}
}Add to opencode.json in the project (or ~/.config/opencode/opencode.json). Sign in with opencode mcp auth serpapi. docs
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"serpapi": {
"type": "remote",
"url": "https://mcp.serpapi.com/mcp",
"enabled": true
}
}
}Add to ~/.kiro/settings/mcp.json (all projects) or .kiro/settings/mcp.json (this project). docs
{
"mcpServers": {
"serpapi": {
"url": "https://mcp.serpapi.com/mcp"
}
}
}MCP Servers > Configure > Configure MCP Servers opens cline_mcp_settings.json; add this entry. docs
{
"mcpServers": {
"serpapi": {
"type": "streamableHttp",
"url": "https://mcp.serpapi.com/mcp"
}
}
}Security notes
- The remote server runs at mcp.serpapi.com, hosted by SerpApi. You sign in with OAuth in clients that support it, or with Authorization header where OAuth isn't available, and it acts with your account's permissions.
- It brings web content into the conversation, which can carry prompt-injection instructions. Keep approval prompts on for actions that write or send.
Alternatives
- Exaofficial · ★ 5.2k
Neural web search, code search and company research built for LLMs.
- Perplexityofficial · ★ 2.6k
Ask Perplexity's Sonar models for answers with cited sources, including deep research.
- Tavilyofficial · ★ 2.5k
Search, extract, map and crawl the web with results tuned for agents.
- Brave Searchofficial · ★ 1.5k
Web, news, image, video and local search from Brave's independent index.
- Jina AIofficial · ★ 894
Read URLs as Markdown, web and arXiv search, screenshots and reranking.
- Kagiofficial · ★ 547
Kagi web search and summarizer (needs Kagi API access).
- Mapboxofficial · ★ 363
Geocoding, places search, directions, travel times and static maps.
- Meilisearchofficial · ★ 197
Manage Meilisearch indexes, documents and settings and run searches.
Comparing servers for one product? Google Search MCP servers
FAQ
What does the SerpApi MCP Server do?+
Google and other search engine results as structured JSON.
Is the SerpApi MCP server official?+
Official: built and maintained by SerpApi.
How do I add SerpApi to Claude Code?+
Run: claude mcp add --transport http serpapi https://mcp.serpapi.com/mcp, then /mcp inside Claude Code to sign in. Add --scope project to share it with your team through .mcp.json.
How do I use the SerpApi MCP server in Cursor or VS Code?+
Open the Cursor or VS Code tab above: it has the mcp.json entry and a one-click install link. Cursor uses the "mcpServers" key; VS Code uses "servers" and needs a type ("http").
Does SerpApi work in ChatGPT and claude.ai?+
Yes, it has a remote URL (https://mcp.serpapi.com/mcp). In claude.ai add it under Customize > Connectors > Add custom connector; in ChatGPT under chatgpt.com/plugins > Add custom MCP server.
What are the alternatives to the SerpApi MCP server?+
Other search MCP servers: Exa, Perplexity, Tavily, Brave Search and Jina AI.