Google Search Tool
@web-agent-master
关于 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.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"google-search": {
"command": "npx",
"args": [
"google-search-cli",
"search keywords"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
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
搜索 分类下的更多 MCP 服务器
Serper Search and Scrape MCP Server
marcopesaniSerper MCP Server supporting search and webpage scraping
Google News MCP Server
ChanMeng666【Star-crossed coders unite!⭐️】Model Context Protocol (MCP) server implementation providing Google News search capabilities via SerpAPI, with automatic news categorization and multi-language support.
Bing Search MCP Server
leehanchungMCP Server for Bing Search API
Everything Search MCP Server
mamertofabianGoogle Search Console MCP server for SEOs
AminForouGoogle Search Console Insights with Claude AI for SEOs
评论