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.6K

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

P
Paperbanana
Python
7.0K
5 points
F
Finlab Ai
FinLab AI is a quantitative financial analysis platform that helps users discover excess returns (alpha) in investment strategies through AI technology. It provides a rich dataset, backtesting framework, and strategy examples, supporting automated installation and integration into mainstream AI programming assistants.
7.4K
4 points
A
Apify MCP Server
The Apify MCP Server is a tool based on the Model Context Protocol (MCP) that allows AI assistants to extract data from websites such as social media, search engines, and e-commerce through thousands of ready-to-use crawlers, scrapers, and automation tools (Apify Actors). It supports OAuth and Skyfire proxy payment and can be integrated into MCP clients such as Claude and VS Code through HTTPS endpoints or local stdio.
TypeScript
6.7K
5 points
P
Praisonai
PraisonAI is a production-ready multi-AI agent framework with self-reflection capabilities, designed to create AI agents to automate the solution of various problems from simple tasks to complex challenges. It simplifies the construction and management of multi-agent LLM systems by integrating PraisonAI agents, AG2, and CrewAI into a low-code solution, emphasizing simplicity, customization, and effective human-machine collaboration.
Python
9.5K
5 points
M
Maverick MCP
MaverickMCP is a personal stock analysis server based on FastMCP 2.0, providing professional level financial data analysis, technical indicator calculation, and investment portfolio optimization tools for MCP clients such as Claude Desktop. It comes pre-set with 520 S&P 500 stock data, supports multiple technical analysis strategies and parallel processing, and can run locally without complex authentication.
Python
11.3K
4 points
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
21.7K
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
14.7K
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
12.9K
4.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
21.8K
4.5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
72.8K
4.3 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
36.2K
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
25.1K
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#
33.1K
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
65.9K
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
21.3K
4.5 points
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
98.0K
4.7 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2026AIBase