About Google Analytics MCP Server
Mirror of
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
mcp.json · Universal config
Run command
npx -y mcp-server-google-analyticsEnvironment variables to set
GOOGLE_CLIENT_EMAILGOOGLE_PRIVATE_KEYSecretGA_PROPERTY_IDLocal servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
5Saved tool list · updated 2w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| endDate | string | Yes | End date in YYYY-MM-DD format |
| metrics | array | Yes | Metrics to include in the report |
| startDate | string | Yes | Start date in YYYY-MM-DD format |
| dimensions | array | Yes | Dimensions to group by (e.g., page, country) |
| dimensionFilter | object | No | Filter for dimensions |
Details
The maintainer has not added details yet. Check the README in the repository.
Comments
Markdown supported
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.