Complete AI Training
Start for Free

Your job's AI kit

Get your AI kit

Tell us who you are and what you do. We show you your kit right away and email you the link: skills, prompts, AI agents, MCP servers and courses for your job.

500+ jobs ready, and we make a kit for any other job. No payment needed to look.

Share

MCP server · Analytics

Google Analytics MCP server

by dhawalshah

Ask your AI about your website traffic and it answers using your real Google Analytics 4 numbers.

This is a small helper that connects your AI assistant to your Google Analytics 4 account. Once it is set up, you can just ask questions in normal words and get real numbers back instead of clicking around reports. It is handy for anyone who checks website traffic, campaigns, or visitor behaviour.

What is an MCP server? The 30-second version

On its own, your AI can only chat with you. An MCP server is a small helper program that gives your AI a new skill or a connection to an app or service. This one connects your AI to Google Analytics 4, so it can look up your traffic, users, and events for you. You ask a question, the AI passes it to this helper, and the helper fetches the answer from Google Analytics.

What this MCP server does

You ask your AI something like how many people visited last month. The AI sends that request to this helper. The helper talks to your Google Analytics 4 account using your own Google login, so it only sees the properties you can see. It gets the numbers back and turns them into a normal sentence or a small table in the chat. You never have to open the Google Analytics website yourself.

What you can do with it

  • List all the Google Analytics accounts and properties you can access
  • Check page views, active users, and events for any date range
  • See which traffic sources and devices bring the most visitors
  • Ask how many people are on the site right now (last 30 minutes)
  • Look up which dimensions and metrics are available for a property
  • Run a custom report with any metrics and dimensions you want
  • Trace where people drop off in a multi-step flow like homepage to purchase

Try asking your AI

  • “Show me page views for the last 30 days”
  • “How many active users do we have right now?”
  • “What are our top traffic sources this month?”
  • “Which device type drives the most sessions?”

What it gives back to you

You get answers in plain language, often with a short list or table of numbers. For example, it might list your top pages with their view counts, or show sessions by country. If you ask for a funnel, it shows how many people made it through each step and where they dropped off. Everything appears right in the chat, no report building needed.

Before you start

What you need

  • A Google Analytics 4 property you can access
  • A Google Cloud project (free to create) where you turn on the two Analytics APIs
  • Google OAuth login details (a Client ID and secret) from that project
  • Python 3.10 or newer if you run it on your own computer

Good to know

It only reads your Google Analytics data, so it will not change or delete anything, but it can see every property your Google account can access.

Install it with your AI

Add Google Analytics MCP server to your AI, no technical skills needed

You don't install anything by hand. You copy one prompt, paste it into an AI that can work on your computer, and it checks, installs and connects the server for you, asking you when it needs something.

Sign in to get the install prompt

Members get a ready-made prompt that lets the Claude desktop app check Google Analytics MCP server, install it and connect it for them, step by step. You don't need any technical skills: you copy, paste and answer a few questions. Your connected AI can also find and install any of the 4,960 MCP servers here for you.

Sign in Start for Free

Who it's for

Marketers, analysts, and small business owners who want quick answers from their website data without learning the Google Analytics interface.

Jobs it suits