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

@brodesigns/gsc-readonly-mcp

v0.1.2

Published

Read-only MCP server for the Google Search Console API: search analytics, sitemap status, URL inspection. No write scope at all.

Downloads

498

Readme

gsc-readonly-mcp

Read-only MCP server for the Google Search Console API. Search analytics, sitemap status, URL inspection, property listing, nothing else.

Design choice: no write scope, not even gated. No submit_sitemap, no delete_sitemap, no way to change anything in Search Console. If you need those, look elsewhere; this project stays deliberately small so it is easy to audit in one sitting.

Tools

| Tool | Does | |---|---| | list_sites | Lists every property the service account can access | | list_sitemaps | Sitemap status for a property (errors, warnings, indexed count) | | search_analytics_query | Clicks, impressions, CTR, position, grouped by query/page/date/etc. | | inspect_url | Index status, canonical URL, mobile usability for one URL |

Setup

1. Create a service account and download its JSON key

  1. Google Cloud Console → create or select a project.
  2. APIs & Services → Library → enable Search Console API.
  3. APIs & Services → Credentials → Create Credentials → Service Account.
  4. Open the new service account → Keys → Add Key → Create new key → JSON. The file downloads automatically.
  5. Open the file, note the client_email field ([email protected]).

2. Grant that service account access in Search Console

  1. Search Console → open the property.
  2. Settings → Users and permissions → Add user.
  3. Paste the client_email from step 1. Use Full if you need search_analytics_query (Restricted users hit a permission error on that endpoint), Restricted is enough for list_sites/list_sitemaps.

3. Store the key file somewhere outside any git repo

mkdir -p ~/.config/gsc
mv ~/Downloads/your-key-*.json ~/.config/gsc/service-account.json
chmod 600 ~/.config/gsc/service-account.json

4. Configure your MCP client

Claude Code:

claude mcp add gsc-readonly \
  -e GSC_SERVICE_ACCOUNT_KEY_FILE=~/.config/gsc/service-account.json \
  -e GSC_SITE_URL="https://example.de/" \
  -- npx -y @brodesigns/gsc-readonly-mcp

Or in .mcp.json:

{
  "mcpServers": {
    "gsc-readonly": {
      "command": "npx",
      "args": ["-y", "@brodesigns/gsc-readonly-mcp"],
      "env": {
        "GSC_SERVICE_ACCOUNT_KEY_FILE": "/absolute/path/to/service-account.json",
        "GSC_SITE_URL": "https://example.de/"
      }
    }
  }
}

GSC_SITE_URL is optional; every tool also accepts a site_url argument that overrides it, useful if the same MCP server should cover several properties.

Important: use the property URL exactly as Search Console shows it. Domain properties look like sc-domain:example.de, URL-prefix properties look like https://example.de/. Passing the wrong form fails silently or with a permission error even though the account has access.

Why this exists

Built after a security review of an existing community MCP server for the same API turned up a high-severity-looking automated scan result (mostly false positives on legitimate env-var reads, plus non-runtime dev-dependency CVEs) and a feature set larger than needed for read-only SEO workflows. This project intentionally covers less ground in exchange for being small enough to read end to end in a few minutes.

Security

  • Two runtime dependencies: @modelcontextprotocol/sdk, google-auth-library (Google's own, minimal auth client), zod for schema validation.
  • No write scope requested from Google at all (webmasters.readonly).
  • No telemetry, no network calls beyond the Google APIs listed above.
  • Scanned with SkillSpector before each release; see SECURITY.md for the latest result, findings reviewed by hand.

License

MIT