What is MCP and why it matters for analytics
Model Context Protocol (MCP) is the new standard for connecting AI tools to your data. Here's what it means for analytics, and how to connect Measure to your AI client.
If you’ve been using Cursor, Claude Desktop, or Windsurf recently, you’ve probably seen references to MCP. It’s showing up everywhere in developer workflows.
Here’s what it is, why it matters for analytics, and what it means for how you get insights from your data.
What is MCP?
Model Context Protocol (MCP) is an open standard developed by Anthropic that defines how AI tools connect to external data sources and services.
Think of it as a standardized API layer between AI models and the tools developers use. Before MCP, getting AI to work with your specific data meant:
- Copying and pasting data into prompts
- Building custom integrations from scratch
- Using brittle, model-specific plugins
With MCP, any tool that exposes an MCP server can be connected to any MCP-compatible AI client (Cursor, Claude Desktop, Windsurf, and a growing list of others) in a standardized way.
It’s early. But it’s moving fast — there are already MCP servers for GitHub, databases, file systems, and now analytics.
How MCP works (30-second version)
An MCP server exposes tools that an AI can call. A tool is a named function with defined inputs and outputs.
For analytics, that looks like:
Tool: get_site_summary
Input: { site: "example.com", period: "7d" }
Output: { pageviews: 247, top_pages: [...], referrers: [...] }When you ask an MCP-connected AI “how is my site performing?”, it:
- Recognizes you’re asking about analytics
- Calls the appropriate MCP tool (
get_site_summary) - Receives the data back from your analytics provider
- Responds with a natural language summary based on your actual data
No CSV exports. No copying data between tabs. No “I don’t have access to that.”
Why this matters for analytics
Traditional analytics tools give you a dashboard. You open it, look at numbers, close it, go back to work.
MCP-connected analytics lives where you already are — inside your development environment.
With a standard analytics dashboard:
- You’re checking traffic → you remember you wanted to know which blog post drove signups → you navigate to acquisition → you filter → you copy the number to Slack → done
- Context switching cost: 5–10 minutes
With MCP analytics in Cursor:
You: Which blog post drove the most signups from HN this month?
Analytics: Your "I built a SaaS in 7 days" post drove 31 signups from
Hacker News in March — 4.2% conversion from HN visitors.
Second was your pricing page writeup at 12 signups.The insight surfaces in the same context you’re working. Zero context switching.
For founders, developers, and builders who are already living in AI-assisted workflows, this is a meaningful change in how analytics feels.
Analytics built for MCP
Most analytics tools were designed around a dashboard first, with an API added later. Measure was built the other way round: the MCP server at https://lets.measure.events/mcp is a first-class way to use it, not an afterthought.
It exposes a small, focused set of tools:
list_sites,get_site_summary,get_site_analytics— traffic, top pages, referrers and trendsget_breakdown— slice by page, referrer, country, device and moreget_insights— notable changes worth looking atget_live— who’s on the site right nowget_agents,get_agent_report,get_llms_txt— AI agent traffic, which Measure counts separately from humans and botstrack_event,create_site,log_checkin,signup— write actions
That separation matters: AI agents like ChatGPT-User, ClaudeBot and PerplexityBot are a growing share of traffic, and Measure keeps them out of your human numbers while still showing you what they read.
What you can do with Measure via MCP
Once you connect the MCP server to Cursor, Claude Desktop, or Windsurf, you can ask:
Traffic questions:
- “What’s my traffic this week vs last week?”
- “What’s my best day for signups?”
- “Is the new landing page getting more visits?”
Referrer questions:
- “Which channels are driving the most visitors?”
- “How much traffic am I getting from Reddit?”
- “What’s my search traffic trend?”
Content questions:
- “Which pages are getting the most views?”
- “What’s my most-read blog post?”
- “Are people visiting my pricing page?”
Conversion questions:
- “How many people reached the /welcome page this month?”
- “Which referrers sent the visitors who signed up?”
Agent questions:
- “Which AI agents crawled my docs this week?”
- “Is my llms.txt being read?”
All from your AI tool of choice. No dashboard required.
How to set up the MCP server
Step 1: Get a Measure account. Sign up at lets.measure.events. $29/month covers up to 40 sites, with a 14-day trial (card required).
Step 2: Add your site and get your keys. After signup, add your domain, copy your tracking ID, and create an API key (it starts with mk_).
Step 3: Add the tracking script.
<script defer src="https://lets.measure.events/api/script/YOUR_TRACKING_ID"></script>Step 4: Configure the MCP server in Cursor. In .cursor/mcp.json:
{
"mcpServers": {
"measure": {
"url": "https://lets.measure.events/mcp",
"headers": {
"Authorization": "Bearer mk_your_api_key"
}
}
}
}Step 5: Ask questions. Open Cursor chat (Cmd+L), type: “How is my site performing this week?”
What’s next for MCP + analytics
The MCP ecosystem is growing fast. In the next 12 months, expect:
- MCP becoming standard in VS Code, JetBrains, and other IDEs
- Agentic workflows that automatically monitor traffic and surface anomalies
- AI tools that proactively flag significant changes (“Your traffic from HN is 5x normal today”)
- Analytics-triggered automation (if signups drop below threshold → open an issue)
The builders adopting MCP-connected analytics now are building the mental model for how this will work at scale.
TL;DR
- MCP is the open standard connecting AI tools to external data
- MCP servers let AI assistants pull live data from your tools
- Measure has an MCP server at
https://lets.measure.events/mcp, and counts humans, AI agents and bots separately - You can ask your analytics in plain English from Cursor, Claude Desktop, or Windsurf
- Setup takes under 5 minutes
Let your agent read the numbers.
$29 a month covers 40 sites, then $0.50 a site. 14-day trial.