PluginBench
MCP Server
Maintained

com.mcparmory/google-analytics MCP Server

com.mcparmory/google-analytics

Query GA4 analytics data with custom reports, pivot tables, and audience exports via MCP.

What is the com.mcparmory/google-analytics MCP server?

The Google Analytics MCP server connects AI agents to Google Analytics 4 (GA4) data. It exposes tools for querying analytics data, creating custom reports, generating pivot tables, and exporting audience information. Use it to analyze website traffic, user behavior, and marketing performance programmatically.

This server gives you programmatic access to GA4 analytics through an MCP interface. You can query custom reports, build pivot tables, and export audience data without leaving your AI workflow. Useful for marketing analysis, performance monitoring, and data-driven decision-making.

How to install com.mcparmory/google-analytics

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "google-analytics": {
      "command": "uvx",
      "args": [
        "mcparmory-google-analytics"
      ]
    }
  }
}

Tools & capabilities

Tools this server exposes to the agent.

  • Query GA4 data — Execute queries against GA4 analytics data
  • Custom reports — Create and retrieve custom analytics reports
  • Pivot tables — Generate pivot table analyses of analytics data
  • Audience exports — Export audience segments and user data

Use cases

  • Analyze website traffic trends and user behavior patterns
  • Generate custom marketing performance reports
  • Create pivot table breakdowns of analytics by dimension (device, location, source)
  • Export audience segments for retargeting or further analysis
  • Monitor KPIs and conversion metrics programmatically

com.mcparmory/google-analytics MCP server FAQ

What is the Google Analytics MCP server?

It's an MCP server that exposes Google Analytics 4 (GA4) as tools for AI agents, allowing you to query data, build reports, create pivot tables, and export audiences programmatically.

Is it free to use?

The server itself is free (MIT licensed), but you need a GA4 account and valid credentials to access your analytics data. GA4 is free for standard usage.

How do I install it in Cursor or Claude?

Install via pip (pip install mcparmory-google-analytics) or use uvx (uvx mcparmory-google-analytics), then add it to your MCP client config with your GA4 credentials.

What authentication does it require?

You need Google Analytics 4 API credentials, typically a service account key or OAuth2 token with access to your GA4 property.

Can I query multiple GA4 properties?

Yes, you can configure access to multiple GA4 properties by providing the appropriate property IDs and credentials.

What data can I export?

You can export custom reports, pivot table results, and audience segments from your GA4 account.

README (reference)

Source of truth, from the repository.

<p align="center"> <img src="https://wjxawmrpsfuivlicnepc.supabase.co/storage/v1/object/public/newsletter/logo-armory-no-background.png" alt="MCP Armory" height="64"> </p> <h1 align="center">MCP Armory Registry</h1> <p align="center"> Production-ready MCP servers for popular APIs, generated by <a href="https://mcpblacksmith.com">MCP Blacksmith</a>. </p> <p align="center"> <a href="https://github.com/mcparmory/registry/stargazers"><img src="https://img.shields.io/github/stars/mcparmory/registry?style=flat&color=gold" alt="GitHub Stars"></a> <a href="https://github.com/mcparmory/registry/blob/main/servers/github/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue" alt="License"></a> <img src="https://img.shields.io/badge/servers-79-8A2BE2" alt="Servers"> <img src="https://img.shields.io/badge/python-3.11+-3776AB?logo=python&logoColor=white" alt="Python 3.11+"> </p> <p align="center"> <a href="#servers">Servers</a> &middot; <a href="#install--usage">Install & Usage</a> &middot; <a href="#features">Features</a> &middot; <a href="#how-servers-are-generated">How it works</a> &middot; <a href="#license">License</a> </p>

MCP servers that connect AI agents to real-world APIs. Each server is a standalone Python package — generated from the upstream OpenAPI spec using MCP Blacksmith and tested against the live API before release. Hosted on MCP Armory or run independently.

<!-- SERVERS:BEGIN -->

Servers

🧠 AI & Machine Learning   ElevenLabs · Linkup · Parallel · Perplexity AI · Ragie · Replicate

📊 Analytics   Ahrefs · Datadog · Google Analytics · Google Search Console · Linkly · Mixpanel · PostHog

⛓️ Blockchain & Crypto   Alchemy NFT

💼 CRM & Sales   Apollo

