Google Search Tool
@web-agent-master
About Google Search Tool
A Playwright-based Node.js tool that bypasses search engine anti-scraping mechanisms to execute Google searches. Local alternative to SERP APIs with MCP server integration.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"google-search": {
"command": "npx",
"args": [
"google-search-cli",
"search keywords"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Google Search Tool?
Google Search Tool is a Playwright-based Node.js tool that bypasses search engine anti-scraping mechanisms to execute Google searches and extract results. It can be used directly as a command-line tool or as a Model Context Protocol (MCP) server to provide real-time search capabilities to AI assistants like Claude.
How to use Google Search Tool?
Install from source, build with pnpm build, then run google-search "search keywords" with optional flags (e.g., --limit, --timeout, --get-html). For MCP integration, configure your Claude Desktop’s claude_desktop_config.json with the command npx google-search-mcp (or alternative Windows configurations).
Key features of Google Search Tool
- Local SERP API alternative, no paid API needed
- Advanced anti-bot detection bypass techniques
- Raw HTML retrieval for search result page analysis
- Page screenshot capture when saving HTML content
- MCP server integration for AI assistants like Claude
- Completely open source and free
Use cases of Google Search Tool
- Provide real-time Google search to Claude without additional API keys
- Replace paid SERP APIs with a local, self-hosted solution
- Debug and analyze Google’s page structure when changes occur
- Automate search result extraction while avoiding anti-scraping blocks
- Enable AI assistants to perform web searches directly
FAQ from Google Search Tool
How is this different from commercial SERP APIs like SerpAPI?
It is completely free and open source, runs locally, and does not require any API keys or per-request payments.
What are the runtime requirements?
Node.js v16 or higher, and Playwright browsers (installed automatically on first use). The tool also needs an internet connection to reach Google.
Does it comply with Google’s terms of service?
The tool is provided for learning and research purposes. Users are expected to comply with Google’s terms, avoid sending requests too frequently, and respect rate limits.
How does it handle Google’s anti-bot detection?
It uses intelligent browser fingerprint management, state saving/restoration
More Search MCP servers
Perplexity MCP Server
wysh3MCP web search using perplexity without any API KEYS
Brave Search
modelcontextprotocolModel Context Protocol Servers
Serper Search and Scrape MCP Server
marcopesaniSerper MCP Server supporting search and webpage scraping
Bing Search MCP Server
leehanchungMCP Server for Bing Search API
Version 2.0 is here!!
mixelpixxMCP Server built for use with Claude Code, Claude Desktop, VS Code, Cline - enable google search and ability to follow links and research websites
Comments