Ruchernchong MCP Server Google Analytics
R

Ruchernchong MCP Server Google Analytics

A Google Analytics 4 data access server based on the Model Context Protocol, providing functions such as page views, user activity, event analysis, and user behavior monitoring.
2 points
9.4K

What is the Google Analytics MCP Server?

This is an MCP server implementation specifically designed for Google Analytics 4 (GA4), allowing users to access GA4 data through a standardized protocol without directly dealing with complex API calls. It simplifies the process of obtaining website analysis data, especially suitable for scenarios where analysis data needs to be integrated into other systems.

How to use the Google Analytics MCP Server?

Before use, you need to configure the Google Cloud project and service account permissions. After installation, various types of analysis data, such as page views and user behavior, can be obtained through simple JSON requests. The server will automatically handle complex interactions with the Google Analytics API after running.

Use cases

Suitable for business scenarios that require regular acquisition of website analysis data, such as marketing analysis, user behavior tracking, and content effectiveness evaluation. Particularly suitable for enterprises that need to integrate analysis data with other business systems.

Main Features

Page Views Statistics
Get page view data within a specified date range, supporting grouping by dimensions such as page and country.
User Tracking
Track the changing trends of the number of active and new users.
Event Analysis
Analyze indicator data of specific events (e.g., purchases).
User Behavior Metrics
Get user behavior metrics such as session duration and bounce rate.
Flexible Date Range
Support custom date range queries for all types of data.
Advantages
Simplifies the complex calling process of the GA4 API
Provides a standardized data access interface
Supports flexible combinations of dimensions and indicators
Easy to integrate into existing systems
Limitations
Requires Google Cloud project and service account configuration
Data processing delay depends on the GA4 API
Some advanced analysis functions may require direct use of the GA4 interface

How to Use

Environment Preparation
Ensure that Node.js 20 or a higher version is installed, and prepare a Google Cloud project and GA4 property.
Set Environment Variables
Configure service account credentials and GA4 property ID.
Install the Server
Install the MCP server using a package manager.
Start the Server
Run the server to prepare to receive requests.

Usage Examples

Analyze Marketing Campaign Effectiveness
Compare page views and user engagement during a marketing campaign with normal times.
Track User Retention
Analyze the proportion of new users converted into active users.
Optimize Key Conversion Paths
Analyze the conversion rate of each step in the purchase process.

Frequently Asked Questions

How to obtain Google Cloud service account credentials?
Why does the data returned by the query differ from that shown on the GA4 interface?
What combinations of dimensions and indicators are supported?
How to ensure data security?

Related Resources

Google Analytics Data API Documentation
Official API documentation, including all available dimensions and indicators.
GitHub Repository
Project source code and issue tracking.
Model Context Protocol Introduction
Official documentation of the MCP protocol.

Installation

Copy the following command to your Client for configuration
{
  "mcpServers": {
    "google-analytics": {
      "command": "npx",
      "args": ["-y", "mcp-server-google-analytics"],
      "env": {
        "GOOGLE_CLIENT_EMAIL": "your-service-account@project.iam.gserviceaccount.com",
        "GOOGLE_PRIVATE_KEY": "your-private-key",
        "GA_PROPERTY_ID": "your-ga4-property-id"
      }
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

K
Klavis
Klavis AI is an open-source project that provides a simple and easy-to-use MCP (Model Context Protocol) service on Slack, Discord, and Web platforms. It includes various functions such as report generation, YouTube tools, and document conversion, supporting non-technical users and developers to use AI workflows.
TypeScript
9.4K
5 points
S
Scrapling
Scrapling is an adaptive web scraping library that can automatically learn website changes and re - locate elements. It supports multiple scraping methods and AI integration, providing high - performance parsing and a developer - friendly experience.
Python
7.9K
5 points
A
Apple Health MCP
An MCP server for querying Apple Health data via SQL, implemented based on DuckDB for efficient analysis, supporting natural language queries and automatic report generation.
TypeScript
10.7K
4.5 points
M
MCP Server Airbnb
Certified
MCP service for Airbnb listing search and details query
TypeScript
13.6K
4 points
F
Firecrawl MCP Server
The Firecrawl MCP Server is a Model Context Protocol server integrating Firecrawl's web - scraping capabilities, providing rich web - scraping, searching, and content - extraction functions.
TypeScript
66.2K
5 points
R
Rednote MCP
RedNote MCP is a tool that provides services for accessing Xiaohongshu content. It supports functions such as authentication management, keyword - based note search, and command - line initialization, and can access note content via URL.
TypeScript
12.4K
4.5 points
P
Perplexity MCP
Certified
An MCP server based on the Perplexity AI API, providing web search functionality for the Claude desktop client.
Python
15.7K
4.1 points
E
Exa Web Search
Certified
The Exa MCP Server is a server that provides web search capabilities for AI assistants (such as Claude), enabling real-time and secure web information retrieval through the Exa AI Search API.
TypeScript
27.5K
5 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
14.8K
4.5 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
24.8K
5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
15.6K
4.3 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
43.6K
4.3 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
20.3K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
45.7K
4.5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
15.0K
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
29.4K
4.8 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIBase