Server profile

Google Search Tool MCP Server

Google Search Tool runs Google queries through a local Playwright browser and returns structured results. It supports both command-line research and MCP access for AI assistants without a search API key.

Server facts

Google Search Tool MCP Server

Project

License
Not specified

Tech

Runtime / language
nodeTypeScript
Transports
stdio
Remote available
No
Authentication
Not specified

Activity

GitHub stars
623
Last commit
Data as of

Tags

  • Google Search
  • Playwright
  • Typescript
  • Web Search

Overview

Google Search Tool gives AI assistants and command-line users a browser-driven way to query Google. Written in TypeScript for Node.js, it uses Playwright rather than a paid search-results API. Parsed responses contain result titles, destination links, and snippets in JSON. The same project includes a separate MCP entry point so an assistant such as Claude can request current search information. Users can adjust the result limit and timeout, or show the browser when investigating a problem. Browser fingerprint variation, stored session state, and switching between hidden and visible browsing are documented techniques for handling verification challenges.

For debugging search-page changes, the tool can retrieve HTML with scripts and styles removed instead of returning parsed results. Saving that HTML also creates a full-page screenshot, and an output-path option controls where the HTML goes. Setup requires Node.js 16 or later and Playwright browser binaries; source installation additionally involves dependency installation, compilation, and package linking. The README includes Windows-specific launch alternatives and troubleshooting guidance. It also warns against frequent requests, notes that some locations may need a proxy, and asks users to follow Google's policies. Saved browser state contains cookies and storage information, so it needs careful handling rather than being treated as a harmless log file.

Install & configure

Requirements

  • Node.js 16 or later
  • Playwright browser binaries
  • An MCP-compatible client
Documented launch / install command
npx google-search-mcp

The README uses google-search-mcp for MCP, distinct from the search CLI. Its source workflow installs dependencies, builds the project, and links the package globally. Browser binaries may download on first use. No required environment variables are stated.

Config file · macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

Use Settings → Developer → Edit Config when available. Do not assume a Linux configuration path; check the client documentation for your platform. Remote servers use the app’s connector flow when supported, not the local stdio file shown here. Merge this example with existing settings; do not overwrite unrelated servers.

Claude Desktop configuration
{
  "mcpServers": {
    "google-search": {
      "command": "npx",
      "args": [
        "google-search-mcp"
      ],
      "env": {}
    }
  }
}

Read the Claude Desktop setup guide

Config file · Project: .cursor/mcp.json

User: ~/.cursor/mcp.json

The project path is relative to the workspace root. The tilde denotes your user home directory. Use Cursor’s MCP settings to confirm which configuration and scope your installed version is reading. Merge this example with existing settings; do not overwrite unrelated servers.

Cursor configuration
{
  "mcpServers": {
    "google-search": {
      "command": "npx",
      "args": [
        "google-search-mcp"
      ],
      "env": {}
    }
  }
}

Read the Cursor setup guide

Config file · Workspace: .vscode/mcp.json

For user scope, use the “MCP: Open User Configuration” command if available. Do not guess a user configuration path across operating systems, profiles, containers, or remote workspaces; check the client documentation. Merge this example with existing settings; do not overwrite unrelated servers.

VS Code configuration
{
  "servers": {
    "google-search": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "google-search-mcp"
      ],
      "env": {}
    }
  }
}

Read the VS Code setup guide

Config file · macOS/Linux: ~/.codeium/windsurf/mcp_config.json

Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

Open the MCP configuration through Windsurf’s settings when possible to confirm the active file. Paths can differ in managed or future releases; check the client documentation if this location is not present. Merge this example with existing settings; do not overwrite unrelated servers.

Windsurf configuration
{
  "mcpServers": {
    "google-search": {
      "command": "npx",
      "args": [
        "google-search-mcp"
      ],
      "env": {}
    }
  }
}

Read the Windsurf setup guide

Config file · Project scope: .mcp.json at the repository root

The project file uses mcpServers. For user scope, use claude mcp add --scope user rather than assuming .mcp.json in your home directory is the user configuration. Check the client documentation for managed settings and storage details. Merge this example with existing settings; do not overwrite unrelated servers.

Claude Code configuration
{
  "mcpServers": {
    "google-search": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "google-search-mcp"
      ],
      "env": {}
    }
  }
}

Read the Claude Code setup guide

Examples are translated from the published configuration. Supply your own credentials and verify requirements in the upstream README. Remote connectors are shown only where a supported configuration format is known.

Tools

No individual tool names were confirmed in the source material. Check the repository for its current tool list.

Names, permissions, and defaults can change. Check the current upstream documentation before granting access.

Use cases

  • Give an MCP assistant current Google search results.
  • Collect titles, links, and snippets from command-line queries.
  • Capture search-page HTML and screenshots to investigate parsing changes.
  • Inspect verification problems in a visible browser.

Strengths

  • Searches do not require a paid SERP API key.
  • Provides both CLI and MCP entry points.
  • Includes HTML capture, screenshots, and browser-state reuse.

Limitations

  • Google verification and request blocking remain operational concerns.
  • Requires Playwright browser installation.
  • Saved browser state contains sensitive session information.

Frequently asked questions

No. The documented approach performs searches locally through Playwright rather than a keyed search API.

HTML retrieval is available, and saving HTML also saves a full-page screenshot. Scripts and styles are removed from the retrieved HTML.

Yes. The CLI supports a non-headless option and a debug workflow for inspecting browser behavior.

Not stated in the README. The structured license field is also empty.

Independent listing, not an affiliation or security review. Grant the least access needed and verify the upstream instructions before running code.

Related MCP servers

Firecrawl MCP Server

Search & Web Data

Firecrawl MCP connects AI agents to web search, scraping, crawling, and live browser interaction. It offers hosted access or a local server for collecting structured web context and running research tasks.

Tavily MCP Server

Search & Web Data

Tavily MCP Server connects AI clients to web search, page extraction, site mapping, and crawling. Run it locally with an API key or connect to the hosted service using API-key or OAuth authentication.

AgentQL MCP Server

Search & Web Data

AgentQL MCP Server extracts structured JSON from a web page using a natural-language description of the desired fields. It provides one focused extraction tool for MCP assistants.

Exa MCP Server

Search & Web Data

Exa MCP Server gives AI assistants web search and readable page retrieval, with optional advanced search and agent research tools. It supports hosted connections and a local npm package for research and coding context.

Perplexity API Platform MCP Server

Search & Web Data

The Perplexity API Platform MCP Server gives assistants web search, conversational answers, research, and reasoning tools. It connects to Perplexity’s Search API and Sonar models through local stdio or an HTTP deployment.

ArXiv MCP Server

Search & Web Data

Search arXiv, download papers, and read their contents through an AI assistant. Local storage and research prompts support repeatable literature review and paper analysis.

Bright Data Web MCP

Search & Web Data

Give AI assistants live web search, page extraction, and optional browser automation through Bright Data. Tool groups also provide structured datasets, package information, and AI brand-visibility queries.

DuckDuckGo Search MCP Server

Search & Web Data

Give MCP assistants DuckDuckGo search and webpage text retrieval. It suits research workflows that need regional results, readable page content, and configurable filtering.