gizmoanalytics-mcp

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
772
Install
npm install gizmoanalytics-mcp
Latest Version:0.1.5
License:MIT
Last Updated:May 17, 2026
Links: npm
Maintainer: devmpk

gizmoanalytics-mcp

Gizmo Analytics

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

Related Packages

@hellyeah/x-ray

Multi-platform analytics SDK for browser, React, Next.js, Remix, Vue, Svelte, Nu...

20,021
nuxt-measuremysite

Nuxt module for measuremy.site: cookieless web analytics your AI agent can read.

0 0
puremetrix

Add PureMetrix cookieless analytics to your project with one command: npx pureme...

515
retake-dev

Retake: a time machine for your dev server (Vite, Next.js, React Router, Remix,...

1,295 2
@usenotra/geo

Request capture SDK for AI traffic attribution and agent feedback collection

279,387 0

Version History

Version Released License
0.1.5 MIT
0.1.4 MIT
0.1.3 MIT
0.1.0 MIT