Google Analytics Data API MCP Server
@mattcoatsworth
About Google Analytics Data API MCP Server
No overview available yet
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Google Analytics Data API MCP Server?
A Model Context Protocol (MCP) server for interacting with the Google Analytics Data API v1. It provides tools and resources for querying Google Analytics data, managing audiences, and accessing metadata.
How to use Google Analytics Data API MCP Server?
Configure the server by creating a .env file with GOOGLE_CLIENT_EMAIL, GOOGLE_PRIVATE_KEY, and DEFAULT_PROPERTY_ID. Install dependencies with npm install, then start the server using npm start or test with npm run inspect.
Key features of Google Analytics Data API MCP Server
- Run standard and pivot reports (single or batch)
- Create, list, update, and delete audiences
- Check compatibility between dimensions and metrics
- Access metadata about dimensions and metrics
- Browse dimensions and metrics by category
- Expose property, report, and audience resources via URIs
Use cases of Google Analytics Data API MCP Server
- Running custom reports on GA4 data with specified dimensions and metrics
- Creating and managing audience segments for marketing
- Batch-running multiple reports in a single request
- Exploring available dimensions, metrics, and their compatibility
- Automating audience lifecycle (create, read, update, delete) from tools like Claude
FAQ from Google Analytics Data API MCP Server
What are the prerequisites to run this server?
Node.js 14 or higher, a Google Analytics 4 property, and a Google Cloud service account with appropriate permissions.
How do I configure the server?
Create a .env file with three variables: GOOGLE_CLIENT_EMAIL, GOOGLE_PRIVATE_KEY, and DEFAULT_PROPERTY_ID. The property ID must use the format properties/123456789.
What tools does the server expose?
Eleven tools covering reporting (runReport, batchRunReports, runPivotReport, batchRunPivotReports), metadata (getMetadata, checkCompatibility), and audience management (createAudience, listAudiences, getAudience, deleteAudience, updateAudience).
What resources (URIs) are available?
Resources include ga://property/{propertyId}, ga://report/…, ga://metadata, ga://dimensions[/category], ga://metrics[/category], and ga://audiences/{propertyId}[/{audienceId}].
What is the license for this server?
The project is licensed under the MIT license.
Frequently asked questions
What are the prerequisites to run this server?
Node.js 14 or higher, a Google Analytics 4 property, and a Google Cloud service account with appropriate permissions.
How do I configure the server?
Create a `.env` file with three variables: `GOOGLE_CLIENT_EMAIL`, `GOOGLE_PRIVATE_KEY`, and `DEFAULT_PROPERTY_ID`. The property ID must use the format `properties/123456789`.
What tools does the server expose?
Eleven tools covering reporting (`runReport`, `batchRunReports`, `runPivotReport`, `batchRunPivotReports`), metadata (`getMetadata`, `checkCompatibility`), and audience management (`createAudience`, `listAudiences`, `getAudience`, `deleteAudience`, `updateAudience`).
What resources (URIs) are available?
Resources include `ga://property/{propertyId}`, `ga://report/…`, `ga://metadata`, `ga://dimensions[/category]`, `ga://metrics[/category]`, and `ga://audiences/{propertyId}[/{audienceId}]`.
What is the license for this server?
The project is licensed under the MIT license.
Basic information
More Data & Analytics MCP servers

Grabbit MCP
GrabbitRemote MCP server that helps AI agents find Reddit buyer-intent threads, check subreddit rules, read full conversations, and manage human-reviewed lead workflows.

Kinetic Pricing
Kinetic PricingKinetic Pricing lets you run pricing research with your own customers and manage the work around each decision. Create Van Westendorp, Gabor-Granger, MaxDiff, and choice-based conjoint studies; preview and launch surveys

Bounce Watch - Company Signal Intelligence
bouncewatchBounce Watch tells you what just changed at a company, and when. Who raised money. Who hired a senior person. Who opened an office, won a customer, or announced a partnership. Every event carries its own date, so you ca

Batru
BatruReal, calibrated win-rate predictions, pick recommendations, counters, synergy and tier lists for Dota 2, Deadlock and Marvel Rivals, from production models trained on ~20M matches. Free hosted endpoint (Streamable HTTP)
Sugra API MCP
Sugra Systems, Inc.Official MCP server for the Sugra API, giving AI agents source-attributed access to 1,500+ endpoints across 36 data domains from 160+ primary sources. Covers markets, economics, company fundamentals, government, news, cl
Comments