Built a site-scoped analytics MCP for Claude Code to query signup sources in natural language
No_Product_5759 · reddit · 2026-10-07
The author built agentlytics, a site-scoped web analytics MCP server so Claude Code can answer questions like "which source brought signups last week" with real data. Key points:
- Cookieless script tracks pageviews, referrers, UTM tags and custom events; each site gets its own read key
- Tools include queryvisits (e.g. signups grouped by source), getfunnel, findtrafficspikes, getcampaignresults, plus tracked campaign links; no account/billing changes allowed
- One claude mcp add --transport http command to set up; Cursor and Codex documented too
- Author shares a test prompt (group signups by source, flag unknown attribution before suggesting an experiment) and warns against treating AI-generated plans as causality proof on small samples
- Free tier: 1 site / 5,000 pageviews monthly with MCP included; open question on whether campaign-link creation should live in a separate write-capable server
More from coding & agent
- Dev Builds 'Slop Cannon': Agent-Orchestrated h3 + fal + Gemini Content Machine — tobowers · 2026-10-07
- Free agent memory hub bundles 11 tutorials, from 7-minute explainer to offline edge RAG — Al_Grigor · 2026-10-07
- Microsoft's MiniCorp Simulates an AI-Run Company to Generate Enterprise Agent Data — microsoft · 2026-10-07
- Paper: Claude Code, Codex and 3 other coding agents let models tamper with their own traces — maksym_andr · 2026-10-07
- AI Red-Teamer Tested on 5 OpenRouter Setups: Cheapest Full Scan Cost $0.14 — Humanbound_AI · 2026-10-07
- Build a sub-1s AI voice agent portfolio project to win clients via cold email — ashishllm · 2026-10-07