Google Analytics MCP, and a simpler way to ask AI about your visitors

An MCP server lets an AI assistant like Claude or ChatGPT read your statistics and answer questions about them. Here is how it works, and what it takes with Google Analytics and with Okidoki.

Create a free accountFree for up to three sites. No card needed.

Updated November 14, 2026

What MCP is

MCP, Model Context Protocol, is an open standard that lets an AI assistant use other services. With your analytics connected you can ask "which pages brought sign-ups last week?" and get an answer in plain words. The assistant fetches the numbers for you.

  1. 1. You ask a question in Claude or ChatGPT.
  2. 2. The assistant fetches the numbers through the connection.
  3. 3. You get the answer in plain words.

Google Analytics compared with Okidoki

Google Analytics MCPOkidoki
Where it runsOn your own computer or serverAt Okidoki, on okidoki.sh/mcp
What you needA Google Cloud project, APIs turned on, credentials and an AI tool that starts local serversAn account and an AI assistant
Time to get goingAn hour or moreA couple of minutes
The numbersGoogle Analytics, with the gaps the cookie banner leavesEvery visit, no cookie banner

Google's server works well for analysts who already work in Google Cloud. For most site owners it's too many steps.

How to connect Okidoki

  1. Add Okidoki as a connection in Claude or ChatGPT, with the address https://okidoki.sh/mcp.
  2. Sign in to Okidoki when the assistant asks.
  3. Choose which sites the assistant may see, and whether it may only read or also make changes.
  4. Ask your first question.

AI agents and Okidoki shows the steps for each assistant.

What you can ask

  • How did last week go compared with the week before?
  • Which sources bring visitors who buy?
  • Which pages do people from ChatGPT land on?
  • Did Tuesday's newsletter bring any visitors?

Is it safe?

AccessThe assistant can
ReadOnly read the numbers.
WriteAlso add goals, ad costs and share links for you.

Either way it sees the same numbers you do. There's no personal data in them to leak, because Okidoki never collects any. Remove the connection under Settings, Agent whenever you like.

Is the Google Analytics MCP server free?

The server is free and open source, but you run it yourself and need a Google Cloud project. Okidoki’s MCP is included on every plan, with 20 questions a month on Free and 2,000 on Plus.

Which AI assistants work with MCP?

Claude, ChatGPT, Cursor and many others. Claude and ChatGPT can connect to Okidoki directly from their connector settings.

More guides

Ask your website. Get answers right away.

Free for 3 sites. No credit card, no cookies, no code to touch.

Or look around a live demo first, no account needed →