Read-only MCP server giving AI assistants one door to the Google services an online shop lives on: GA4, Search Console, Merchant Center, Tag Manager, Indexing API and PageSpeed.
pip install google-ecommerce-mcp==0.1.4 Copy PIP instructions
One read-only MCP server for the Google services an online shop lives on: GA4, Search Console, Merchant Center, Tag Manager, Indexing API and PageSpeed.
Ask your AI assistant "how much organic traffic did we get this month?", "which products are disapproved in Merchant Center?" or "is GA4 loaded twice on my site?" and it answers from your own Google accounts.
Built by MoonEyes, a small French shop selling 3D-printed tabletop terrain, because no existing MCP server covered GA4, Search Console and Merchant Center together.
Create your Google OAuth client first (step 1 below), then run one line. The installer installs uv if needed, asks your ids, opens the Google consent screen and adds the server to Claude Desktop (your previous config is backed up).
irm https://raw.githubusercontent.com/MoonEyes/google-ecommerce-mcp/main/install.ps1 | iex macOS / Linux:
curl -LsSf https://raw.githubusercontent.com/MoonEyes/google-ecommerce-mcp/main/install.sh | sh Then quit Claude Desktop completely and reopen it. Prefer to read a script before running it? Download it, read it, then run it with options, for example .\install.ps1 --ga4 123456789 --gsc sc-domain:example.com --client-secret client_secret.json. Run google-ecommerce-mcp install --help for every option.
If you used the quick install, you only need step 1. The steps below are the manual path.
Full walkthrough with every click explained: docs/SETUP-GOOGLE-CLOUD.md. Short version:
# with uv (recommended): nothing to install, uvx fetches the package from PyPI uvx google-ecommerce-mcp setup --client-secret path/to/client_secret.json # or with pip pip install google-ecommerce-mcp google-ecommerce-mcp setup --client-secret path/to/client_secret.json Latest development version: uvx --from git+https://github.com/MoonEyes/google-ecommerce-mcp google-ecommerce-mcp.
Your browser opens the Google consent screen. The token is then stored in your OS keyring. Check everything with google-ecommerce-mcp check.
{ "mcpServers": { "google-ecommerce": { "command": "uvx", "args": ["google-ecommerce-mcp"], "env": { "GA4_PROPERTY_ID": "123456789", "GSC_SITE_URL": "sc-domain:example.com", "MERCHANT_ACCOUNT_ID": "1234567890", "GTM_CONTAINER_ID": "GTM-XXXXXXX", "PAGESPEED_API_KEY": "" } } } } Claude Code:
claude mcp add google-ecommerce -e GA4_PROPERTY_ID=123456789 -e GSC_SITE_URL=sc-domain:example.com \ -e MERCHANT_ACCOUNT_ID=1234567890 -e GTM_CONTAINER_ID=GTM-XXXXXXX \ -- uvx google-ecommerce-mcp Every variable is optional: a tool for a service you did not configure simply answers not_configured.
See CONTRIBUTING.md. Security reports: SECURITY.md.
pip install -e ".[dev]" pytest Tests run offline with a fake HTTP session; no Google account needed.
claude ecommerce ga4 google-analytics google-tag-manager mcp merchant-center model-context-protocol search-console seo
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.




