G

Google Analytics

Query GA4 reports and realtime data.

·No reviews yet
Repo
Share:

About

Auto-generated

Google Analytics is a Model Context Protocol server in the Analytics & Monitoring category. It lets AI assistants that speak MCP call its tools and read its resources over STDIO.

Example tools

Illustrative tool names — the actual tool set is defined by the server at runtime.

list_resources
Enumerate resources exposed by this MCP
get_resource
Fetch a resource by ID
invoke
Invoke the primary action of this MCP

Screenshots

No screenshots yet.

Frequently Asked Questions

Common questions about Google Analytics.

What does the Google Analytics MCP allow me to do?
This MCP enables users to query Google Analytics 4 (GA4) reports and access real-time data directly. It provides an interface to retrieve analytics information from your GA4 properties.
How do I authenticate with the Google Analytics MCP?
Authentication for the Google Analytics MCP uses OAuth. You will need to configure OAuth credentials, typically through the Google Cloud Console, and authorize access when connecting with a client.
Does this MCP require any specific credentials or API keys?
Yes, this MCP requires OAuth credentials to access Google Analytics data. You will need to set up an OAuth client ID and client secret within your Google Cloud project associated with your GA4 properties.
Can I use this MCP to get real-time Google Analytics data?
Yes, the Google Analytics MCP is designed to provide access to real-time data from your GA4 properties. You can retrieve current user activity and other real-time metrics.
Is there a cost associated with using the Google Analytics MCP?
The MCP itself is community-provided and open source. However, standard Google Analytics API quotas and potential costs for exceeding free tier usage of Google Cloud services would apply if applicable.
What is a common prerequisite for using the Google Analytics MCP?
A primary prerequisite is having an active Google Analytics 4 property correctly configured and collecting data. Access to the associated Google Cloud project for OAuth credential setup is also necessary.

Install Google Analytics

Claude Desktop

Add this to claude_desktop_config.json.

{
  "mcpServers": {
    "google-analytics": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-google-analytics"
      ]
    }
  }
}

Cursor

Add this to ~/.cursor/mcp.json.

{
  "mcpServers": {
    "google-analytics": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-google-analytics"
      ]
    }
  }
}

VS Code

Add this to your workspace settings.json.

{
  "mcp.servers": {
    "google-analytics": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-google-analytics"
      ]
    }
  }
}

Reviews

Sign in to leave a review.

No reviews yet. Be the first!

Discussion(0)

Sign in to join the discussion.

No comments yet.