library · google analytics
A Google Analytics 4 MCP server for ChatGPT and Claude.
Add safe-mcp to ChatGPT or Claude as a custom connector, then ask in the chat which landing pages lost sessions last month, or have an agent pull that report every Monday. It only reads, and each colleague signs in with their own Google account.
asked in ChatGPT: landing pages that lost sessions, October
/pricing1,240 → 910
/blog/ga4-setup860 → 640
/signup530 → 470
compared withSeptember
what you can ask
What you can ask and what comes back
The server turns your question into a GA4 report: sessions, users, conversions, revenue or engagement by date, landing page, source/medium, device or country, against an earlier period. Funnels show the drop-off at each step.
example questions
landing pagePaid social landing pages under 1% conversion last week?
source/mediumgoogle / organic, last 30 days against the 30 before.
deviceMobile conversion since the 3 November redesign?
countryRevenue from Germany, this quarter against last.
funnelCart to purchase: where do people drop?
How to connect Google Analytics 4 to ChatGPT or Claude
- Create a safe-mcp account.The Google Analytics server is built in.
-
Paste the safe-mcp URL as a custom connector.Under Settings, Connectors. The exact steps are on the ChatGPT and Claude pages.
app.safe-mcp.com/mcp
-
Ask your first question.Google asks once for read access, then the report comes back in the chat.
- read only
for a team
What the team can do with it, and what gets written down
- Rules. Limit the server to single tools, or lock one of its fields to a single value.
- Google sign-in. A colleague reads only properties their Google account can open. Every account member can read the record.
one entry in the record
whomaria
fromChatGPT
toolmarketing_get_report
asked forsessions by landing page, October
Questions people ask before connecting
- How do I connect GA4 to ChatGPT? Settings, Connectors, add a custom connector with the safe-mcp URL, sign in with Google. The steps in ChatGPT.
- Does it work in Claude? Same URL, same place in Claude; Claude Code takes one
claude mcp addline. Claude setup. - Is there a free Google Analytics MCP server? The free plan includes one project and 1000 server tool calls a month. Pricing.
- Can it change my GA4 settings? Its four tools only read reports.
The Google Analytics server is built in.
Examples on this page are illustrations, not real data.