Research & Data · Marketing

MCP Server Google Analytics logo

MCP Server Google Analytics

ruchernchong/mcp-server-google-analytics

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

Install

npx -y mcp-server-google-analytics

Client configuration

{
  "mcpServers": {
    "google-analytics": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-google-analytics"
      ],
      "env": {
        "GOOGLE_CLIENT_EMAIL": "<GOOGLE_CLIENT_EMAIL>",
        "GOOGLE_PRIVATE_KEY": "<GOOGLE_PRIVATE_KEY>",
        "GA_PROPERTY_ID": "<GA_PROPERTY_ID>"
      }
    }
  }
}

Environment variables

GOOGLE_CLIENT_EMAILGOOGLE_PRIVATE_KEYGA_PROPERTY_ID
GitHub stars
21
Category
Research & Data, Marketing
License
MIT
Updated
Oct 6, 2026

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

Tools (5)

  • runReport

    Run a flexible report to get analytics data.

  • getPageViews

    Get page view metrics for a specific date range:

  • getActiveUsers

    Get active users metrics:

  • getEvents

    Get event metrics:

  • getUserBehavior

    Get user behavior metrics:

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS

Related MCP servers

More servers
Firecrawl MCP Server logo

Firecrawl MCP Server

mendableai/firecrawl-mcp-server

2.8k

A Model Context Protocol (MCP) server that brings Firecrawl to MCP-compatible AI agents — search, scrape, and interact with the live web for clean, agent-ready context.

Research & Data
Exa Web Search logo

Exa Web Search

exa-labs/exa-mcp-server

1.4k

Connect AI agents to Exa for web search, content fetching, and multi-step research.

Research & Data
ArXiv logo

ArXiv

blazickjp/arxiv-mcp-server

1k

A local MCP server for agent literature work. The differentiator is original-LaTeX section reads, BibTeX from arXiv metadata, and topic watches. Papers stay on disk.

Research & Data
sail logo

sail

lakehq/sail

730

Sail is a drop-in Apache Spark replacement written in Rust, unifying batch processing, stream processing, and compute-intensive AI workloads on a distributed, multimodal compute engine.

Research & Data

OpenAPI Proxy

janwilmake/openapi-mcp-server

554

A Model Context Protocol (MCP) server for Claude/Cursor that enables searching and exploring OpenAPI specifications through oapis.org.

Research & Data
Excel MCP Server logo

Excel MCP Server

haris-musa/excel-mcp-server

393

A Model Context Protocol server that lets AI assistants create, read and edit Excel workbooks. It needs no Microsoft Excel installation.

Research & Data