Tool connections (MCP)
Google Analytics MCP
Let an assistant read Google Analytics reports and realtime data you can access.
Install
Cursor MCP settingsConfiguration to paste
- Install pipx before running this command.
- A service account is required; check its available plan and permissions.
- Prepare your local credentials file and enter its real local path.
- Replace the placeholder values below before running or saving.
- Merge into the existing configuration; keep other tools and settings.
- Save the configuration, then restart or reload your assistant or editor.
Cursor MCP settings
Configuration file ~/.cursor/mcp.json
Replace these values: /ABSOLUTE/PATH/credentials.json · YOUR_GOOGLE_PROJECT_ID
{
"mcpServers": {
"analytics-mcp": {
"command": "pipx",
"args": [
"run",
"analytics-mcp"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "/ABSOLUTE/PATH/credentials.json",
"GOOGLE_PROJECT_ID": "YOUR_GOOGLE_PROJECT_ID"
}
}
}
}Requirements, costs and detailed steps
Google Analytics MCP setup documentation
Setup requirements have not been reviewed yet. Check the project’s setup guide.
Based on public documentation; not individually installed and tested here.
What is Google Analytics MCP?
Google's experimental MCP reads Analytics account details, properties and reports through the Admin and Data APIs. It suits website owners already using GA4. It requires Python 3.10 or later, enabled APIs and Google credentials with access to the relevant property. It uses read-only Analytics authorization and does not install tracking on your site. Assistant and related-service charges remain separate.
Google Analytics MCP use cases
- Read account and property details
- Retrieve traffic and funnel reports
- Query realtime reporting data
Official project & documentation
Alternatives to Google Analytics MCP for similar tasks
Compare plugins for similar tasks and check their setup requirements.
- DBHub — Connect an assistant to PostgreSQL, MySQL, SQLite and other SQL databases.
- Brave Search MCP — Add web, news, image and video search to an AI assistant.
- ClickHouse MCP — Let an assistant inspect ClickHouse tables and query analytical data.