Google Search Tool

•
7
•

Executes Google searches and extracts results by bypassing anti-bot mechanisms, offering both command-line and real-time search capabilities for AI assistants.

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

01Advanced anti-bot detection bypass techniques, including browser fingerprinting and state management
02Ability to retrieve raw HTML and full-page screenshots of search results
03Completely open source, free, and highly customizable
041 GitHub stars
05Real-time search capabilities for AI assistants via MCP server integration
06Local SERP API alternative, eliminating reliance on paid services

Use Cases

01Collecting data from Google Search without hitting API rate limits or incurring costs
02Automating Google search queries and data extraction for custom applications
03Integrating real-time Google search capabilities into AI assistants and large language models
04Analyzing Google Search Results Page (SERP) structure and content for research or development