mcpField
G
Google Analytics MCP Server

Google Analytics MCP Server

Local
github.com/MCP-MirrorData & Analytics0

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
{
"mcpServers": {
"ruchernchong_mcp-server-google-analytics": {
"command": "npx",
"args": [
"-y",
"mcp-server-google-analytics"
],
"env": {
"GOOGLE_CLIENT_EMAIL": "<GOOGLE_CLIENT_EMAIL>",
"GOOGLE_PRIVATE_KEY": "<GOOGLE_PRIVATE_KEY>",
"GA_PROPERTY_ID": "<GA_PROPERTY_ID>"
}
}
}
}
Run commandnpx -y mcp-server-google-analytics
Environment variables to set
GOOGLE_CLIENT_EMAIL
GOOGLE_PRIVATE_KEYSecret
GA_PROPERTY_ID

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmmcp-server-google-analytics

Tools

5

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
endDatestringYesEnd date in YYYY-MM-DD format
metricsarrayYesMetrics to include in the report
startDatestringYesStart date in YYYY-MM-DD format
dimensionsarrayYesDimensions to group by (e.g., page, country)
dimensionFilterobjectNoFilter 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.