PostHog MCP Server
Official PostHog MCP Server for product analytics, feature flags, experiments, and more.
Google Analytics 4 MCP server: 27 read tools, no write tools.
Wähle die KI-App, die du nutzt, und kopiere die Einstellungen.
3/3 Prüfungen bestanden · Läuft auf deinem Computer · ✓ Befehle geprüft am 14. Nov. 2026
Zuerst: Welche KI nutzt du?
Wähle deine App, dann erscheinen die Schritte unten.
Klappt mit Claude, aber erst etwas vorbereiten
Du brauchst einen Schlüssel von Google Analytics 4 (auf der Seite des Anbieters erstellen) · 2 Einstellung(en) auszufüllen (GA4_CLIENT_ID, GA4_PROPERTY_IDS) · Installiere zuerst Node.js auf deinem Computer (nur einmal) · Nur in der Claude-App für den Computer (Windows oder Mac), nicht im Web oder auf dem Handy
Nur einmal; gilt für alle Server, die Node.js brauchen
Öffne die Seite des Anbieters, registriere dich und erstelle einen API-Schlüssel für den nächsten Schritt. Preise und Gratis-Tarife siehst du auf seiner Seite.
Das sind Programmeinstellungen, keine Schlüssel. Keine Registrierung nötig; wie vom Autor beschrieben ausfüllen.
GA4_CLIENT_ID OAuth client ID.GA4_PROPERTY_IDS Comma-separated property IDs every tool is limited to. Optional in 2.x, required in 3.0.0.Die Beschreibungen sind noch im englischen Original.
SettingsDeveloperEdit Config
{
"mcpServers": {
"google-analytics": {
"command": "npx",
"args": [
"-y",
"@getmcpads/google-analytics-mcp-server"
],
"env": {
"GA4_CLIENT_ID": "your-value",
"GA4_CLIENT_SECRET": "your-value",
"GA4_REFRESH_TOKEN": "your-value",
"GA4_PROPERTY_IDS": "your-value"
}
}
}
}Füge den Schlüssel nur in das Feld der App ein, nie in einen Chat und schick ihn niemandem
Nutze Google Analytics 4 und sag mir, was du für mich tun kannst; zeig mir dann eine Sache✓ Wenn Claude sagt, dass es Google Analytics 4 nutzt, oder ein Werkzeug von Google Analytics 4 in der Antwort zeigt, bist du verbunden
Der Befehl oben funktioniert auch ohne diese Werte. Füge sie nur hinzu, wenn du etwas ändern willst, nach der Beschreibung des Autors.
GA4_PROPERTY_ID Default GA4 property ID.Die Beschreibungen sind noch im englischen Original.
Menünamen am 11. Nov. 2026 mit der Hilfe von Anthropic abgeglichen · dein Bildschirm kann je nach App-Version leicht abweichen
ChatGPT kann Google Analytics 4 noch nicht verbinden
Google Analytics 4 läuft auf deinem Computer, aber ChatGPT verbindet nur Server, die im Web laufen
A · Eine App nutzen, die Google Analytics 4 verbinden kann
B · Andere in Marketing & Social Media, die mit ChatGPT funktionieren
Aus den meistgenutzten derselben Kategorie, nur solche, die per Adresse ohne Schlüssel verbinden
Klappt mit Claude Code, aber erst etwas vorbereiten
Du brauchst einen Schlüssel von Google Analytics 4 (auf der Seite des Anbieters erstellen) · 2 Einstellung(en) auszufüllen (GA4_CLIENT_ID, GA4_PROPERTY_IDS) · Installiere zuerst Node.js auf deinem Computer (nur einmal)
Nur einmal; gilt für alle Server, die Node.js brauchen
Öffne die Seite des Anbieters, registriere dich und erstelle einen API-Schlüssel für den nächsten Schritt. Preise und Gratis-Tarife siehst du auf seiner Seite.
Das sind Programmeinstellungen, keine Schlüssel. Keine Registrierung nötig; wie vom Autor beschrieben ausfüllen.
GA4_CLIENT_ID OAuth client ID.GA4_PROPERTY_IDS Comma-separated property IDs every tool is limited to. Optional in 2.x, required in 3.0.0.Die Beschreibungen sind noch im englischen Original.
Mac: Command+Leertaste drücken und Terminal tippen · Windows: PowerShell öffnen
claude mcp add --scope user google-analytics --env GA4_CLIENT_ID=your-value --env GA4_CLIENT_SECRET=your-value --env GA4_REFRESH_TOKEN=your-value --env GA4_PROPERTY_IDS=your-value -- npx -y @getmcpads/google-analytics-mcp-serverErsetze „your-value“ vor dem Enter durch deinen Schlüssel
Füge den Schlüssel nur in das Feld der App ein, nie in einen Chat und schick ihn niemandem
Google Analytics 4 sollte in der Liste als verbunden erscheinen
Nutze Google Analytics 4 und sag mir, was du für mich tun kannst; zeig mir dann eine Sache✓ Wenn Claude Code sagt, dass es Google Analytics 4 nutzt, oder ein Werkzeug von Google Analytics 4 in der Antwort zeigt, bist du verbunden
Der Befehl oben funktioniert auch ohne diese Werte. Füge sie nur hinzu, wenn du etwas ändern willst, nach der Beschreibung des Autors.
GA4_PROPERTY_ID Default GA4 property ID.Die Beschreibungen sind noch im englischen Original.
Menünamen am 11. Nov. 2026 mit der Hilfe von Anthropic abgeglichen · dein Bildschirm kann je nach App-Version leicht abweichen
Klappt mit Cursor, aber erst etwas vorbereiten
Du brauchst einen Schlüssel von Google Analytics 4 (auf der Seite des Anbieters erstellen) · 2 Einstellung(en) auszufüllen (GA4_CLIENT_ID, GA4_PROPERTY_IDS) · Installiere zuerst Node.js auf deinem Computer (nur einmal)
Nur einmal; gilt für alle Server, die Node.js brauchen
Öffne die Seite des Anbieters, registriere dich und erstelle einen API-Schlüssel für den nächsten Schritt. Preise und Gratis-Tarife siehst du auf seiner Seite.
Das sind Programmeinstellungen, keine Schlüssel. Keine Registrierung nötig; wie vom Autor beschrieben ausfüllen.
GA4_CLIENT_ID OAuth client ID.GA4_PROPERTY_IDS Comma-separated property IDs every tool is limited to. Optional in 2.x, required in 3.0.0.Die Beschreibungen sind noch im englischen Original.
In den Einstellungen von Google Analytics 4 ist GA4_CLIENT_SECRET, GA4_REFRESH_TOKEN, GA4_CLIENT_ID, GA4_PROPERTY_IDS leer; trag deinen Schlüssel ein und speichere
Füge den Schlüssel nur in das Feld der App ein, nie in einen Chat und schick ihn niemandem
Nutze Google Analytics 4 und sag mir, was du für mich tun kannst; zeig mir dann eine Sache✓ Wenn Cursor sagt, dass es Google Analytics 4 nutzt, oder ein Werkzeug von Google Analytics 4 in der Antwort zeigt, bist du verbunden
Der Befehl oben funktioniert auch ohne diese Werte. Füge sie nur hinzu, wenn du etwas ändern willst, nach der Beschreibung des Autors.
GA4_PROPERTY_ID Default GA4 property ID.Die Beschreibungen sind noch im englischen Original.
Menünamen am 11. Nov. 2026 mit der Hilfe von Cursor abgeglichen · dein Bildschirm kann je nach App-Version leicht abweichen
Klappt mit VS Code, aber erst etwas vorbereiten
Du brauchst einen Schlüssel von Google Analytics 4 (auf der Seite des Anbieters erstellen) · 2 Einstellung(en) auszufüllen (GA4_CLIENT_ID, GA4_PROPERTY_IDS) · Installiere zuerst Node.js auf deinem Computer (nur einmal)
Nur einmal; gilt für alle Server, die Node.js brauchen
Öffne die Seite des Anbieters, registriere dich und erstelle einen API-Schlüssel für den nächsten Schritt. Preise und Gratis-Tarife siehst du auf seiner Seite.
Das sind Programmeinstellungen, keine Schlüssel. Keine Registrierung nötig; wie vom Autor beschrieben ausfüllen.
GA4_CLIENT_ID OAuth client ID.GA4_PROPERTY_IDS Comma-separated property IDs every tool is limited to. Optional in 2.x, required in 3.0.0.Die Beschreibungen sind noch im englischen Original.
VS Code fragt nach einer Bestätigung; klicke Install
In den Einstellungen von Google Analytics 4 ist GA4_CLIENT_SECRET, GA4_REFRESH_TOKEN, GA4_CLIENT_ID, GA4_PROPERTY_IDS leer; trag deinen Schlüssel ein und speichere
Füge den Schlüssel nur in das Feld der App ein, nie in einen Chat und schick ihn niemandem
Nutze Google Analytics 4 und sag mir, was du für mich tun kannst; zeig mir dann eine Sache✓ Wenn VS Code sagt, dass es Google Analytics 4 nutzt, oder ein Werkzeug von Google Analytics 4 in der Antwort zeigt, bist du verbunden
Der Befehl oben funktioniert auch ohne diese Werte. Füge sie nur hinzu, wenn du etwas ändern willst, nach der Beschreibung des Autors.
GA4_PROPERTY_ID Default GA4 property ID.Die Beschreibungen sind noch im englischen Original.
Menünamen am 11. Nov. 2026 mit der Hilfe von VS Code abgeglichen · dein Bildschirm kann je nach App-Version leicht abweichen
Andere Apps mit MCP, etwa Windsurf, Zed oder Gemini CLI, fügen Server unterschiedlich hinzu. Sieh in der App-Liste nach
JSON-Einstellungen stehen unten unter „Für Entwickler“
Claude Code
claude mcp add --scope user google-analytics --env GA4_CLIENT_ID=your-value --env GA4_CLIENT_SECRET=your-value --env GA4_REFRESH_TOKEN=your-value --env GA4_PROPERTY_IDS=your-value -- npx -y @getmcpads/google-analytics-mcp-serverClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"google-analytics": {
"command": "npx",
"args": [
"-y",
"@getmcpads/google-analytics-mcp-server"
],
"env": {
"GA4_CLIENT_ID": "your-value",
"GA4_CLIENT_SECRET": "your-value",
"GA4_REFRESH_TOKEN": "your-value",
"GA4_PROPERTY_IDS": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"google-analytics": {
"command": "npx",
"args": [
"-y",
"@getmcpads/google-analytics-mcp-server"
],
"env": {
"GA4_CLIENT_ID": "your-value",
"GA4_CLIENT_SECRET": "your-value",
"GA4_REFRESH_TOKEN": "your-value",
"GA4_PROPERTY_IDS": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"google-analytics": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@getmcpads/google-analytics-mcp-server"
],
"env": {
"GA4_CLIENT_ID": "your-value",
"GA4_CLIENT_SECRET": "your-value",
"GA4_REFRESH_TOKEN": "your-value",
"GA4_PROPERTY_IDS": "your-value"
}
}
}
}GA4_CLIENT_ID erforderlich envGA4_CLIENT_SECRET geheim erforderlich envGA4_REFRESH_TOKEN geheim erforderlich envGA4_PROPERTY_ID envGA4_PROPERTY_IDS erforderlich envDie Beschreibungen sind noch im englischen Original.
Diese Einstellungen werden aus dem Registry-Eintrag des Entwicklers erzeugt. Wenn in der README etwas anderes steht, folge der README.
npm: @getmcpads/google-analytics-mcp-serverBasierend darauf, wie sich dieser Server verbindet, und auf der eigenen Doku jeder App, geprüft am 10. Nov. 2026.
Laufen auf deinem Computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Läuft auf deinem Computer; die Tool-Liste erscheint nach der Installation in deiner KI-App.
Wir prüfen Informationen, die jeder sehen kann; den Code haben wir nicht gelesen. Checks, die nicht zutreffen, werden nicht mitgezählt. · Geprüft am 14. Nov. 2026
Der Registry-Name wurde über die Domain getmcpads.com bestätigt (die Registry prüft, wem die Domain gehört)
Code zuletzt geändert: vor 6 Tagen
Nutzt Apache-2.0
Dieser Server läuft auf deinem Computer; es gibt keinen Endpunkt im Internet
Läuft auf deinem Computer und nutzt stattdessen lokale Einstellungen
Läuft auf deinem Computer; Tool-Listen können wir nur von Endpunkten im Internet lesen
Fragen, Tipps teilen oder melden, dass etwas nicht geht. Sortiert nach „hilfreich“.
Noch keine Beiträge. Stell die erste Frage oder teile einen Tipp.
Beiträge hier stammen von Nutzern, nicht vom PopNx-Team.
Noch keine Bewertungen
Verglichen mit allen aktiven Servern dieser Kategorie in der Registry. Sterne zählen nur, wenn dem Herausgeber das Repo gehört.
Er hat 3 von 3 zutreffenden Basischecks bestanden. Den Code haben wir nicht gelesen. Bevor du einen Schlüssel oder Token hinzufügst, sieh nach, welche Zugriffe der Server verlangt, und nutze einen Schlüssel, der nur die Berechtigungen hat, die du brauchst.
Das musst du eintragen: GA4_CLIENT_SECRET, GA4_REFRESH_TOKEN
Er läuft auf deinem Computer. Deine KI-App startet ihn bei Bedarf, und die Daten laufen nicht über die Server des Entwicklers (außer der Server ruft selbst einen Onlinedienst auf).
Das GitHub-Repo wurde zuletzt vor 6 Tagen geändert, und die neueste Version (2.1.2) kam vor 6 Tagen in die Registry.
Apps, die MCP unterstützen, etwa Claude Desktop, Claude Code, Cursor und VS Code. Außerdem brauchst du Node.js auf deinem Computer.
In derselben Kategorie: PostHog MCP Server, Openshorts, Google Ads + Meta Ads + SEO/GEO MCP
Server derselben Kategorie von anderen Entwicklern, sortiert nach Sternen.
So liest du eine Karte:↓ Downloads pro Wochei★ GitHub-SterneiDrei Säulen: Bewertungen · Checks · NutzungiAktualisiert = neueste Version in der Registry veröffentlichti
Official PostHog MCP Server for product analytics, feature flags, experiments, and more.
Turn long videos into viral vertical shorts and publish them to TikTok, Instagram and YouTube.
Google Ads, Meta Ads, Google Analytics (GA4) & Search Console MCP server by Ryze AI
Unverändert aus dem Repo des Entwicklers übernommen. PopNx MCP hat den Inhalt weder geprüft noch empfiehlt es ihn. HTML, Bilder und Skripte wurden entfernt. Links führen von dieser Website weg.
Explore traffic, conversions, funnels and property configuration through a read-only MCP server.
Watch the film · What's new · Install · Tool reference · Try hosted getmcpads
[Play the 45-second film](https://www.getmcpads.com/home/film/get-mcp-ads-brand-film-1080p.mp4)
The film shows hosted getmcpads with sample data. Its MCP Apps, from creative galleries and alerts to Google Sheets exports and bulk launches, belong to the hosted product. This repository provides the standalone native API tools.
27 read tools · Read-only by design.
Run locally with your own platform credentials and a client that supports stdio MCP, such as Claude Desktop, Claude Code or Cursor. Your requests go directly to the platform. For managed connections, including supported ChatGPT setups, use the hosted option.
[v2.1.2: Maintainer metadata update](https://github.com/get-mcp-ads/google-analytics-mcp-server/releases/tag/v2.1.2) · November 8, 2026
package.json, the README and SOURCE_SYNC.md.Earlier releases
| Version | Date | Highlights |
|---|---|---|
| 2.1.1 | October 26, 2026 | Zod 4 security update |
| 2.1.0 | October 23, 2026 | Property allowlist and revoked-token handling |
| 2.0.1 | September 23, 2026 | Public repository restored |
| 2.0.0 | September 20, 2026 | Gateway sync and security fixes |
| 1.1.0 | September 13, 2026 | Platform capability sync and quality contracts |
| 1.0.2 | August 30, 2026 | Announce the package version over MCP. |
| 1.0.1 | August 30, 2026 | Add server.json and mcpName for the official MCP Registry, under com.getmcpads/google-analytics. |
| 1.0.0 | August 29, 2026 | First open-source release |
Source synchronization: SOURCE_SYNC.md.
Requires Node.js 22.23.4, 24.22.1 or 26.12.1, or a newer release of one of these lines. Older releases lack the October 2026 security fixes, and the server prints a warning on stderr when it starts on one. CI covers Node 22, 24 and 26.
This release makes no breaking change to the configuration. One change is announced for 3.0.0: GA4_PROPERTY_IDS is optional in 2.x and becomes required. When set, every tool is limited to the listed properties, and GA4_PROPERTY_ID must be one of them. When unset, the server starts as before and prints one line on stderr recommending it. The tools and their schemas are unchanged.
This is a GitHub source release. npm and MCP Registry versions are published separately. The commands below select this exact version; unpinned npx examples later in this document select the version currently available on npm.
git clone --branch v2.1.2 --depth 1 https://github.com/get-mcp-ads/google-analytics-mcp-server.git
cd google-analytics-mcp-server npm ci npm run build
Configure your MCP client to run node with the absolute path to dist/cli.js and the platform credentials documented below.
Prefer a managed connection? Use Google Analytics 4 with hosted getmcpads. Connect your account, select the data your assistant may access and use the hosted MCP connection. See the site for current features and plans.
| 27 read tools | Reports, pivots, funnels, realtime, plus the Admin API: properties, data streams, custom definitions, key events, audiences |
| Diagnostics | Ecommerce, BigQuery export, server-side tagging, audience exports, quota snapshots |
| 51 metrics, 62 dimensions | With a compatibility matrix that catches invalid combinations before they hit the API |
| 6 resources | Live catalogues the model can read: metrics, dimensions, compatibility rules, 12 workflow recipes |
| Identifier redaction | User, email and device identifiers redacted by default on access bindings and audience exports, with explicit opt-in to see them |
| No writes at all | Not a flag, a property of the code. See below |
GA4 rejects many metric and dimension combinations, and its errors rarely explain which pair is at fault. This server carries the compatibility matrix, so ga4_check_compatibility and ga4_validate_query let the model verify a combination before spending a call and a quota token on it.
Quotas matter here more than on ad platforms: GA4 charges tokens per property per day, and a few careless exploratory queries can exhaust them. ga4_get_property_quotas_snapshot shows what is left.
There are no write tools, and no environment variable that adds any. Every tool calls a read method of the Data API or the Admin API.
This is not caution for its own sake. A misread report is a wrong answer you can spot. A mistaken write to an analytics property, a deleted audience or an edited data stream, corrupts the record you use to judge everything else, and often silently. The other servers we publish do have write tools, guarded by a mandatory preview. This one has none.
Our ad platform servers with guarded writes: Meta Ads · Google Ads · TikTok Ads
Analytics data is not anonymous by default. A GA4 property can carry a userId you set yourself, a device identifier, or a Google Signals pseudonymous ID. An MCP conversation sends whatever a tool returns to a model.
Identifiers are redacted by default wherever this server can return them, and showing them is an explicit opt-in, never the default.
| Tool | Behaviour |
|---|---|
ga4_list_admin_resources | Access bindings have user and email identifiers redacted |
ga4_query_audience_export | Identifier columns redacted, matched against the export's own dimension metadata |
ga4_get_audience_export_diagnostics | Same redaction on the row sample |
Every one of these accepts includePersonalIdentifiers: true to return raw values, and defaults to false.
Audience export rows are positional, so the redaction reads the export's dimension metadata to find identifier columns. If that metadata is missing, every value in the row is redacted rather than guessing which column is safe. Failing closed is the point.
Report rows are not redacted. ga4_run_report and the other reporting tools return what you asked for. Altering the numbers a report returns would be worse than returning them.
So one decision stays yours: if your property carries a userId you consider personal, do not request it as a report dimension in a conversation whose transcript leaves your machine.
Three values, obtained once.
In a Google Cloud project, enable the Google Analytics Data API and the Google Analytics Admin API, then create an OAuth client under APIs & Services → Credentials. Choose Desktop app for local use. Note the client ID and client secret.
Run the OAuth consent flow once, signed in as a Google account with access to your GA4 properties, and keep the refresh token. The analytics.readonly scope is enough, and it is the only one you should grant.
📖 Google OAuth for installed apps
The refresh token does not expire. It is the sensitive value: anyone holding it can mint access tokens indefinitely. Use an OAuth client dedicated to this server so you can revoke it on its own.
Set GA4_PROPERTY_ID to avoid passing it on every call. Find it in GA4 under Admin → Property Settings, or list them with ga4_list_properties.
Run `ga4_health_check` as your first call. It verifies the credentials and lists the properties you can actually reach, without printing any secret.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": { "google-analytics": { "command": "npx", "args": ["-y", "@getmcpads/google-analytics-mcp-server"], "env": { "GA4_CLIENT_ID": "your-client-id", "GA4_CLIENT_SECRET": "your-client-secret", "GA4_REFRESH_TOKEN": "your-refresh-token", "GA4_PROPERTY_IDS": "123456789" } } } }
Restart Claude Desktop. Ask it: *"list my Google Analytics properties"*.
claude mcp add google-analytics --env GA4_CLIENT_ID=... --env GA4_CLIENT_SECRET=... --env GA4_REFRESH_TOKEN=... -- npx -y @getmcpads/google-analytics-mcp-server
.cursor/mcp.json in your project, same shape as the Claude Desktop config above.
git clone https://github.com/get-mcp-ads/google-analytics-mcp-server.git
cd google-analytics-mcp-server npm install && npm run build cp .env.example .env # then fill in your credentials npm start
| Variable | Default | Meaning |
|---|---|---|
GA4_CLIENT_ID | none | Required. OAuth client ID |
GA4_CLIENT_SECRET | none | Required. OAuth client secret |
GA4_REFRESH_TOKEN | none | Required. From the consent flow |
GA4_PROPERTY_ID | none | Optional default, saves passing it on every call |
GA4_PROPERTY_IDS | *unset* | Recommended. Comma-separated property IDs every tool is limited to. Unset, every property the credentials reach is available. Required in 3.0.0 |
LOG_LEVEL | info | debug, info, warn, error |
Check your setup at any time:
npm run doctor
Every tool is listed below. See server-card.json for complete parameter and output schemas.
27 read tools
| Tool | Purpose |
|---|---|
ga4_health_check | Read-only GA4 health check. |
ga4_list_properties | List all GA4 properties accessible with the current credentials. |
ga4_run_report | Run a GA4 analytics report with intelligent query planning. |
ga4_run_realtime_report | Run a read-only GA4 Data API realtime report. |
| ga4_get_metadata | Get the complete list of dimensions and metrics available for a specif