ChatGPT · Google Analytics
Use Google Analytics from ChatGPT-style workflows through an MCP-capable OpenAI client
ChatGPT itself does not yet speak MCP natively. NotFair is a hosted Google Analytics MCP that ChatGPT-style teams reach through Codex CLI, a Custom GPT Action, or another OpenAI-compatible MCP client. 12 Google Analytics tools. Properties, Data API reports, realtime, metadata, custom dimensions, and key events.
12 Google Analytics tools
Turn Codex Into Your Marketing Engine
Bring ads, search, analytics, CRM, and WordPress into your AI client. Explore each integration to see its supported actions.
Choose a platform
Choose your AI client
Install the MCP
codex mcp add NotFair-GoogleAnalytics --url https://notfair.co/api/mcp/notfairSign in and start asking
Audit my Google Analytics account and rank fixes by impact.How it works
Connect Google Analytics, then bridge ChatGPT
Connect GA4
NotFair hosts Google OAuth for GA4. You authorize properties without creating a Cloud project for the MCP client.
Pick a ChatGPT-capable bridge
ChatGPT does not yet speak MCP natively. Most teams register NotFair on Codex CLI (`codex mcp add NotFair-GoogleAnalytics --url https://notfair.co/api/mcp/notfair`), a Custom GPT Action, or another OpenAI-compatible MCP client.
Ask, then approve writes
The bridged client can read Properties, Data API reports, realtime, metadata, custom dimensions, and key events. Writes stay staged until you approve them. Google requires both analytics.readonly and analytics.edit for this combined surface. NotFair does not claim Google Ads impact review on GA4.
What the client can do
Reports first. Config writes with honest limits.
Google's experimental GA4 MCP is local and read-only. NotFair adds hosted OAuth plus gated custom-dimension and key-event writes, and it does not claim Google Ads impact review on Analytics.
Data API reports
runReport with sampling and (other)-row caveats. runScript can fan out up to five reports and never wraps mutations.
Realtime and metadata
runRealtimeReport and getMetadata so the client can inspect active users and available dimensions before proposing a config change.
Key events are inverses
createKeyEvent and deleteKeyEvent reverse each other after approval.
Archive is irreversible
archiveCustomDimension cannot be undone, and parameterName cannot be reused. The client must surface that limit.
GA4 tools
12 Google Analytics tools the client can call
The advertised count is measured from registerGoogleAnalyticsTools() and guarded by a drift test. The table below is a representative subset.
| Tool | Type | Description |
|---|---|---|
listProperties | read | Discover accessible GA4 properties grouped by account. |
runReport | read | Run a Data API report with freshness and sampling metadata. |
runRealtimeReport | read | Active users and realtime dimensions for the selected property. |
getMetadata | read | Available dimensions and metrics, including custom definitions. |
createKeyEvent | write | Approval-gated. Inverse of deleteKeyEvent. |
archiveCustomDimension | write | Approval-gated and irreversible. parameterName cannot be reused. |
Full tool surface: /google-analytics-mcp.
Google Analytics + ChatGPT FAQ
Direct answers for operators connecting Google Analytics to ChatGPT-style workflows through NotFair.
Connect Google Analytics at notfair.co, then add NotFair to an MCP-capable OpenAI client such as Codex CLI. ChatGPT itself does not yet speak MCP natively.
Not in the public sources used here. NotFair stays honest about that limit: ChatGPT-style teams use Codex CLI, Custom GPT Actions, or another OpenAI-compatible MCP client against the same hosted endpoint.
Only through an MCP-capable client, and only after explicit approval. Reporting is read-only. createKeyEvent and deleteKeyEvent are inverses. archiveCustomDimension is irreversible and cannot reuse parameterName. Writes wait for approval. runScript never wraps mutations. Google requires both analytics.readonly and analytics.edit for this combined surface. NotFair does not claim Google Ads impact review on GA4.
Google publishes googleanalytics/google-analytics-mcp as an experimental local, read-only server.
Related pages
Keep evaluating the same connection.
Google Analytics MCP
Tool surface, endpoint, and 12 Google Analytics tools.
Google Analytics for Claude
Same hosted MCP endpoint on Claude's first-class landing.
Google Analytics for Codex
Codex CLI product landing for the same tools.
Google Analytics for Grok Bot
Marketplace install for the same hosted MCP tools.
Compare Google Analytics MCP servers
Sourced benchmark with public verification prompts.
Google Analytics write safety
Reporting is read-only. createKeyEvent and deleteKeyEvent are inverses. archiveCustomDimension is irreversible and cannot reuse parameterName. Writes wait for approval. runScript never wraps mutations.
Connect Google Analytics to ChatGPT
Reporting is read-only. createKeyEvent and deleteKeyEvent are inverses. archiveCustomDimension is irreversible and cannot reuse parameterName. Writes wait for approval. runScript never wraps mutations.