Skip to main content

AI-powered Measurement Operations for the Google analytics stack (GA4, GTM, BigQuery, Consent Mode, Server-Side, Data Quality, Alerts), over the Model Context Protocol.

Project description

📊 Measure Analytics MCP

AI-powered Measurement Operations for the Google analytics stack, over the Model Context Protocol.

A product of the Measure MCP ecosystem · built on measure-sdk.

License Python SDK


What it is

Audit, analyse and monitor your Google analytics stack in natural language, from Claude Desktop, ChatGPT or any MCP client. Seven focused MCP servers, each consuming the shared measure-sdk (domain models, Health Score, OAuth, …):

Server Run with Domain
BigQuery Analyst measure-bigquery Cost-aware, read-only SQL.
GA4 Intelligence measure-ga4 GA4 Admin + Data API audits.
Consent Mode Auditor measure-consent Consent Mode v2 compliance.
Data Quality measure-dataquality GA4-export health monitoring.
GTM Operations measure-gtm Web container audits + guarded writes.
Server-Side Auditor measure-sgtm sGTM config + Cloud Run health.
Alerts Engine measure-alerts Persistent cross-domain alerts.

Paid-media analysis (Google Ads, Meta, …) lives in the sibling product measure-paid-media-mcp.

Install

pip install measure-analytics-mcp     # pulls measure-sdk automatically
measure login                         # Google OAuth — that's all you need
measure doctor                        # see what's connected
measure-bigquery                      # start a server (stdio)

measure login (from the SDK) caches an OAuth token locally; every server then works with no .env and no manual IDs. ADC / service accounts still work as a fallback. Read-only by default; writes require explicit confirmation.

Develop

git clone https://github.com/measure-mcp/measure-analytics-mcp.git
cd measure-analytics-mcp
uv sync --all-extras            # resolves measure-sdk from its pinned tag
uv run ruff check . && uv run mypy . && uv run pytest

This repo is a single installable package (measure-analytics-mcp) that ships seven focused MCP servers under src/ (measure_ga4, measure_gtm, measure_bigquery, measure_consent, measure_sgtm, measure_dataquality, measure_alerts). It depends only on measure-sdk.

Ecosystem

measure-sdk Shared core: domain models, enums, Health Score, infra.
measure-analytics-mcp This product.
measure-paid-media-mcp Google Ads, Meta, LinkedIn, TikTok, CM360.

See CHANGELOG.md · ROADMAP.md · SECURITY.md · CONTRIBUTING.md.

License

Apache-2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

measure_analytics_mcp-0.3.0.tar.gz (98.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

measure_analytics_mcp-0.3.0-py3-none-any.whl (79.5 kB view details)

Uploaded Python 3

File details

Details for the file measure_analytics_mcp-0.3.0.tar.gz.

File metadata

  • Download URL: measure_analytics_mcp-0.3.0.tar.gz
  • Upload date:
  • Size: 98.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for measure_analytics_mcp-0.3.0.tar.gz
Algorithm Hash digest
SHA256 030801a9965fb8593b446ae45a5aba2c05e35f5b80e609383b267dc8d6ce878f
MD5 babfdc1168edf41b40658f32009a9806
BLAKE2b-256 00e4702625ea5e229f1f0a0ab744f8cb5bd80826a004307823bfb0e30e68efad

See more details on using hashes here.

Provenance

The following attestation bundles were made for measure_analytics_mcp-0.3.0.tar.gz:

Publisher: release.yml on measure-mcp/measure-analytics-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file measure_analytics_mcp-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for measure_analytics_mcp-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b1b0bff6c9ccdfc71f105c1546882b4e2b2690171e3331ae335d1b0986c147fe
MD5 d9e308cf72699e38fc468473caf8d7ae
BLAKE2b-256 00fc9b467bac41b5c6d48dfa6f06d4b58e5f637489b94fa8865532042df3d7f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for measure_analytics_mcp-0.3.0-py3-none-any.whl:

Publisher: release.yml on measure-mcp/measure-analytics-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page