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

@fdcicyber/google-search-mcp

v1.0.0

Published

MCP server: Google search, image search, news, page scraping and screenshots via stealth puppeteer

Downloads

106

Readme

google-search-mcp

MCP server that gives AI agents Google search and web scraping through a stealth browser (super-puppeteer). Runs headful by default — Google serves a captcha wall to headless Chrome on datacenter IPs.

Tools

| Tool | What it does | |------|--------------| | google_search | Organic results (max 20): title, url, snippet. fetchContent: N also fetches the top N result pages as compressed markdown. Pagination, lang, region. | | google_images | Full-size image URL, dimensions, source page, title, thumbnail. | | google_news | News tab: headline, source, snippet, url. | | scrape_page | Any URL → boilerplate-free markdown. Optional query keeps only the most relevant blocks within maxChars. | | extract_images | All images from any page (img, og:image) with alt + dimensions. | | screenshot | PNG screenshot returned as image content the agent can see. |

Token economy

Fetched page content goes through two passes so agents don't burn tokens on boilerplate:

  1. Readability extraction (in-browser) — strips nav/header/footer/ads/cookie banners, picks the densest content container, drops blocks with >60% link density (menus, link farms), emits ordered markdown blocks (headings, paragraphs, lists, quotes, code, tables).
  2. Relevance budget (server-side) — if content exceeds the character budget, blocks are scored by query-term frequency density (TF / sqrt(len)) plus heading and early-position bonuses; the highest-signal blocks are kept in original order with marking gaps.

Requirements

  • Node.js >= 23 (runs TypeScript natively)
  • Chrome (installed automatically by puppeteer)

Usage (npx, no install)

npx -y @fdcicyber/google-search-mcp

Claude Code / MCP client config

{
  "mcpServers": {
    "google-search": {
      "command": "npx",
      "args": ["-y", "@fdcicyber/google-search-mcp"]
    }
  }
}

Or with Claude Code CLI:

claude mcp add google-search -- npx -y @fdcicyber/google-search-mcp

First run downloads Chrome via puppeteer (cached in ~/.cache/puppeteer, one-time).

Notes

  • Browser launches lazily on first tool call and is reused across calls; one page per request.
  • Google consent cookies are pre-seeded so the GDPR interstitial never appears.
  • Keep it headful. Headless Chrome from this network gets google.com/sorry (unusual traffic captcha).