GA4 MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GA4_PROPERTY_ID | No | Default GA4 property ID (can also be specified when running tools) | |
| GOOGLE_APPLICATION_CREDENTIALS | No | Path to the service account JSON key file (not required when using gcloud CLI authentication) |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_accountsA | GA4のアカウントとプロパティの一覧を取得します。どのプロパティIDを使うべきか確認する際に便利です。 |
| get_property_detailsC | 指定したGA4プロパティの詳細情報(名前、タイムゾーン、通貨など)を取得します。 |
| run_reportC | GA4の汎用レポートを実行します。任意のディメンションとメトリクスを指定して柔軟にデータを取得できます。 |
| run_realtime_reportC | リアルタイムレポートを実行し、現在のアクティブユーザー数などを取得します。 |
| get_metadataB | 利用可能なディメンションとメトリクスの一覧を取得します。run_reportで使える項目を確認できます。 |
| get_traffic_summaryB | 指定期間のトラフィック概要(PV数、ユーザー数、セッション数、直帰率など)を取得します。ダッシュボード的な使い方に最適です。 |
| get_top_pagesC | 人気ページのランキングを取得します。PV数、滞在時間、直帰率などを確認できます。 |
| get_traffic_sourcesC | 流入元(チャネル、ソース、メディアなど)の分析結果を取得します。 |
| get_device_breakdownB | デバイス別(PC/モバイル/タブレット)のアクセス内訳を取得します。OS別、ブラウザ別の情報も含まれます。 |
| get_geo_breakdownC | 地域別(国または市区町村)のアクセス分析結果を取得します。 |
| compare_periodsC | 2つの期間を比較します。前週比、前月比、前年同期比などの分析が可能です。 |
| get_landing_pagesC | ランディングページ(ユーザーが最初にアクセスしたページ)の分析結果を取得します。 |
| get_exit_pagesC | 離脱ページ(ユーザーが最後に見たページ)の分析結果を取得します。 |
| get_user_journeyB | 特定ページの前後に閲覧されるページを分析します。ユーザーの回遊パターンの把握に便利です。 |
| get_conversion_funnelC | コンバージョンファネルの分析を行います。各ステップの通過率や離脱率を確認できます。 |
| get_hourly_trafficB | 時間帯別のアクセス状況を分析します。投稿やキャンペーンのタイミング最適化に活用できます。 |
| get_daily_trendC | 日別のトレンドデータを取得します。グラフ作成やトレンド分析に使用できます。 |
| get_new_vs_returningC | 新規ユーザーとリピーターの比較分析を行います。それぞれのセッション数や滞在時間を確認できます。 |
| get_engagement_metricsC | エンゲージメント関連の詳細指標(エンゲージメント率、平均エンゲージメント時間など)を取得します。 |
| get_search_termsB | サイト内検索キーワードを分析します。GA4でサイト内検索が設定されている場合のみ有効です。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Shin-sibainu/ga4-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server