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
AI Infra2026

Compresses tool outputs, logs, files and RAG chunks locally before they reach the LLM to reduce token usage while caching originals for on-demand retrieval. Provides proxy/library/wrap modes, JSON- and code-aware compressors, and reversible compression.

GitHub

Connects Blender to any LLM so models can inspect, create, and modify 3D scenes via a socket-based Model Context Protocol (MCP) server; supports object manipulation, materials, renders, asset import, and executing Blender Python.

GitHub
AI Infra2026

Indexes mixed-format folders locally into a zero-config, Elasticsearch-compatible search engine offering keyword, semantic, vector and hybrid retrieval. Embeds on ingest, provides per-agent namespaced memory and AST-aware code indexing in a single static binary with no external embedding key.