Antlytics MCP server
The Antlytics MCP server lets you query your analytics data directly inside Claude, Cursor, Windsurf, Cline, Zed, and any other tool that supports the Model Context Protocol.
MCP URL: https://www.antlytics.com/mcp
Install
Claude Code
claude mcp add --transport http antlytics https://www.antlytics.com/mcp
Cursor
Add to .cursor/mcp.json in your project root:
{
"mcpServers": {
"antlytics": {
"url": "https://www.antlytics.com/mcp"
}
}
}
Claude Desktop
- Open Claude Desktop → Settings → Connectors
- Paste the URL:
https://www.antlytics.com/mcp - Click Connect and authorise when prompted
Or edit claude_desktop_config.json directly:
{
"mcpServers": {
"antlytics": {
"url": "https://www.antlytics.com/mcp"
}
}
}
Windsurf / Cline / Zed
Add the MCP URL https://www.antlytics.com/mcp in your tool's MCP settings panel. Refer to your tool's documentation for the exact steps.
Authentication
When you connect, the MCP server opens your browser for a one-time OAuth sign-in. Sign in with your Antlytics account and click Authorise. Tokens are stored by your MCP client — you won't need to sign in again.
To revoke access: Antlytics dashboard → Settings → API tokens, find the MCP token and click Revoke.
Available tools
get_stats
Summary statistics for a site.
Inputs: site_id (required), from, to (optional ISO 8601 datetimes; default: last 7 days)
Output: { visitors, pageviews, bounce_rate, sessions, period: { from, to } }
get_top_pages
Top pages by pageviews.
Inputs: site_id (required), from, to, limit (default 10, max 100)
Output: [{ path, pageviews, visitors }]
get_top_referrers
Top referrers by visit count.
Inputs: site_id (required), from, to, limit (default 10, max 100)
Output: [{ referrer, visits }]
Example prompts
Once connected, try these in Claude, Cursor, or Windsurf:
- "What were my top 5 pages on antlytics.com last week?"
- "Show me the stats for antlytics.com for the past 30 days."
- "Which referrer sent the most visitors to antlytics.com this month?"
Rate limits
120 requests per minute per access token. Exceeded requests return 429 Too Many Requests.
Privacy
The MCP server has read-only access to your aggregated analytics data — the same data shown in the Antlytics dashboard. No raw user data (IP addresses, user agents) is exposed. See our privacy policy for details.