Analytics for Claude Desktop users: query your site data in plain English
Claude Desktop supports MCP servers natively, and Measure ships one. Here's how to connect your analytics to Claude Desktop in under five minutes.
You’re already talking to Claude Desktop about your code, your docs, your writing. If you use Measure, you can talk to it about your traffic too.
Measure ships an MCP server at https://lets.measure.events/mcp — something few analytics tools offer. And Claude Desktop supports MCP natively. That means you can ask your analytics questions the same way you ask Claude anything else: in plain English, right inside the app.
This post walks through how to set it up.
Why this matters
Most analytics tools have dashboards. You open a browser, navigate to the tool, find the right date range, interpret the chart. It’s fine. But it’s a context switch.
Claude Desktop changes the pattern. If your analytics are connected via MCP, you can ask “what were my top pages last week?” or “where is my traffic coming from today?” without leaving the app. Claude fetches the data and tells you directly.
The MCP server isn’t a wrapper around the dashboard. It’s a first-class API interface — the same data your code would get from the REST API, exposed as tools Claude can invoke. You get structured data, not a screenshot.
Prerequisites
- Claude Desktop (macOS or Windows)
- A Measure account and API key
- About five minutes
Your API key is in your Measure dashboard under Settings → API Keys. It starts with mk_.
Setup: edit claude_desktop_config.json
Open the Claude Desktop config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonIf the file doesn’t exist, create it.
Add the following configuration:
{
"mcpServers": {
"measure-events": {
"url": "https://lets.measure.events/mcp",
"headers": {
"Authorization": "Bearer mk_your_api_key_here"
}
}
}
}Replace mk_your_api_key_here with your actual Measure API key.
Save the file, then fully quit and reopen Claude Desktop. The config is only read on startup.
Verify it’s working
After restarting, you should see a small tool indicator in the Claude Desktop interface showing that the measure-events MCP server is connected.
Try asking:
“How many pageviews did my site get this week?”
Claude will call Measure, fetch your data, and respond with real numbers. If it works, you’re done.
What you can ask
With the MCP server connected, you have a conversational interface to all your Measure data:
Traffic overview:
- “What were my top 5 pages last week?”
- “How much traffic did I get today vs yesterday?”
- “Show me my pageview trend for the last 30 days”
Referrers:
- “Where is my traffic coming from this month?”
- “Is any traffic coming from social media?”
- “What’s my biggest organic traffic source?”
Site health:
- “Is my site getting any traffic right now?”
- “Which AI agents are visiting my site, and how often?”
- “Which blog posts are performing best?”
Content decisions:
- “I published three posts last week — which one drove the most traffic?”
- “My homepage traffic dropped this week. What changed?”
Claude interprets the data and answers the question. You don’t need to write SQL or build a custom report.
Multiple sites
If you track multiple sites with Measure, you can specify which one you want data from:
“What are the top pages on my blog site this week?” “Show me referrers for my SaaS app, not the marketing site”
The MCP server includes a list_sites tool, so Claude can discover your sites and reference them by name.
The difference from a dashboard
A dashboard shows you what it was designed to show. An MCP server answers what you actually want to know.
The dashboard is built for a generic user. Claude Desktop + MCP is built for your specific workflow. If you’re deep in a code session and want to know whether the landing page you just shipped is getting traffic, you ask. You don’t alt-tab.
That’s the practical value — and it’s not something most analytics tools give you.
Troubleshooting
Claude doesn’t see the MCP server: Make sure you fully quit Claude Desktop (not just close the window) and reopened it. The config is only read at startup.
“Tool not found” or auth errors: Verify your API key is correct (it should start with mk_) and your Measure account is active.
If you’re a Cursor user, we have a separate guide for Cursor MCP setup. The configuration is slightly different but the concept is identical.
Measure is $29/month for up to 40 sites, with a 14-day trial — sign up here.
Let your agent read the numbers.
$29 a month covers 40 sites, then $0.50 a site. 14-day trial.