Porter Metrics connects Google Analytics 4 to Claude and ChatGPT through one hosted MCP server. You ask about sessions, landing pages and key events in a chat, then fix tracking settings after you approve. Porter reads Search Console and your ad platforms through the same server, so traffic and its cause share one answer.
One MCP server: Porter connects Google Analytics 4 to the AI clients, fields, metrics, dimensions and workflows marketers already use. You paste one server URL and sign in with Google once. Every client you add then reads the same 288 fields, and the same server reaches the sources in all MCP connectors.
Porter’s Google Analytics connection reads first and asks before any change. A Viewer role is enough to report, an Editor role lets Claude change settings, and every change waits for your approval. Actions GA4 can’t undo, like removing a key event, are flagged as permanent, so you confirm them before they run.
Read-only first
Read-only first: ask about sessions, pages and key events without changing anything in the property. Reporting runs apart from settings changes.
Approved Google sign-in: connect with your Google account. You never create a Cloud project, a service account or a credentials file.
Viewer to read, Editor to change
Your role decides the scope:Google Analytics roles (Viewer and Editor) carry over. Viewer reads reports; Editor is needed for key events, custom definitions and streams.
Changes after you approve
Changes after you approve: Claude shows the key event, dimension or audience it will create. Nothing reaches GA4 until you say yes.
Permanent actions flagged
Permanent actions flagged: removing a key event, unlinking Google Ads, deleting a data stream or removing a user can’t be undone in GA4. Porter flags each one and asks you to confirm.
Official API, no browser automation
Official API: Porter uses Google’s Analytics Data and Admin APIs, never a browser session clicking through GA4.
Revoke access anytime
Revoke access: disconnect Google Analytics from your Porter account whenever you want. Access stays tied to that sign-in, not a key on your laptop.
Setup
How to set up the Google Analytics MCP server
Setting up Porter’s Google Analytics connection takes one server URL and a Google sign-in. There is no Python, no Cloud project and no server to run. Claude and ChatGPT each have their own place to paste the URL, then a first question about last month’s sessions confirms the property is connected.
https://mcp.portermetrics.com/mcp
How to install Google Analytics MCP in Claude
Use the Claude plugin for the guided route, since Claude keeps the Porter plugin synced when new tools ship.
Porter’s walkthrough connects GA4 to Claude without code. You sign in with Google in Porter, add Porter’s MCP URL to Claude as a custom connector, then ask a first traffic question. The steps match the list above.
Use manual MCP setup in Claude
Use manual setup when Claude asks for a custom connector instead of a plugin.
Click + in the chat composer.
Open Manage connectors.
Click + to add a connector.
Choose Add custom connector.
Name the connector Porter.
Pastehttps://mcp.portermetrics.com/mcp.
Click Add.
Return to the chat.
Ask for GA4 sessions, landing pages or a key event check.
Manual setup demo:
How to install Google Analytics MCP in ChatGPT
Use the Porter Metrics app for the fastest ChatGPT route.
Use Google’s server if you’re a developer who wants free, local, read-only access and is happy to manage credentials. Use Porter’s URL (https://mcp.portermetrics.com/mcp) when you want GA4 next to Search Console and ad spend, across client properties, with dashboards and approved fixes. The two can run side by side.
Porter’s URL goes into the server URL field of any MCP client; Google’s runs as a local command.
Prompts
Google Analytics MCP prompts
Porter’s Google Analytics skills are working prompts, not tutorials. Each one turns live GA4 data into a report, a diagnosis or an approved tracking fix, and you can paste it as written. Reporting and research prompts only read the property. Automation prompts propose a change and wait for your approval.
Reporting skills
Connection test
List every GA4 property I can access. Then show Sessions, Engagement rate and Key events by Week for the last 4 full weeks, ending two days ago.
Channel report
For the last 28 days ending two days ago, show Sessions, Engaged sessions, Engagement rate and Key events by Session default channel group.
Landing page engagement
Show the 20 landing pages with the most Sessions in the last 28 days, with Engagement rate and Key events. Flag pages with high Sessions and low Engagement rate.
Traffic drop diagnosis
Sessions dropped last week. Compare Sessions and Key events by Date, Device category and Session default channel group with the week before, and find where the drop started.
Client property comparison
Compare Sessions, Engagement rate and Key events for the last 28 days across every GA4 property I’ve connected, ranked by Key events.
Weekly report
Write a weekly GA4 report: what changed in Sessions and Key events, which channels and landing pages moved it, and what to check next.
Research skills
Search Console vs GA4 engagement
For my top 20 landing pages in the last 28 days, show Search Console Clicks and Average position. Next to them, show GA4 Sessions, Engagement rate and Key events.
AI assistant traffic
Show Sessions, Engagement rate and Key events by Session source and Month and year for the last 6 months. Keep sources like chatgpt.com, perplexity.ai and claude.ai.
Key event audit
List the key events on this property. Then show Event count by Event name and Page path for the last 28 days, and flag key events that never fired.
Automation skills
Mark a key event
The event generate_lead fires but isn’t a key event. Mark it as a key event on my GA4 property after I approve.
Add a custom dimension
Create an event-scoped custom dimension called Plan type from the parameter plan_type. Show me the settings and create it only after I approve.
Tracking alert agent
Every Monday, compare Key events by Event name with the week before. Alert me when any key event drops by more than half.
Weekly summary
Every Monday, write a 10-line GA4 summary of Sessions, Key events and the top movers, ready to paste into our team channel.
Who this is for
Who this is for
Marketers who need the why behind the traffic. Porter’s Google Analytics connection fits four groups. Agencies report on many client properties, and in-house marketers own the website numbers. SEO and content marketers track organic and AI traffic, and analysts keep tracking clean. Each group below gets four jobs it can hand over.
Agencies and freelancers
Every client property: one answer across all of them, without switching GA4 views.
Client reports: a live link the client opens on Monday that you never rebuilt.
Tracking fixes: the missing key event gets marked in the same chat that found it.
Onboarding audits: key events, custom dimensions and streams listed in one pass.
In-house marketers
Channel answers: which channel moved Key events this month, without building an exploration.
Landing pages: pages with traffic but no engagement surface on their own.
Ad spend next to traffic: Meta and Google Ads spend beside the sessions they bought.
Executive reports: one link, already current when leadership opens it.
SEO and content marketers
Search Console next to GA4: clicks and position beside what visitors did after landing.
AI assistant traffic: sessions from ChatGPT, Perplexity and Claude, tracked by month.
Content that converts: Key events by landing page, so the next brief starts from evidence.
Traffic drops: the day and the channel, before the meeting where someone asks.
Analysts and marketing ops
Field-level access: 288 fields plus custom definitions, named the way GA4 names them.
Key event audits: events that stopped firing show up as a list.
Warehouse destinations: GA4 lands in BigQuery, next to everything else.
Alerts: a key event drop reaches you on Monday, not at month end.
When to use Google’s own instead
You’re a developer, read-only access is enough, and you’re happy to run Python with a Cloud project. Google’s server is free, open source and enough for that job.
Comparison
Official Google Analytics MCP vs. Porter
Google publishes an open-source Google Analytics MCP server that runs on your own machine. Google’s Analytics MCP setup guide describes it as read-only and lists its requirements (as of November 2026). It suits developers, and it can run next to Porter in the same AI client.
Google’s server gives your AI read access to GA4 from your laptop. Porter gives it your marketing operation: GA4, Search Console, ad spend, dashboards and approved fixes from one hosted URL.
The basics are the same on both: Google’s official Analytics APIs, your existing GA4 access, every report field GA4 exposes, and a server any MCP client can use. Here is where they part.
Porter
Google’s official MCP (as of November 2026)
Same job, different reach
Setup
Google sign-in, one URL
Python 3.10+, a Cloud project with the Admin and Data APIs, Application Default Credentials
Where it runs
Hosted by Porter
On your machine, through pipx
Changes to GA4
Key events, custom dimensions and metrics, audiences, streams, Google Ads links, user access
Property annotations only, behind an --allow-write flag
Approval controls
Every change shown first and approved
Read-only by default
Clients in its docs
Claude, ChatGPT, Gemini, n8n, any remote MCP client
Antigravity, Claude Desktop, Claude Code
Price
Included in every Porter plan, the free plan too
Open source
Only one side
Search Console and other channels
30+ sources: Search Console, Google Ads, Meta Ads, HubSpot and more
GA4 only
Cross-channel in one conversation
Yes
Not in its docs
Blending sources into one number
Yes
Not in its docs
Live dashboards at their own link
Yes
Not in its docs
Scheduled reports and alerts
Yes
Not in its docs
Attribution to CRM revenue
Yes
Not in its docs
Data Studio, Sheets, BigQuery
Yes
MCP clients only
Skills: whole tasks already written
Yes
You write the prompt
Use Google’s own if you’re a developer, need GA4 only, and read-only access is enough. Everything under Only one side is what happens when the job grows past that.
If Google’s own server asks for Python and a Cloud project
Python comes first. Google’s guide asks for Python 3.10 or higher and pipx or uv to run the server.
Then a Cloud project. You enable the Google Analytics Admin API and Data API in a Google Cloud project.
Then credentials. You set up Application Default Credentials with the analytics.readonly scope, using your own account or a service account.
Writes stay narrow. Google’s repository adds one write tool, create_property_annotation, and only with the --allow-write flag.
Porter needs a Google sign-in only. Paste Porter’s URL, sign in, and ask the same question.
And the third-party MCPs?
Plenty of servers rank for this search, and they split three ways. The job tells you which one you’re looking at.
Reporting connectors. They read GA4 into the chat and change nothing.
Managed servers. They host the server for you, usually around GA4 alone.
Open-source servers. Free to download and yours to run: you keep the credentials and update them when the API changes.
Porter reads, reports and fixes tracking from one hosted server, on every plan.
Google Analytics MCP pricing
The Google Analytics MCP is included in every Porter plan, the free-forever plan too. Reporting is billed per connected account, and each GA4 property counts as one account.
14-day trial: everything unlimited, no credit card.
Free forever: unlimited connected accounts, 30 days of history (15 days in AI chats), 100 automation credits a month.
Paid Reporting: from $15 per account a month, or $12.50 billed annually.
Unlimited questions: AI chats, queries and dashboards are included. Reads are free; each completed change uses 1 automation credit.
Monthly billing
$40
Annual billing, per month
$33.33
Per account
$8.00
Reporting price for connected accounts, in USD. AI chats, queries and dashboards are unlimited. Annual billing is 10 months for 12.
The more accounts you connect, the lower the price per account. See the full calculator on Porter pricing.
Frequently asked questions
Is there an MCP for Google Analytics?
Yes. Google publishes an open-source server you run locally, and Porter hosts one at https://mcp.portermetrics.com/mcp. Both read GA4 through Google's official APIs. Porter adds a Google sign-in instead of a Cloud project, Search Console and ad data in the same chat, and key event fixes after approval.
What is the Google Analytics MCP server URL?
Porter's server URL is https://mcp.portermetrics.com/mcp, and you paste it into Claude, ChatGPT or any MCP client. Google's own server has no hosted URL. You install it from Google's analytics-mcp repository on GitHub and run it on your machine with Python and your own credentials.
Does Google have an official Google Analytics MCP?
Yes. Google's Google Analytics MCP server is open source and runs locally with Python 3.10 or higher, a Cloud project and Application Default Credentials. Google describes it as read-only. Its only write tool, property annotations, needs an --allow-write flag (as of November 2026).
Is GA4 MCP the same as Google Analytics MCP?
Yes. Google Analytics 4, or GA4, is the current version of Google Analytics, so both searches point to the same kind of server. Porter's Google Analytics connection reads GA4 properties, and its fields use the names you see in GA4, like Sessions and Key events.
What is MCP in Google Analytics? Is MCP an agent?
MCP is the Model Context Protocol, an open standard that lets AI apps like Claude read data from other tools. MCP is not the agent. Claude and ChatGPT are the agents, and MCP is how they reach your GA4 property through a server like Porter's.
How do I connect Claude to Google Analytics?
Install the Porter plugin from Claude Settings → Customize → Plugins. Add the portermetrics/porter marketplace, install Porter Metrics, connect the Porter connector and sign in with Google. Then ask about last month's sessions. Use the manual custom connector only when Claude asks for one.
Is the Google Analytics API free?
Porter's MCP costs nothing on any Porter plan, and it reaches GA4 through Google's official APIs within Google's property quotas. What you pay Porter for is Reporting, per connected property, and Automation credits when Claude changes settings. The free plan covers 30 days of history and 100 credits a month.
Start free
Connect Google Analytics to Claude or ChatGPT and ask why traffic moved, which pages convert and what to fix today.
Start free: unlimited GA4 properties, no credit card.
For agencies: every client property answers in one chat, and the Monday report is a link. For SEO and content marketers: Search Console and GA4 finally sit in the same answer. For analysts: broken key events reach you as a fix to approve, not a surprise in the report.