Google Search Tool
Executes Google searches and extracts results by bypassing anti-bot mechanisms, offering both command-line and real-time search capabilities for AI assistants.
About
This Playwright-based Python tool provides a robust solution for performing Google searches and extracting results without relying on costly third-party SERP APIs. It intelligently bypasses Google's anti-bot mechanisms through advanced techniques like browser fingerprint management, state persistence, and dynamic headless/headed mode switching. The tool functions as a command-line utility for direct queries and also integrates as a Model Context Protocol (MCP) server, empowering AI assistants like Claude with real-time, on-demand search functionality. It's fully open-source, offering raw HTML retrieval, page screenshots, and comprehensive customization for developers.
Key Features
- Advanced anti-bot detection bypass techniques, including browser fingerprinting and state management
- Ability to retrieve raw HTML and full-page screenshots of search results
- Completely open source, free, and highly customizable
- 1 GitHub stars
- Real-time search capabilities for AI assistants via MCP server integration
- Local SERP API alternative, eliminating reliance on paid services
Use Cases
- Collecting data from Google Search without hitting API rate limits or incurring costs
- Automating Google search queries and data extraction for custom applications
- Integrating real-time Google search capabilities into AI assistants and large language models
- Analyzing Google Search Results Page (SERP) structure and content for research or development