Back to search

google-search-cli

MCP CompatibleScore: 71

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.

web-agent-mastertoolweb-scraping553 starsGitHub

71

Reputation

Success Rate

Avg Latency

0

Usage Count

Connection Spec

Transport

sse

Install Command

npx google-search-cli "search keywords"

Features

  • Local SERP API Alternative**: No need to rely on paid search engine results API services, all searches are executed locally
  • Advanced Anti-Bot Detection Bypass Techniques**:
  • Intelligent browser fingerprint management that simulates real user behavior
  • Automatic saving and restoration of browser state to reduce verification frequency
  • Smart headless/headed mode switching, automatically switching to headed mode when verification is needed
  • Randomization of device and locale settings to reduce detection risk
  • Raw HTML Retrieval**: Ability to fetch the raw HTML of search result pages (with CSS and JavaScript removed) for analysis and debugging when Google's page structure changes
  • Page Screenshot**: Automatically captures and saves a full-page screenshot when saving HTML content
  • MCP Server Integration**: Provides real-time search capabilities to AI assistants like Claude without requiring additional API keys
  • Completely Open Source and Free**: All code is open source with no usage restrictions, freely customizable and extensible

Quick Setup

{
  "mcpServers": {
    "google-search-cli": {
      "command": "npx",
      "args": [
        "-y",
        "google-search-cli"
      ],
      "transport": "sse"
    }
  }
}

Paste into your Claude Desktop config file

Health

MaintenanceInactive
Last commit10mo ago
Open issues8
LicenseUnknown
VerificationPartial

API Response Preview

What agents get when they query this resource:

{
  "id": "abd68faa-7bcf-443f-a8c4-1b1a73cb6a7a",
  "name": "google-search-cli",
  "category": "tool",
  "subcategory": "web-scraping",
  "mcp_compatible": true,
  "reputation_score": 0.714761,
  "success_rate": null,
  "endpoint_url": null,
  "spec": {
    "transport": "sse",
    "install_command": "npx google-search-cli \"search keywords\"",
    "tools": null,
    "features": [
      "Local SERP API Alternative**: No need to rely on paid search engine results API services, all searches are executed locally",
      "Advanced Anti-Bot Detection Bypass Techniques**:",
      "Intelligent browser fingerprint management that simulates real user behavior",
      "Automatic saving and restoration of browser state to reduce verification frequency",
      "Smart headless/headed mode switching, automatically switching to headed mode when verification is needed",
      "Randomization of device and locale settings to reduce detection risk",
      "Raw HTML Retrieval**: Ability to fetch the raw HTML of search result pages (with CSS and JavaScript removed) for analysis and debugging when Google's page structure changes",
      "Page Screenshot**: Automatically captures and saves a full-page screenshot when saving HTML content",
      "MCP Server Integration**: Provides real-time search capabilities to AI assistants like Claude without requiring additional API keys",
      "Completely Open Source and Free**: All code is open source with no usage restrictions, freely customizable and extensible"
    ]
  }
}