drio
Open app

SerpApi MCP Server

Source

serpapi-mcp

Catalog onlyCatalog onlySTDIO

Overview

SerpApi MCP Server is a server that allows users to retrieve parsed search engine results pages via SerpApi using an API key, enabling fast and efficient searches across various search engines.

To use the SerpApi MCP Server, install the required Python libraries, configure your SerpApi API key in a .env file, and run the server code. You can then integrate it with an MCP client like Claude for Desktop.

  • Supports multiple search engines including Google, Bing, and YouTube. - Provides tools for performing searches and retrieving locations. - Easy integration with MCP clients.
  1. Performing automated searches for data scraping.
  2. Integrating search capabilities into applications.
  3. Retrieving live and archived search results for analysis.

Add to your AI client

Use these steps to connect SerpApi MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "serpapi-mcp-server-ilyazub": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-serpapi-mcp-server-ilyazub"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "serpapi-mcp-server-ilyazub": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-serpapi-mcp-server-ilyazub"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "serpapi-mcp-server-ilyazub": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-serpapi-mcp-server-ilyazub"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "serpapi-mcp-server-ilyazub": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-serpapi-mcp-server-ilyazub"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "serpapi-mcp-server-ilyazub": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-serpapi-mcp-server-ilyazub"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "serpapi-mcp-server-ilyazub": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-serpapi-mcp-server-ilyazub"
      ]
    }
  }
}

FAQ

What search engines are supported?

The server supports Google, Bing, Yahoo, eBay, YouTube, DuckDuckGo, and more.

Do I need an API key?

Yes, you need a SerpApi API key to use the server.

How do I run the server?

You can run the server by executing `python server.py` after setting up your environment.