🤖 Analytics for AI coding agents
Animated demo: an AI agent runs the setup_analytics_for_site tool, then edits app/layout.tsx to install the tracker

Add analytics to your app from Cursor or Claude in 30 seconds

Cookieless, GDPR-friendly, no cookie banner required. Your AI agent picks the right install snippet for your framework (Next.js, Remix, SvelteKit, Nuxt, Astro, Vite, React, plain HTML), edits the file, and verifies it's tracking — one prompt, one OAuth click, done.

Free forever — full MCP access. OAuth or API key. No card. Listed in the official MCP Registry.

🚀 Install & set up

Add analytics to this Next.js app
Install Gizmo on my Astro site
Track signup clicks on this button
Set up a /pricing → signup funnel
Add a conversion goal for /thank-you
Verify the tracker is working

📊 Read & analyze

Summarize how my sites are doing this week
Why did /pricing lose traffic?
Which of my sites is growing fastest?
Top pages from Germany last month
Spot any unusual traffic days
Which sites stopped getting traffic?
📸 What you get

A real dashboard, not a chatbot

Gizmo ships with a full operator dashboard — the AI agent is another way to drive the same data. Fleet view across every site, then drill into any one for filters, breakdowns, and conversion goals.

Gizmo Analytics fleet dashboard — heatmap timeline + sparklines per site + KPI strip
Fleet view: every site you track, color-coded by relative activity. The heatmap timeline replaces the "5 lines on a chart" mess.
Gizmo Analytics per-site view — KPI strip, time-series chart, top pages, referrers, AI sources, countries
Per-site view: stack filters (country, device, referrer, UTM, custom event properties) and every card reflows.

What is MCP analytics?

MCP stands for Model Context Protocol — an open standard, introduced by Anthropic, that lets AI assistants connect to external tools and data without per-tool integration code. An MCP server exposes a set of named tools (each with a typed schema) that any MCP-aware client can discover and call.

MCP analyticsmeans an analytics platform that ships with an MCP server. Your AI agent connects once — usually a single config paste — and from then on it can call any of the platform's tools natively. Add a site, query the traffic, tag a domain, run a breakdown — all just by asking.

Gizmo is built MCP-first. Every operation in our dashboard is also an MCP tool. That's not a roadmap item; it's the architecture. The dashboard is one interface to the data; your AI agent is another. Both go through the same handler functions, the same rate limits, the same authorization model.

Why MCP analytics matters for indie operators

⏱️

Zero glue code

Most analytics tools have an HTTP API. Wiring that into Claude or Cursor means writing a wrapper, designing tool schemas, handling auth, error states, and rate limits. With MCP analytics, the AI client speaks the protocol directly. One config paste and you're done.

📡

Read AND write

MCP analytics isn't just chat-with-your-data. Your agent can also create sites, manage tags, install tracking on new domains, and update workspace state. The dashboard becomes a fallback, not the primary interface.

🪄

Fleet operations at agent speed

"Tag every site with under 100 visits last month as ‘dead.’" That's minutes of click-through-each-site-and-tag-it work, or one sentence with MCP analytics. For fleet operators running 10–50+ sites, this is real time saved.

🔐

Workspace-scoped by design

Each MCP key is tied to a single workspace. Your AI agent can't escape into other workspaces, modify billing, or escalate access. Rate-limited per workspace so runaway agents can't burn your quota.

🛠️ Tools

The 28 MCP analytics tools your agent can call

Three categories: workflows (high-level “why did traffic change”-style answers), setup (install + configure), and query primitives (filterable reads). All available on every plan, including Free.

✨ Workflows
  • summarize_all_sites — fleet status + needs-attention
  • rank_sites_by_growth — biggest movers
  • identify_dead_sites — never-installed + silent
  • detect_anomalies — unusual traffic days
  • explain_traffic_change— “why did X happen?”

Compositions over the primitives — the agent gets analyst-grade structure, not raw counts to chain itself.

🪄 Setup tools
  • create_site + get_install_snippet
  • get_event_tracking_snippet — custom events
  • get_badge_snippet— “Powered by” footer
  • create_goal / list / delete
  • create_funnel / list / delete
  • add_site_tags + filter_sites_by_tag
  • list_sites

Loose limits — these are bursty during setup, near-zero after.

📊 Query primitives
  • get_workspace_overview
  • get_site_traffic
  • get_top_pages / get_top_referrers
  • get_breakdown — country / browser / device / channel / AI source / city / etc.
  • get_time_series
  • query_events
  • breakdown_by_property — custom event props

Every primitive supports stacked filters (country=US AND device=mobile…) and custom date ranges. Tier-aware daily caps: 50/day Free → 3000/day Scale.

💬 Try saying…

Real things you can ask MCP analytics to do

Add foo.com, bar.com, and baz.com to Gizmo and wire each one up — they're all Next.js apps in this monorepo.
What were my top pages across all sites this week? Which sites are trending up?
Tag every site with ‘winner’ if it had more than 1000 events last month, ‘dead’ if under 50.
For my newsletter signup event, break it down by the ‘source’ property and tell me which channel is converting best.
Compare last week's top referrers to this week's — anything new?
Spin up a new Next.js site for windsorpressurewashing.com and add it to Gizmo before deploying.
🚀 Setup

