google-analytics-mcp

google-analytics-mcp

3.6

If you are the rightful owner of google-analytics-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

Google Analytics MCP Server connects Google Analytics 4 data to Claude, Cursor, and other MCP clients, enabling natural language queries on website traffic and analytics data.

The Google Analytics MCP Server is a powerful tool designed to bridge the gap between Google Analytics 4 (GA4) data and various Model Context Protocol (MCP) clients such as Claude and Cursor. By leveraging this server, users can query their website traffic, user behavior, and analytics data using natural language, making it accessible to those without technical expertise. The server supports over 200 GA4 dimensions and metrics, providing comprehensive insights into user interactions and website performance. It is particularly useful for businesses and analysts who need to make data-driven decisions based on real-time analytics. The server is compatible with Python 3.10 or higher and requires a Google Analytics 4 property with data, as well as a service account with Analytics Reporting API access. This setup ensures secure and efficient data retrieval and analysis.

Features

  • Natural Language Queries: Allows users to query GA4 data using natural language, simplifying data analysis.
  • Comprehensive Data Access: Supports over 200 GA4 dimensions and metrics for in-depth analysis.
  • Compatibility: Works with Claude, Cursor, and other MCP clients for versatile data integration.
  • Secure Access: Utilizes service accounts with Analytics Reporting API access for secure data handling.
  • Customizable: Offers flexible configuration options to suit different user needs and environments.

Tools

  1. get_ga4_data

    Retrieve GA4 data with custom dimensions and metrics.

  2. list_dimension_categories

    Browse available dimension categories.

  3. list_metric_categories

    Browse available metric categories.

  4. get_dimensions_by_category

    Get dimensions for a specific category.

  5. get_metrics_by_category

    Get metrics for a specific category.