🤖 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

Web analytics your AI assistant can use

Connect your assistant to real website traffic. Install tracking, check live visitors, measure conversion goals, and inspect funnel drop-offs from the same conversation.

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

“Who is active on my site right now?”
“Where does my signup funnel lose people?”
“Are my signup goals measuring real signups?”
“Why did traffic change this week?”
“Which sites are growing fastest?”
“Which pages bring visitors from AI tools?”
📸 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 analytics means 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’s MCP tools use the same analytics handlers as the dashboard. Ask for a fleet summary, inspect a five-minute live snapshot, or audit a conversion funnel with explicit counts and measurement notes.

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 36 MCP analytics tools your agent can call

Tools cover traffic analysis, live activity, conversions, tracking setup, and revenue. Examples below are available on every plan, including Free; daily query limits depend on your plan.

✨ 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?"
  • get_realtime — active visitors and their latest pages over five minutes
  • get_conversion_report — goal rates, funnel drop-offs, and measurement gaps

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 connects an AI assistant to website analytics through the Model Context Protocol. Gizmo exposes tools for installing tracking, querying traffic, and measuring goals and funnels, with documented inputs and structured results.

How is this different from a normal analytics REST API?

An MCP server publishes discoverable tools with input and output schemas for compatible AI assistants. Gizmo provides hosted access using OAuth or an API key, so you can query traffic and configure tracking without maintaining your own analytics API wrapper.

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?

Install tracking, verify a site, read traffic and revenue, create goals and funnels, and analyze a portfolio of sites. Use get_realtime for five-minute activity, or get_conversion_report for goal rates, funnel drop-offs, and tracking gaps. Query tools support filters and date ranges where applicable.

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, 3,000 setup calls per day. 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. 36 tools across workflows, setup, and query primitives. OAuth or API key. Wire it up in 3 minutes.

Keep reading