💬 Communication   Atlassian Confluence · Google Gmail · MailerSend · Mailtrap · Postmark · Resend · Slack

🗄️ Data & Databases   Enigma · Pinecone

🛠️ Developer Tools   AgentQL · Apify · Bitbucket · Bright Data · Browserbase · BuiltWith · Canvas · CircleCI · Codacy · Contentful Management · ConvertAPI · E2B · Firecrawl · GitHub · GitLab · LaunchDarkly · Postman · Scrapingant · Semrush AppCenter · Sentry

📄 Documents & Printing   PDF.co

🛒 E-commerce   Shopify Admin

💰 Finance   Alpha Vantage · Polygon · Ramp

👥 HR & Recruiting   BambooHR

☁️ Infrastructure   Globalping · Grafana · PagerDuty · Rootly · Runpod

⚖️ Legal & Compliance   NetLicensing

🗺️ Maps & Location   Google Maps Platform · IP2Location.io IP Geolocation · OpenCage Geocoding

📣 Marketing   Customer.io Journeys Track · Klaviyo

🎬 Media & Entertainment   Canva · Perigon

✅ Productivity   Airtable · Asana · Atlassian Jira · ClickUp · Figma · Google Sheets · Miro · Notion · Outline · Shortcut

🔍 Search   Algolia Search · Google Search

📦 Storage   Box · Files.com · Google Drive

📌 Other   Close

More servers are being added continuously.

<!-- SERVERS:END -->

Install & Usage

Every server is a standalone PyPI package (mcparmory-<server-name>). Each server's own README.md has full credential setup and configuration instructions.

# With uvx (no install needed)
uvx mcparmory-github

# With pip
pip install mcparmory-github
mcparmory-github

MCP client configuration (Claude Desktop, Cursor, Codex, Claude Code):

{
  "mcpServers": {
    "github": {
      "command": "uvx",
      "args": ["mcparmory-github"],
      "env": {
        "BEARER_TOKEN": "ghp_your_token_here"
      }
    }
  }
}

Features

Every server in this registry provides:

  • Full API coverage — all endpoints from the OpenAPI spec are exposed as MCP tools
  • Authentication — API key, Bearer token, Basic auth, OAuth2, JWT, OpenID Connect, and mutual TLS
  • Multi-auth — servers that support multiple auth methods let you configure whichever you prefer
  • Pydantic validation — request parameters are validated before sending to the API
  • Resilience — configurable retries with exponential backoff, connection pooling, and timeouts
  • Response sanitization — optional redaction of sensitive fields from API responses

How servers are generated

Servers are generated by MCP Blacksmith, an automated pipeline that:

  1. Parses an OpenAPI specification
  2. Transforms operations through LLM-driven passes (naming, parameter filtering, enhancement, classification)
  3. Generates a complete MCP server with auth, models, validation, and configuration
  4. Tests every tool against the live API using an autonomous agent
  5. Deploys passing servers to this registry

The generator targets Python 3.11+ and uses FastMCP as the MCP framework.

Contributing

Servers are auto-generated — don't edit server code directly. If you find an issue, open a GitHub Issue describing:

  • Broken or deprecated endpoints
  • Missing or incorrect parameters
  • Authentication problems
  • Incorrect request/response models

We'll re-generate the affected server with the fix. To request a new server, open an issue with a link to the API's OpenAPI spec or documentation.

License

Each generated server is released under the MIT License. The underlying APIs have their own terms of service — see individual server READMEs for details.


<p align="center"> <a href="https://mcparmory.com">MCP Armory</a> &middot; <a href="https://mcpblacksmith.com">MCP Blacksmith</a> &middot; <a href="https://docs.mcpblacksmith.com/quickstart">Docs</a> </p>

Related MCP servers

Manage files, folders, permissions, and collaborative content in Google Drive via MCP.

30
Python
View repository →

Send, read, and organize Gmail emails with AI agents—manage labels, drafts, and filters.

30
Python
View repository →

Geocode addresses, calculate directions, and search places using Google Maps API

30
Python
View repository →

Access Google search results, ads, and knowledge panels via MCP for AI agents.

30
Python
View repository →

Query Google Search Console analytics, manage sitemaps, and inspect site URLs and status via MCP.

30
Python
View repository →

Create, read, and modify Google Sheets spreadsheets and data via AI agents.

30
Python
View repository →