npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

gai-mcp-googler

v1.1.0

Published

MCP Server for scraping Google search results

Downloads

42

Readme


name: googler description: "Scrape Google search results using MCP. Uses progressive scraping with patchright to bypass Google's bot detection. Use when: user asks to search Google, find information online, or get web search results. NOT for: API-based search (use Google Custom Search API), authenticated Google services, or high-volume automated queries." homepage: https://github.com/kakkoii1337/gai-mcp-googler metadata: { "openclaw": { "emoji": "🔍", "requires": { "node": ">=18.0.0", "npm": true }, "install": [ { "id": "npm", "kind": "npm", "package": "gai-mcp-googler", "label": "Install via npm", }, ], }, }

Googler Skill

Scrape Google search results via MCP (Model Context Protocol).

When to Use

USE this skill when:

  • "Search Google for..."
  • "Find information about..."
  • "What does Google say about..."
  • "Search the web for..."
  • Need web search results in Claude Code

When NOT to Use

DON'T use this skill when:

  • Need API-based search → use Google Custom Search API
  • Authenticated Google services → use appropriate Google APIs
  • High-volume automated queries → use dedicated search APIs
  • Need cached/archived results → use Wayback Machine

Installation

npm install -g gai-mcp-googler

Or run directly:

npx gai-mcp-googler

MCP Configuration

Add to Claude Code config (~/.claude.json):

{
    "mcpServers": {
        "googler": {
            "type": "stdio",
            "command": "npx",
            "args": ["gai-mcp-googler"],
            "env": {}
        }
    }
}

How It Works

Progressive scraping to bypass Google's bot detection:

  1. HTTP request - Fastest, but Google usually blocks it
  2. Headless browser - Uses patchright (Chromium without detection)
  3. Non-headless browser - Shows browser window, most reliable

Tools

ping

Health check endpoint.

Returns: "pong"

google_search

Scrape Google search results.

Parameters:

  • query (required): Search query string
  • num_results (optional): Number of results (1-10, default: 10)
  • headless (optional): Use headless mode (default: true)

Example:

{
    "query": "current singapore time",
    "num_results": 5,
    "headless": false
}

get_lucky

Get first result directly (I'm Feeling Lucky).

Parameters:

  • query (required): Search query string
  • headless (optional): Use headless mode (default: false)

Example:

{
    "query": "wikipedia",
    "headless": false
}

Notes

  • Non-headless mode is more reliable but shows browser window
  • Headless mode may be blocked by Google
  • Server logs written to /tmp/gai-mcp-googler.log
  • Uses patchright (undetected chromedriver equivalent for Node.js)