Koskamo

mcp-ga4

An MCP server that enables querying Google Analytics 4 using natural language. It supports running reports, accessing realtime data, managing custom dimensions and metrics, handling data streams, and property management. The server integrates with Claude and supports both service account and OAuth authentication methods.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

mcp-ga4 logo, by mharnettCommunity listingLocal stdioSource reviewed; not executedPublished by mharnett
You need:The service account must be granted access on the GA4 property (Admin → Property Access Management → add the service-account email with at least Viewer).npm install mcp-ga4
Vendor documentation

What you can do with it

  • Query Google Analytics 4 reports using natural language
  • Access realtime data from GA4 properties
  • Manage custom dimensions and metrics
  • Handle data streams and property management

Source and maintenance

Community listingRegistry 2.0.1MIT
Last repository push
Latest release
v2.3.1
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

mcp-ga4 2.0.1

npm
mcp-ga4 package definition
{
  "version": "2.0.1",
  "transport": "stdio",
  "identifier": "mcp-ga4",
  "registryType": "npm",
  "environmentVariables": [
    {
      "name": "GA4_PROPERTY_ID",
      "isRequired": true,
      "description": "GA4 property ID (numeric)"
    },
    {
      "name": "GOOGLE_APPLICATION_CREDENTIALS",
      "isRequired": true,
      "description": "Path to service account JSON credentials file"
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · repository · passed · metadata changed · updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "mcp-ga4": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-ga4@2.0.1"
      ],
      "env": {
        "GA4_PROPERTY_ID": "<YOUR_GA4_PROPERTY_ID>",
        "GOOGLE_APPLICATION_CREDENTIALS": "<YOUR_GOOGLE_APPLICATION_CREDENTIALS>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "mcp-ga4": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-ga4@2.0.1"
      ],
      "env": {
        "GA4_PROPERTY_ID": "<YOUR_GA4_PROPERTY_ID>",
        "GOOGLE_APPLICATION_CREDENTIALS": "<YOUR_GOOGLE_APPLICATION_CREDENTIALS>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "mcp-ga4": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-ga4@2.0.1"
      ],
      "env": {
        "GA4_PROPERTY_ID": "<YOUR_GA4_PROPERTY_ID>",
        "GOOGLE_APPLICATION_CREDENTIALS": "<YOUR_GOOGLE_APPLICATION_CREDENTIALS>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "mcp-ga4": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-ga4@2.0.1"
      ],
      "env": {
        "GA4_PROPERTY_ID": "<YOUR_GA4_PROPERTY_ID>",
        "GOOGLE_APPLICATION_CREDENTIALS": "<YOUR_GOOGLE_APPLICATION_CREDENTIALS>"
      }
    }
  }
}

Let your agent find its tools

Find servers like mcp-ga4 from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.