Gsc MCP Server
Google Analytics report querying and property management via the MCP standard.
Data last scanned 2 days ago · Reviewed 2 days ago
Overview
This Node.js server facilitates structured interaction with Google Analytics APIs for automated reporting and configuration management. Developers can retrieve performance metrics such as sessions, users, and conversion events, while also managing data streams and custom dimensions directly through their AI-assisted workflow.
Our verdict
With a high-risk security score of 15/100, this server should be used with extreme caution. The project is community-maintained rather than vendor-backed, and its lack of a declared license creates legal uncertainty regarding usage. Additionally, the repository has been inactive for over a year (390 days since the last commit), meaning potential bugs or API changes remain unaddressed. It is not recommended for production environments.
- Provides seven distinct tools for comprehensive analytics management
- Contains detailed README documentation for setup
- Uses a small dependency footprint of seven packages
- No detected license for open-source use
- Last commit was 390 days ago
- Community-maintained without official vendor support
- High security risk score of 15/100
Setup
{
"mcpServers": {
"gsc-mcp": {
"args": [
"-y",
"gsc-mcp"
],
"command": "npx"
}
}
}Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows), then restart Claude Desktop. Some servers require API keys or tokens as environment variables — check the project's README and add an "env" object if needed.
- No read-only mode — running this grants full read/write access.
- No built-in authentication — anyone with access to this config can invoke every tool it exposes.
Tools
| Tool | Description | Risk |
|---|---|---|
| get_reports | Get analytics reports data for specified metrics and dimensions | low |
| list_accounts | List all Google Analytics accounts | low |
| list_properties | List properties for a Google Analytics account | low |
| list_data_streams | List data streams for a property | low |
| list_custom_dimensions | List custom dimensions for a property | low |
| list_custom_metrics | List custom metrics for a property | low |
| list_conversion_events | List conversion events for a property | low |
Compatibility
| Client | Local | Docker | Remote | Read-only |
|---|---|---|---|---|
| Claude Desktop | ||||
| Cursor | ||||
| VS Code | ||||
| Windsurf | ||||
| ChatGPT |
Frequently asked questions
›What software prerequisites are required to run the Gsc MCP server?
You must have Node.js version 18 or later installed on your machine.
›How does the server handle Google OAuth2 token expiration?
The server automatically manages token refreshing using your provided refresh token during API calls.
›What are the recommended OAuth2 credential configurations?
Using a Web application client ID with the redirect URI set to http://localhost:3000/auth/callback is the recommended approach.
›Are there built-in tools for generating required OAuth2 tokens?
Yes, you can use the included helper script by running 'npm run oauth-helper' or use the Google OAuth2 Playground.
›How can I configure the environment variables for this server?
You can either use a .env file created via the 'npm run setup-env' command or set the required export variables directly in your terminal session.
Badge
Maintain this server? Add the live badge to your README.