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

gizmoanalytics-mcp

v0.1.5

Published

Cookieless web analytics for AI coding agents. Cursor / Claude / any MCP-aware tool installs the tracker in one prompt (framework-aware: Next, Remix, SvelteKit, Nuxt, Astro, Vite, React, HTML), verifies it's tracking, then reads your traffic. OAuth onboar

Readme

gizmoanalytics-mcp

The MCP server for Gizmo Analytics — cookieless web analytics with a 28-tool MCP surface (install workflows like setup_analytics_for_site and verify_install, analyst-grade compositions like summarize_all_sites and explain_traffic_change, plus filterable query primitives across every dimension).

The server is hosted at https://gizmoanalytics.io/mcp. This npm package is the registry ownership marker; there's nothing to run locally.

Demo: install Gizmo in your Next.js app from a chat prompt

Fleet dashboard

Per-site dashboard

Connect

Auto-discovery (Cursor, Claude Desktop, Windsurf, …)

In your IDE's MCP settings, add a new server with URL:

https://gizmoanalytics.io/mcp

The IDE will discover the auth server via RFC 9728 metadata, open a browser tab for OAuth consent, and store the resulting token. No API keys to paste, no config files to edit.

Manual config

If your IDE doesn't yet support OAuth-aware MCP discovery, paste this into your client's MCP config file (Claude Desktop, etc.):

{
  "mcpServers": {
    "gizmoanalytics": {
      "url": "https://gizmoanalytics.io/mcp",
      "headers": {
        "Authorization": "Bearer ak_admin_<your-admin-key>"
      }
    }
  }
}

Get an admin key at https://gizmoanalytics.io/dashboard/keys.

What you can ask

"Why did traffic drop yesterday?"
"Which of my sites is growing fastest?"
"Add foo.com to Gizmo and install the tracker"
"Track signup events on this button"
"Top pages from Germany last quarter"

Tools

  • Install workflow (the wedge — call this first for any install ask): setup_analytics_for_site bundles site creation + framework- aware snippet + paste-target file path + next-action plan into one call. verify_install confirms the script is loading by fetching the homepage.
  • Other setup: create_site, get_install_snippet, get_event_tracking_snippet, get_badge_snippet, add_site_tags, goals + funnels.
  • Workflows (high-level questions): summarize_all_sites, rank_sites_by_growth, identify_dead_sites, detect_anomalies, explain_traffic_change.
  • Query primitives: get_workspace_overview, get_site_traffic, get_top_pages, get_top_referrers, get_breakdown (any of country / browser / device / channel / AI source / city / etc.), get_time_series, query_events, breakdown_by_property. All support stacked filters (country=US AND device=mobile) and custom date ranges.

Full docs: https://gizmoanalytics.io/mcp-analytics

License

MIT