AIAny
Icon for item

Google Analytics MCP Server

Exposes Google Analytics Admin and Data APIs as a local Model Context Protocol (MCP) server so LLMs can query accounts, run reports, funnels and realtime queries via standardized MCP tools. Intended for local prototypes and developer integrations; requires Google Cloud credentials.

Introduction

Why this matters

LLMs can generate insights from analytics data but lack a safe, standardized bridge to query production analytics. This repo implements a local MCP server that wraps Google Analytics Admin and Data APIs into explicit MCP tools, letting assistants such as Gemini or Claude run account/property lookups, reports, funnel and realtime queries without you building a bespoke connector.

What Sets It Apart
  • MCP-native tooling: Provides explicit MCP tools (get_account_summaries, get_property_details, run_report, run_funnel_report, run_realtime_report, get_custom_dimensions_and_metrics) so an LLM can discover and call analytics operations as callable tools — which reduces prompt engineering and ad-hoc API glue.
  • Designed for LLM integrations: Configuration examples target Gemini CLI/Code Assist and Claude Code, with a one-command pipx invocation pattern. So what: you can prototype conversational analytics workflows quickly with existing assistant tooling.
  • Local control and credential model: Runs against Application Default Credentials (user OAuth or service account impersonation) and uses the Analytics Admin/Data APIs. So what: data access stays under your Google Cloud account boundaries and scopes (read-only recommended) rather than a third-party hosted connector.
Who It's For and Tradeoffs

Great fit if you want to prototype or demo LLM-driven analytics assistants, keep analytics data under your control, or integrate Google Analytics queries into an MCP-enabled agent workflow. Look elsewhere if you need a managed multi-tenant connector, high-throughput production hosting, or a UI-first analytics product — this repo is experimental, needs Python 3.10+, pipx, Google Cloud setup, and appropriate API scopes. Also note the server provides API access patterns rather than analytics interpretation: quality of insights still depends on prompts, model choice, and how you validate results.

Information

  • Websitegithub.com
  • OrganizationsGoogle Analytics, Google
  • Published date2025/07/16

Categories

More Items

GitHub

Unifies enterprise knowledge into a permission-aware context layer that delivers citation-backed, explainable search and no-code or SDK-driven agentic workflow automation. Supports 50+ connectors, knowledge-graph retrieval, an MCP server, and bring-your-own-model self-hosting.

GitHub

Provides long-term memory for AI coding agents by compiling sanitized lifecycle observations into a git-versioned Markdown wiki that enables cross-agent handoffs, per-project isolation, and optional vector-backed retrieval.

GitHub

Provides a unified integration layer that lets AI agents call and manage third‑party service APIs while keeping credentials and approval workflows out of the agent's reach. Offers plugin-based integrations, per-tenant envelope encryption (KEK), configurable permission modes, and an optional Hub to host OAuth/webhook surfaces.