Measure.events MCP Server
Enables AI assistants to query privacy-first web analytics from Measure.events, including pageviews, top pages, referrers, and custom event tracking, all via natural language.
README
Measure.events MCP Server
A Model Context Protocol (MCP) server for Measure.events — privacy-first web analytics that AI agents can use natively.
Connect your AI coding assistant (Claude Desktop, Cursor, Windsurf, etc.) to your web analytics. Ask questions like "how's my traffic this week?" or "what are my top pages?" and get real answers from real data.
Why?
Every analytics platform has a dashboard. None of them talk to your AI tools.
Measure.events is the first analytics platform with a native MCP server. Your AI assistant can check traffic, find top content, identify referrers, and track events — all without you opening a browser.
Tools
| Tool | Description |
|---|---|
list_sites |
List all tracked sites in your account |
get_pageviews |
Pageview counts with daily time series |
get_top_pages |
Most viewed pages on a site |
get_referrers |
Traffic sources and referring domains |
get_site_summary |
AI-friendly natural language analytics summary |
track_event |
Track custom events (signups, purchases, etc.) |
Setup
1. Get your API key
Sign up at lets.measure.events and grab your API key from Settings.
2. Install
npm install @turbo-puffin/measure-mcp-server
Or run directly with npx:
npx @turbo-puffin/measure-mcp-server
3. Configure your MCP client
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"measure": {
"command": "npx",
"args": ["-y", "@turbo-puffin/measure-mcp-server"],
"env": {
"MEASURE_API_KEY": "your_api_key_here"
}
}
}
}
Cursor
Add to your Cursor MCP settings:
{
"mcpServers": {
"measure": {
"command": "npx",
"args": ["-y", "@turbo-puffin/measure-mcp-server"],
"env": {
"MEASURE_API_KEY": "your_api_key_here"
}
}
}
}
Windsurf
Add to your Windsurf MCP configuration:
{
"mcpServers": {
"measure": {
"command": "npx",
"args": ["-y", "@turbo-puffin/measure-mcp-server"],
"env": {
"MEASURE_API_KEY": "your_api_key_here"
}
}
}
}
Environment Variables
| Variable | Required | Description |
|---|---|---|
MEASURE_API_KEY |
Yes | Your Measure.events API key |
MEASURE_API_URL |
No | Custom API base URL (default: https://lets.measure.events/api/v1) |
Example Usage
Once configured, ask your AI assistant:
- "What's my traffic looking like this week?"
- "Which pages are getting the most views on propfirmdeck.com?"
- "Where is my traffic coming from?"
- "Give me a summary of my analytics"
- "Track a signup event for my site"
Hosted MCP Endpoint
Measure.events also provides a hosted MCP endpoint for server-to-server integration:
POST https://lets.measure.events/mcp
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
{"jsonrpc": "2.0", "method": "initialize", "id": 1, "params": {"protocolVersion": "2024-11-05", "capabilities": {}, "clientInfo": {"name": "test", "version": "1.0"}}}
About Measure.events
Measure.events is privacy-first web analytics built for the AI era. No cookies, no personal data, GDPR/CCPA compliant out of the box. The only analytics platform where AI agents are first-class citizens.
- 🔒 Privacy-first — no cookies, no fingerprinting
- 🤖 Agent-native — MCP server + REST API
- ⚡ Lightweight — single script tag, <1KB
- 📊 Real-time — see traffic as it happens
License
MIT — see LICENSE for details.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.