mcp-server-google-analytics
5
The project offers an interface leveraging Model Context Protocol (MCP) Server to access Google Analytics Data API, providing tools for reporting and real-time data access as well as accessing metadata of Google Analytics properties. Its setup includes creating a Google Cloud project and configuring a service account.
Google Analytics Data API MCP Server
Interface to access Google Analytics Data API using Model Context Protocol (MCP) Server.
Features
Provides tools and resources to access main features of Google Analytics Data API:
Tools
- Access reports based on specified date range, metrics, and dimensions.
- Obtain real-time data.
Resources
- Access metadata of Google Analytics properties.
Setup
- Create a Google Cloud project and enable Analytics Data API.
- Create a service account and download authentication credentials JSON file.
- Grant appropriate access to the GA4 property to the service account.
Usage
Start the Server
- Start the server using npm.
- Use provided scripts for server operation.
Configure with Claude Desktop
- Add configuration for Claude Desktop.
License
MIT