Description

Google Analytics Data API server that enables AI assistants to retrieve analytics data through a standardized interface. Built with TypeScript, it provides tools for running standard and realtime reports with configurable metrics, dimensions and date ranges, while handling authentication via service accounts. Particularly valuable for marketers and analysts who need to access Google Analytics 4 data and metrics directly through conversational AI without manual API configuration.

Installation

git clone https://github.com/eno-graph/mcp-server-google-analytics

Claude Desktop Configuration

Add this configuration to your Claude Desktop config file to enable this MCP server:

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json

Config file location: %APPDATA%\Claude\claude_desktop_config.json

Config file location: ~/.config/Claude/claude_desktop_config.json

claude_desktop_config.json
{
  "mcpServers": {
    "google-analytics": {
      "command": "node",
      "args": [
        "path/to/server.js"
      ]
    }
  }
}