Google Analytics
Read GA4 traffic, top pages, sources and live visitors from an assistant, read-only
- Platforms
- API
- Runs
- Remotely
- Version
- 1.0.4
- Listing updated
- 4 days ago
Similar MCP servers
About Google Analytics
Google Analytics is an MCP server for analytics and data. It runs as a hosted remote server, so there is nothing to install locally.
This Portuguese-language connector by Ciro Cesar Maciel reads Google Analytics 4 properties through a Google sign-in. The access scope is analytics.readonly, which allows viewing reports and settings but never changing anything, and the connector also receives the user's email to know who connected.
Seven tools cover the common questions. One lists the accounts and properties the user can see, another runs a free-form report with any mix of dimensions and metrics, date range, filter and order, and a third compares the current period with the previous one and shows each metric's change. There are also tools for most-viewed pages with engagement time and key events, traffic by channel and source or medium, a realtime view of visitors in the last 30 minutes, and a list of valid dimension and metric names including custom ones.
The page's example answers where traffic came from in the last 28 days with sessions, change and key events per channel, and notes that figures shown are illustrative. Data passes from Google to the assistant and is said not to be stored, sold or used for training.
Install
Run in a terminal
claude mcp add --transport http google-analytics https://google-analytics.mcp.myagents.click/mcpAdd to Settings → Connectors → Add custom connector
https://google-analytics.mcp.myagents.click/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"google-analytics": {
"url": "https://google-analytics.mcp.myagents.click/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"google-analytics": {
"type": "http",
"url": "https://google-analytics.mcp.myagents.click/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"google-analytics": {
"serverUrl": "https://google-analytics.mcp.myagents.click/mcp"
}
}
}Add to Grok Bot desktop app → Connect apps → Add a custom connector
https://google-analytics.mcp.myagents.click/mcpEnter a Name (for example "Google Analytics"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.
Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"google-analytics": {
"type": "http",
"url": "https://google-analytics.mcp.myagents.click/mcp"
}
}
}Using several servers? Build one config file with the MCP config generator.
Tools this server provides (7)
Taken from the project documentation; the running server may differ.
- list_properties
- Lists GA4 accounts and properties the user can access.
- run_report
- Runs a free-form report with chosen dimensions, metrics, filters and ordering.
- compare_periods
- Compares the current period with the previous one.
- top_pages
- Lists the most viewed pages with users, engagement time and key events.
- traffic_sources
- Breaks traffic down by channel and source or medium.
- realtime
- Shows visitors in the last 30 minutes and where they are.
- list_metrics
- Lists valid dimension and metric names, including custom ones.
What it does
- Property discovery
- Lists the GA4 accounts and properties your Google account can reach.
- Free-form reports
- Runs any dimension and metric combination with filters, dates and ordering.
- Period comparison
- Sets the current period against the previous one with change per metric.
- Top pages
- Ranks pages by views with users, engagement time and key events.
- Traffic sources
- Breaks traffic down by channel and source or medium.
- Realtime view
- Shows who is on the site in the last 30 minutes and where.
Good for
- Ask where traffic came from over the last 28 days
- Find which pages earn the most engagement
- Compare this month's sessions with last month's
- Look up the exact names of custom dimensions before building a report
Google Analytics FAQ
Can it change my Analytics settings?
No. The scope is analytics.readonly, so it only views reports and settings.
How many tools are there?
Seven, all read-only.
What does it sign in with?
A Google login with access to your GA4 properties.
Is my data stored?
The page says data only passes through to your assistant and is not stored, sold or used for training.
How do I add Google Analytics to Claude Code?
Run this command in your terminal: claude mcp add --transport http google-analytics https://google-analytics.mcp.myagents.click/mcp
What are the best alternatives to Google Analytics?
The closest alternatives to Google Analytics are Vosik Signals Google Analytics 4, GA4 Analytics MCP, Site Insights by KKV Labs, QuerySail: Google Analytics and Tag Pilot GA4.
Where this comes from
- Description: written from the project's website.
- Install steps: from the official MCP Registry entry.