How to set up MCP analytics in 3 minutes

  1. 1
    Sign up free
    Start free — Google sign-in or magic link. Workspace provisioned automatically.
  2. 2
    Add the Gizmo MCP server in your IDE
    In Cursor / Claude / Windsurf MCP settings, add a server with URL https://gizmoanalytics.io/mcp. The IDE auto-discovers the auth server and opens a browser tab.
  3. 3
    Approve the consent screen
    The browser opens our consent screen. You see what the IDE is asking for (read your analytics, set up sites). Click Allow. The browser tab closes itself.
  4. 4
    Try it
    Open a chat with your AI assistant and say "add analytics to this app." The agent detects your framework, picks the right snippet, edits your layout file, and offers to verify the install once you deploy. One prompt, full setup.
  5. 5
    Manage or revoke
    Every connected app shows up at /dashboard/connect/oauth. One click to disconnect.
❓ FAQ

MCP analytics — frequently asked questions

What is MCP analytics?

MCP analytics means web analytics that exposes its data and operations via the Model Context Protocol (MCP). MCP is an open protocol from Anthropic that lets AI assistants like Claude Desktop, Cursor, and Codex connect to external tools natively — without you writing a custom HTTP wrapper, handling auth, or designing the prompt schema. Gizmo Analytics is the first analytics platform built MCP-first: every action in our dashboard is also an MCP tool call your AI agent can make.

How is this different from a normal analytics REST API?

Most analytics tools (GA4, Plausible, Fathom, Mixpanel, Amplitude) have a REST API. To use those from Claude or Cursor, you write a wrapper, design tool schemas, handle authentication, and maintain it forever. MCP is the standard that eliminates all of that: paste our MCP endpoint URL into your AI client, click Allow on the consent screen that pops up in your browser, and from then on the AI can call any of our 28 analytics tools directly — including high-level workflows like 'why did traffic change' and 'which sites need attention' that compose multiple data sources into one call. The protocol handles auth, schema, and discoverability for you.

Which AI assistants support MCP analytics today?

Claude Desktop, Claude Code, Cursor, Codex (OpenAI's coding agent), Windsurf, Cline, Continue, and Zed all speak MCP natively as of mid-2026, plus a growing list of less-known clients. Any of these can wire up to Gizmo with a single config paste — no per-client integration work on your end.

What can my AI agent actually DO with MCP analytics?

Twenty-seven operations across three categories. Workflows: summarize_all_sites, rank_sites_by_growth, identify_dead_sites, detect_anomalies, explain_traffic_change. Setup: list_sites, create_site (framework-aware: next/react/vite/remix/astro/nuxt/sveltekit/html), get_install_snippet, verify_install (fetches your homepage and confirms the tracker is loading), get_event_tracking_snippet, get_badge_snippet, add_site_tags, filter_sites_by_tag, create_goal/list_goals/delete_goal, create_funnel/list_funnels/delete_funnel. Query primitives: get_workspace_overview, get_site_traffic, get_top_pages, get_top_referrers, get_breakdown, get_time_series, query_events, breakdown_by_property — every one supports stacked filters (country=US AND device=mobile AND ...) and custom date ranges so 'top pages from Germany last quarter' is one tool call.

Is MCP analytics safe? What can my AI assistant access?

Each connection is workspace-scoped — your AI agent can only see and modify data inside the workspace you consented to. OAuth grants are also scope-bound: you can grant analytics:read only (the AI can read your traffic but not create or modify anything), or analytics:read + analytics:write (read plus setup operations like adding a site). You can see and revoke every connected app at /dashboard/connect/oauth — disconnecting takes effect on the next request. We rate-limit per workspace (50 query calls/day on Free, scaling to 3,000/day on Scale) so a runaway agent can't burn your quota or our infra.

Why does an analytics tool need MCP if I can just write API code?

You can. The question is who maintains it. Every API integration is a maintenance debt: schema drift, auth refreshes, rate-limit changes, error handling. MCP is the protocol-level answer to that — your AI client implements MCP once, and from then on every MCP-native tool just works. For an indie operator running a fleet of sites, the cost of writing and maintaining custom API integrations across multiple tools is real. MCP analytics removes that cost for the analytics layer.

Is MCP analytics only useful if I already use AI heavily?

No, but it's where the leverage is. Even casual users get value: 'add foo.com to my analytics' from Claude is faster than logging into a dashboard and clicking through a setup wizard. The bigger leverage compounds for users running a fleet of 10+ sites or doing daily reporting workflows — having Claude pull last week's numbers and write a summary while you're still drinking coffee.

How do I get started with MCP analytics on Gizmo?

Sign up free at gizmoanalytics.io. In your IDE's MCP settings (Cursor, Claude, Windsurf), add a new server with URL https://gizmoanalytics.io/mcp. The IDE opens a browser tab to our consent screen, you click Allow, and the connection is live. Now ask 'add foo.com to Gizmo' and it does it. Free tier includes full MCP access — 50 query calls/day, unlimited setup calls. If your IDE doesn't yet support OAuth-based MCP servers, /dashboard/connect still has the legacy API-key install for every major client.

🎁 Free forever

Try MCP analytics today

Full MCP access on Free. 28 tools across workflows, setup, and query primitives. OAuth or API key. Wire it up in 3 minutes.