Google Search MCP Integration Guide

MCP (Model Context Protocol) is a model context protocol introduced by Anthropic that allows AI models (such as Claude, GPT, etc.) to call external tools through standardized interfaces. With the SERP MCP Server provided by AceData Cloud, you can perform Google searches directly in AI clients such as Claude Desktop, VS Code, and Cursor to obtain search results for web pages, images, news, videos, places, and more.

Feature Overview

The SERP MCP Server provides the following core features:

  • Web search — Search Google web results
  • Image search — Search Google Images
  • News search — Search Google News
  • Video search — Search Google Videos
  • Places search — Search Google place information
  • Maps search — Search Google Maps
  • Multiple languages and regions — Supports custom country and language parameters
  • Time range filtering — Filter results by day, week, month, or year

Prerequisites

Log in to the application list, open General Application, and click the copy button to the right of API KEY.

Get an Ace Data Cloud API Key

Replace the Token placeholder in the configurations below with the copied Key. When running locally, you can provide the raw Key through ACEDATACLOUD_API_TOKEN.

Method 1: Use the Hosted MCP Server (Recommended, No Installation)

AceData Cloud already hosts the SERP MCP Server in the cloud. There is no need to install any dependencies locally; simply enter the following URL in your AI client to use it:

https://serp.mcp.acedata.cloud/mcp

Authentication: Add Authorization: Bearer Your API Token to the request headers (Claude.ai completes this automatically through OAuth, so there is no need to enter the Token manually).

Claude.ai (Web Version, OAuth Login, Simplest)

  1. Open Claude.ai → Customize in the lower-left corner → Connectors → Add More
  2. Enter https://serp.mcp.acedata.cloud/mcp in the URL field
  3. Complete the OAuth authorization login (you will be automatically redirected to the AceData Cloud login page)
  4. Return to the conversation interface, and the tools will be available

Claude Desktop

Edit the configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "serp": {
      "type": "http",
      "url": "https://serp.mcp.acedata.cloud/mcp",
      "headers": {
        "Authorization": "Bearer 你的API Token"
      }
    }
  }
}

Save the file and restart Claude Desktop for the configuration to take effect.

Claude Code (Terminal Command Line)

claude mcp add serp --transport http https://serp.mcp.acedata.cloud/mcp \
  -H "Authorization: Bearer 你的API Token"

VS Code (GitHub Copilot)

Create .vscode/mcp.json in the project root directory:

{
  "servers": {
    "serp": {
      "type": "http",
      "url": "https://serp.mcp.acedata.cloud/mcp",
      "headers": {
        "Authorization": "Bearer 你的API Token"
      }
    }
  }
}

Cursor

Create .cursor/mcp.json in the project root directory:

{
  "mcpServers": {
    "serp": {
      "url": "https://serp.mcp.acedata.cloud/mcp",
      "headers": {
        "Authorization": "Bearer 你的API Token"
      }
    }
  }
}

Other MCP-Compatible Clients

Any client that supports the MCP Streamable HTTP protocol (Windsurf, Cline, ChatGPT Connectors, Gemini CLI, JetBrains AI Assistant, etc.) can connect by entering the following two items:

  • URL: https://serp.mcp.acedata.cloud/mcp
  • Header: Authorization: Bearer Your API Token

Method 2: Run Locally (pip / uvx Installation)

If you need to run offline, customize the code, or deploy to a private network, you can install the MCP Server locally and start it through stdio.

Installation

Install with pip (recommended):

pip install mcp-serp

Or install from source:

git clone https://github.com/AceDataCloud/SerpMCP.git
cd SerpMCP
pip install -e .

Once installation is complete, you can use the mcp-serp command to start the service.

Use in Claude Desktop (Local)

Edit the Claude Desktop configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Add the following configuration:

{
  "mcpServers": {
    "serp": {
      "command": "mcp-serp",
      "env": {
        "ACEDATACLOUD_API_TOKEN": "你的API Token"
      }
    }
  }
}

If using uvx (no need to install the package in advance):

{
  "mcpServers": {
    "serp": {
      "command": "uvx",
      "args": ["mcp-serp"],
      "env": {
        "ACEDATACLOUD_API_TOKEN": "你的API Token"
      }
    }
  }
}

Save the configuration and restart Claude Desktop for it to take effect.

Use in VS Code / Cursor (Local)

Create .vscode/mcp.json in the project root directory:

{
  "servers": {
    "serp": {
      "command": "mcp-serp",
      "env": {
        "ACEDATACLOUD_API_TOKEN": "你的API Token"
      }
    }
  }
}

Or use uvx:

{
  "servers": {
    "serp": {
      "command": "uvx",
      "args": ["mcp-serp"],
      "env": {
        "ACEDATACLOUD_API_TOKEN": "你的API Token"
      }
    }
  }
}

Available Tools

Tool Name Description
serp_google_search Google web search
serp_google_images Google image search
serp_google_news Google news search
serp_google_videos Google video search
serp_google_places Google places search
serp_google_maps Google Maps search

Usage Examples

Once configured, you can call these features directly in your AI client using natural language, for example:

  • “Help me search for the latest AI papers”
  • “Search for good hot pot restaurants in Beijing”
  • “Find images about Python asynchronous programming”
  • “Search for today’s technology news”
  • “Find nearby cafés on the map”

More Information