What it does
Markdown walkthrough of the mcp-analytics workflow: adding sites, installing the tracker, querying analytics, custom events.
Example prompts
Ask Claude (or any MCP client connected to mcp-analytics) something like:
Walk me through using mcp-analytics for the first time.
The client will pick get_started_guide automatically based on the prompt and your account's available sites.
How to call it directly
If you're integrating from your own code rather than a chat client, this is the JSON-RPC payload:
curl -X POST https://mcp-analytics.com/mcp \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_started_guide",
"arguments": {}
}
}'
Token comes from /settings after you sign up. Replace any required arguments above.
Related tools
regenerate_api_token: Invalidate the current API token and issue a new one.get_timeseries: Time-bucketed metric over a period.get_overview: TL;DR for the period: headline metrics (pageviews, visitors, sessions, bounce rate, avg session duration) plus pageviews_change_pct vs the previous equivalent window, top page, top traffic source, bot share, and top 3 custom events.top_bots: Named-bot breakdown: which crawlers fetched the site, by canonical bot name (GPTBot, ClaudeBot, PerplexityBot, Googlebot, ...) with their traffic_class and hit counts.compare_periods: Compare a metric between two periods.