This repository offers a Playwright-based Node.js tool that bypasses anti-scraping measures to perform Google searches and extract results locally, serving as an alternative to paid SERP APIs and integrating with AI assistants.
This is a Playwright-based Node.js tool designed to bypass anti-scraping measures and execute Google searches, extracting results locally. It serves as a command-line tool or an MCP server, providing real-time search for AI assistants like Claude.
Key Features: It offers a local SERP API alternative, advanced anti-bot detection bypass, MCP server integration, and is completely open-source.
Technical Features: Developed in TypeScript, it uses Playwright for browser automation, supports command-line parameters, and returns search results in JSON format. It includes headless/headed modes, detailed logging, robust error handling, and browser state management.
Usage: It can be used as a command-line tool with options for result limits, timeout, and headless mode. It also integrates with Claude Desktop via MCP, enabling search functionality within the assistant. The project includes detailed instructions for installation, usage, and development, with specific notes for Windows environments.
web-agent-master/google-search
March 4, 2025
March 28, 2025
TypeScript