Google Analytics 4 MCP
A production-ready MCP connector for Google Analytics 4 that allows agents to discover accounts and properties, explore the live schema, and run reports via the Google Analytics API. It is part of a suite of connectors for popular SaaS tools.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Discover GA4 accounts and properties
- Explore the live schema
- Run reports via the Google Analytics API
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@mindstone/mcp-server-google-analytics 0.2.1
{
"version": "0.2.1",
"transport": "stdio",
"identifier": "@mindstone/mcp-server-google-analytics",
"runtimeHint": "npx",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "GOOGLE_APPLICATION_CREDENTIALS",
"format": "filepath",
"isRequired": true,
"description": "Absolute path to ADC or service-account JSON file"
},
{
"name": "GA4_PROPERTY_ID",
"format": "string",
"description": "Default GA4 property ID (e.g. 123456789)"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"google-analytics-4-mcp": {
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-google-analytics@0.2.1"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "<YOUR_GOOGLE_APPLICATION_CREDENTIALS>",
"GA4_PROPERTY_ID": "<YOUR_GA4_PROPERTY_ID>"
}
}
}
}Cline
{
"mcpServers": {
"google-analytics-4-mcp": {
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-google-analytics@0.2.1"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "<YOUR_GOOGLE_APPLICATION_CREDENTIALS>",
"GA4_PROPERTY_ID": "<YOUR_GA4_PROPERTY_ID>"
}
}
}
}VS Code
{
"servers": {
"google-analytics-4-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-google-analytics@0.2.1"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "<YOUR_GOOGLE_APPLICATION_CREDENTIALS>",
"GA4_PROPERTY_ID": "<YOUR_GA4_PROPERTY_ID>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"google-analytics-4-mcp": {
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-google-analytics@0.2.1"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "<YOUR_GOOGLE_APPLICATION_CREDENTIALS>",
"GA4_PROPERTY_ID": "<YOUR_GA4_PROPERTY_ID>"
}
}
}
}Let your agent find its tools
Find servers like Google Analytics 4 MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.