mcp-server-google-analytics

mcp-server-google-analytics

3.5

If you are the rightful owner of mcp-server-google-analytics 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.

An MCP server implementation for accessing Google Analytics 4 (GA4) data, built using the Model Context Protocol TypeScript SDK.

The Google Analytics MCP Server is a robust implementation designed to facilitate access to Google Analytics 4 (GA4) data using the Model Context Protocol TypeScript SDK. This server allows developers to efficiently retrieve and analyze various metrics from GA4, such as page views, user activity, and event tracking. It is built to support flexible queries with customizable dimensions and date ranges, making it a versatile tool for data analysis. The server requires a Google Cloud project with the Analytics Data API enabled and appropriate service account credentials. It is compatible with Node.js 20 or higher and can be installed via Smithery or manually using pnpm. The server is designed with security in mind, encouraging the use of environment variables for sensitive information and adhering to best practices for permissions and API usage.

Features

  • Get page view metrics with customizable dimensions
  • Track active and new users over time
  • Analyze specific events and their metrics
  • Monitor user behavior metrics (session duration, bounce rate)
  • Flexible date range selection for all queries