Labsco
AST-Consulting logo

Google Analytics MCP Server

β˜… 6

from AST-Consulting

A structured interface for interacting with Google Analytics APIs, simplifying tasks like querying reports and managing properties.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedAccount requiredNeeds API keys

Google Analytics MCP Server

GA-MCP (Google Analytics Management Control Panel) is a lightweight Node.js package that provides developers with a structured interface to interact with Google Analytics APIs. It simplifies common GA tasks like querying analytics reports, managing properties, audiences, and moreβ€”making it ideal for data analysts, developers, and marketing teams looking to automate reporting and analytics workflows. MCP standard.

Features

  • Fetch and analyze GA performance data (sessions, users, pageviews, conversions)
  • Manage properties, data streams, and conversion events
  • Query custom dimensions and metrics
  • Access account hierarchies and property configurations
  • Export data for dashboards or further analysis
  • OAuth2 authentication with access and refresh tokens
  • Lightweight, secure, and highly configurable

MCP Tools

  • get_reports: Get analytics reports data for specified metrics and dimensions
  • list_accounts: List all Google Analytics accounts
  • list_properties: List properties for a Google Analytics account
  • list_data_streams: List data streams for a property
  • list_custom_dimensions: List custom dimensions for a property
  • list_custom_metrics: List custom metrics for a property
  • list_conversion_events: List conversion events for a property

Token Refresh

The MCP server automatically handles token refresh using the provided refresh token. If the access token expires, it will be automatically refreshed during API calls.

About AST Consulting

AST Consulting is a premier digital consulting firm specializing in FinOps, cloud optimization, AI/ML solutions, digital transformation, and performance marketing. With over 100 years of combined leadership experience and a portfolio impacting 50M+ businesses and 500M+ users, AST delivers measurable outcomes by blending strategic vision with deep technical expertise.

We developed ga-mcp as part of our commitment to empower marketers, analysts, and digital teams with tools that drive efficiency, transparency, and actionable insights. Whether optimizing cloud spend or automating analytics intelligence pipelines, AST builds solutions that scale.

πŸ‘‰ Visit us at www.astconsulting.in

ga-mcp