Google Analytics MCP Server

Created at 20 hours ago

by ruchernchong

starstarstarstarstar

Model Context Protocol server for Google Analytics, enabling LLMs to fetch and analyze web analytics data

Categories

research-and-data

Tags

mcp-server

google-analytics

web-analytics

Google Analytics MCP Server

what is Google Analytics MCP Server?

Google Analytics MCP Server is an implementation of the Model Context Protocol that allows users to access and analyze data from Google Analytics 4 (GA4) using a TypeScript SDK.

how to use Google Analytics MCP Server?

To use the server, set up a Google Cloud project, enable the Analytics Data API, create a service account, and configure it with the required environment variables. Start the server and integrate it with your Claude Desktop configuration.

key features of Google Analytics MCP Server?

  • Fetch customizable page view metrics
  • Track active and new users over time
  • Analyze specific events and their metrics
  • Monitor user behavior metrics, such as session duration and bounce rate
  • Flexible date range selection for all queries

use cases of Google Analytics MCP Server?

  1. Analyzing user engagement on a website over a specified period.
  2. Monitoring specific events, such as purchases and user sign-ups.
  3. Gathering insights into user acquisition and retention metrics.

FAQ from Google Analytics MCP Server?

  • What are the prerequisites for using this server?

You need Node.js 20 or higher, a Google Analytics 4 property, and credentials from a Google Cloud project with the Analytics Data API enabled.

  • Is there a specific configuration needed for Claude Desktop?

Yes, you'll need to add specific environment variables and configuration settings into the Claude Desktop setup to run the server.

  • Can I customize the metrics I want to retrieve?

Yes, you can customize the dimensions and metrics according to your analytics needs.

View More