GA4 MCP Server
Provides access to Google Analytics 4 (GA4) data and functionality, enabling retrieval and analysis of website analytics data through the Google Analytics Data API and Admin API.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
GA4 MCP Server
Google ADK の UI を使って GA4 MCP サーバーを構築するためのリポジトリです。
必要な権限
Cloud Run Admin
Compute Load Balancer Admin
Editor
Logs Configuration Writer
Monitoring Editor
Service Account Admin
Service Account UserRelated MCP server: GA4 Analytics MCP V2
デプロイ手順
各種 API を有効化
Cloud Run API
Compute Engine API
Vertex AI API
Cloud Build API
Google Analytics Admin API
Google Analytics Data API
サービスアカウントの作成
ロール: Vertex AI ユーザー
GA4 アカウントもしくはプロパティでサービスアカウントに以下の権限を付与
役割: 閲覧者
対象: 作成したサービスアカウント
Artifact Registry にリポジトリを作成。Docker コンテナを push
Cloud Run にて新しいサービスを作成
Cloud Load Balancing にて新しいロードバランサを作成
必要であれば IP 制限
開発手順
以下のコマンドを実行し、https://www.googleapis.com/auth/analytics.readonly と https://www.googleapis.com/auth/cloud-platform の権限を付与した認証情報を取得。
gcloud auth application-default login \
--scopes https://www.googleapis.com/auth/analytics.readonly,https://www.googleapis.com/auth/cloud-platform ADK の UI を起動
adk web --reload_agents参考
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted, read-only Google Analytics 4 MCP: reports, period comparisons, realtime, custom fields.
Hosted MCP server for GA4, Google Ads and Search Console. Google OAuth, nothing to install.
Read-only Google Analytics 4 MCP server for AI assistants.
GA4, Google Ads and Search Console in Claude. Read-only OAuth, multi-account for agencies.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceEnables MCP clients to read Google Analytics 4 data, deployed as a Cloudflare Worker with service account authentication.2-
- FlicenseNot gradedqualityDmaintenanceMulti-operator Google Analytics 4 connector for Claude.ai Custom Connectors, hosted on Google Cloud Run, enabling authenticated GA4 reporting, property selection, and metadata queries via MCP tools.-
- FlicenseNot gradedqualityBmaintenanceEnables querying Google Analytics 4 properties, metadata, and reports—including realtime, overview, top pages, and traffic sources—through read-only per-user Google OAuth 2.1 authentication. It runs as its own OAuth resource/authorization server, keeping Google tokens encrypted and never exposed to the client.-
- AlicenseNot gradedqualityCmaintenanceEnables natural-language access to Google Analytics 4 properties and reports, including page views, users, events, traffic sources, device metrics, and custom reports, with automatic OAuth 2.0 authentication and token management.MIT