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.
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
- 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
{
"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.
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.
Cursor
{
"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
{
"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
{
"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
{
"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.