I build GSC Wizard, an SEO analytics tool. A while back I added an MCP (Model Context Protocol) server so people could ask an AI assistant — ChatGPT, Claude, whatever — questions about their own search and analytics data and get real numbers back instead of hallucinations.
Wiring up Google Search Console was the easy part. Google Analytics 4 was where it got interesting. GA4's Data API has quirks that don't matter much when a human clicks a dashboard, but bite hard the moment an LLM is generating the requests. This post is about those quirks and how I dealt with them.
There are six GA4 tools in the server:
Tool
What it answers






