mcp-server-google-analytics
Model Context Protocol server for Google Analytics, enabling LLMs to fetch and analyze web analytics data
GitHub Stars
68
User Rating
Not Rated
Favorites
0
Views
32
Forks
15
Issues
2
Installation
Difficulty
BeginnerEstimated Time
5-10 minutes
Installation
Installation
Prerequisites
Please specify required software and versions:Node.js: 20 or higher
Google Analytics 4 property
Google Cloud project with Analytics Data API enabled
Service account credentials with appropriate permissions
Installation Steps
1. Install via Smithery
bash
npx -y @smithery/cli install mcp-server-google-analytics --client claude
2. Manual Installation
bash
pnpm install mcp-server-google-analytics
3. Set Environment Variables
bash
export GOOGLE_CLIENT_EMAIL="your-service-account@project.iam.gserviceaccount.com"
export GOOGLE_PRIVATE_KEY="your-private-key"
export GA_PROPERTY_ID="your-ga4-property-id"