Skip to main content
Glama

Google Analytics 4 MCP by InsightfulPipe

Server Details

Hosted Google Analytics 4 MCP server, with each action switched on or off per account.

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
OAuth
Works in Glama
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
Insightful-Pipe/google-analytics-mcp-server
GitHub Stars
0
Server Listing
Google Analytics 4 MCP Server
ChatGPT
–
Claude
–

TDQS

A3.7/5.0

Scored across 4 tools

Disambiguation2/5

execute_action and query_data have nearly identical descriptions ('Execute Google Analytics ... Step 3 FINAL') with the same body-dictionary contract, so an agent cannot tell which to call. Only prompts_menu and query_contexts have clearly distinct roles, but the two execution tools create a serious boundary problem.

Naming Consistency3/5

Three tools follow a verb_noun pattern (execute_action, query_contexts, query_data), but 'prompts_menu' breaks it as noun_noun. The set is still readable, but the mixed convention plus near-identical names (query_contexts vs query_data) reduces predictability.

Tool Count3/5

Four tools is thin for a GA4 surface (reporting, realtime, admin, discovery), and one of the four is effectively a duplicate, leaving only three real capabilities. The generic-dispatch design partially justifies the small count, but it is borderline under-scoped.

Completeness3/5

The discovery-then-execute pattern (accounts -> actions_details -> run) plus a prompts layer covers the read-only reporting lifecycle reasonably. However, arbitrary coverage relies entirely on undocumented dispatched actions, and there is no explicit handling for common gaps like metadata listing, error recovery, or property/account administration.

Available Tools

4 tools
execute_actionGA4 Execute ActionA
Destructive
Inspect

Execute Google Analytics actions (Step 3 FINAL).

Prerequisites: Run query_contexts with request='accounts' (includes available_requests) + request='actions_details' to understand the required payload.

IMPORTANT: The 'body' parameter is a dictionary that must contain ALL fields including:

  • action: Table/action name (e.g. 'runReport', 'runRealtimeReport')

  • workspace_id: Integer workspace ID

  • brand_id: Integer brand ID

  • property_id: GA4 property identifier

  • Any other fields from the helper response (filters, date ranges, dimensions, metrics, etc.)

Do NOT pass these as separate parameters - they must ALL be inside the body dictionary.

Inputs: body (required). Returns: object

prompts_menuGA4 PromptsA
Read-only
Inspect

Google Analytics skills (prompts). To run a skill the user names, find it by name with request='menu', then read it with request='prompt_details'.

  1. request='menu' – List public/system prompts (optionally pass workspace_id + prompt_type).

  2. request='prompt_details' – Fetch prompt body by prompt_id. Set is_custom=True + workspace_id for workspace prompts.

Inputs: request (required), is_custom, prompt_id, prompt_type, +1 more. Returns: object

query_contextsGA4 Setup HelperA
Read-only
Inspect

Helper for planning InsightfulPipe Google Analytics data queries.

Step 1: request='accounts' – Retrieve workspace_id, brand_id, property_id, other source metadata, AND available_requests (all tables you can query).

Step 2: request='actions_details' with actions=['table_a', 'table_b'] – REQUIRED before querying. Returns the exact request body, required identifiers, fields, time ranges, and notes for each action.

Optional: request='available_actions' – Standalone call to list all available tables/actions (already included in accounts response).

Optional: request='brands' with brand_id + workspace_id to pull brand guidelines.

Inputs: request (required), actions, brand_id, platform, +2 more. Returns: object

query_dataGA4 Data QueryA
Read-only
Inspect

Execute Google Analytics data queries (Step 3 FINAL).

Prerequisites: Run query_contexts with request='accounts' (includes available_requests) + request='actions_details' to understand the required payload.

IMPORTANT: The 'body' parameter is a dictionary that must contain ALL fields including:

  • action: Table/action name (e.g. 'runReport', 'runRealtimeReport')

  • workspace_id: Integer workspace ID

  • brand_id: Integer brand ID

  • property_id: GA4 property identifier

  • Any other fields from the helper response (filters, date ranges, dimensions, metrics, etc.)

Do NOT pass these as separate parameters - they must ALL be inside the body dictionary.

Inputs: body (required). Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      MCP server for Google Tag Manager and GA4, enabling tag management, consent auditing, workspace versioning, and analytics reporting through natural language.
      11
      321 npm
      3
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A GCP-hosted MCP server for Google Analytics GA4 where each user logs in with their own Google account and queries are scoped to that user's permissions.
      Apache 2.0
    • A
      license
      B
      quality
      C
      maintenance
      MCP server for Google Analytics 4 and Google Tag Manager with read and write access, providing 40 tools to manage GA4 reports, audiences, and GTM tags, triggers, and variables via natural language.
      40
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Google Analytics 4 MCP server with local STDIO and shared team Cloud Run modes, realtime visitor counts, metadata discovery, and funnel analysis.
      10
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.