# Google E-commerce (GA4, Search Console, Merchant Center, Ads)

> Google E-commerce (GA4, Search Console, Merchant Center, Ads) is a free MCP server for e-commerce. Read GA4, Search Console, Merchant Center and ad data, with opt-in approved writes. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** CLI, Self-hosted, macOS, Windows, Linux
- **Repository:** https://github.com/mooneyes/google-ecommerce-mcp
- **MCP Registry name:** io.github.MoonEyes/google-ecommerce-mcp
- **Categories:** [e-commerce](https://ai-powered.com/categories/e-commerce), [analytics and data](https://ai-powered.com/categories/analytics-and-data), [marketing and SEO](https://ai-powered.com/categories/marketing-and-seo)
- **Listing updated:** 2026-11-23

## About

Built by a small French shop that sells 3D-printed tabletop terrain, this server was written because nothing covered GA4, Search Console and Merchant Center together. It reads by default and answers from your own accounts: organic traffic this month, disapproved Merchant Center products, whether GA4 loads twice, or what each ad platform claims against what GA4 reports. The README lists 82 tools in its reference.

Sources span GA4, Search Console, Merchant Center, Tag Manager, the Indexing API, PageSpeed, Google Ads, Meta Ads, ChatGPT Ads and the Meta pixel, catalog, Instagram and Page. Agencies can register several clients in a clients.json file, with secrets in the OS keyring and each call naming its client.

Writing is off unless you set GEM_WRITE and enable it per client and platform. Changes are proposed as a plan with a diff and signed token, need your approval, and money-related ones need approval in a terminal. Creations are paused. The README warns that writing and the paid-media connectors have only been tested offline against fake responses. Requests go straight from your machine to the platforms.

## Features

- **Many Google sources:** Covers GA4, Search Console, Merchant Center, Tag Manager, Indexing API and PageSpeed.
- **Ad platform reporting:** Reads Google Ads, Meta Ads and ChatGPT Ads figures with their attribution windows.
- **Multi-client registry:** Keeps agency clients apart with per-client ids and secrets.
- **Plan, approve, apply:** Optional writes go through a diff, approval and a journal.
- **Keyring storage:** Tokens go to the OS keyring rather than the command line.
- **Monthly reports:** A report command builds client reporting from KPI definitions.

## Good for

- Check organic search traffic for the month
- Find products disapproved in Merchant Center
- Audit whether GA4 fires twice on a site
- Compare ad-platform conversions with GA4
- Run monthly reports for several client shops

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add google-ecommerce-mcp --env PAGESPEED_API_KEY='<PAGESPEED_API_KEY>' -- uvx google-ecommerce-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "google-ecommerce-mcp": {
      "command": "uvx",
      "args": [
        "google-ecommerce-mcp"
      ],
      "env": {
        "PAGESPEED_API_KEY": "<PAGESPEED_API_KEY>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "google-ecommerce-mcp": {
      "command": "uvx",
      "args": [
        "google-ecommerce-mcp"
      ],
      "env": {
        "PAGESPEED_API_KEY": "<PAGESPEED_API_KEY>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "google-ecommerce-mcp": {
      "command": "uvx",
      "args": [
        "google-ecommerce-mcp"
      ],
      "env": {
        "PAGESPEED_API_KEY": "<PAGESPEED_API_KEY>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "google-ecommerce-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "google-ecommerce-mcp"
      ],
      "env": {
        "PAGESPEED_API_KEY": "<PAGESPEED_API_KEY>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add google-ecommerce-mcp --env PAGESPEED_API_KEY='<PAGESPEED_API_KEY>' -- uvx google-ecommerce-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.google-ecommerce-mcp]
command = "uvx"
args = ["google-ecommerce-mcp"]
env = { PAGESPEED_API_KEY = "<PAGESPEED_API_KEY>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "google-ecommerce-mcp": {
      "command": "uvx",
      "args": [
        "google-ecommerce-mcp"
      ],
      "env": {
        "PAGESPEED_API_KEY": "<PAGESPEED_API_KEY>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e PAGESPEED_API_KEY='<PAGESPEED_API_KEY>' google-ecommerce-mcp uvx -- google-ecommerce-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "google-ecommerce-mcp": {
      "command": "uvx",
      "args": [
        "google-ecommerce-mcp"
      ],
      "env": {
        "PAGESPEED_API_KEY": "<PAGESPEED_API_KEY>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "google-ecommerce-mcp": {
      "command": "uvx",
      "args": [
        "google-ecommerce-mcp"
      ],
      "env": {
        "PAGESPEED_API_KEY": "<PAGESPEED_API_KEY>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "google-ecommerce-mcp": {
      "command": "uvx",
      "args": [
        "google-ecommerce-mcp"
      ],
      "env": {
        "PAGESPEED_API_KEY": "<PAGESPEED_API_KEY>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "google-ecommerce-mcp": {
      "command": "uvx",
      "args": [
        "google-ecommerce-mcp"
      ],
      "env": {
        "PAGESPEED_API_KEY": "<PAGESPEED_API_KEY>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "google-ecommerce-mcp": {
      "command": "uvx",
      "args": [
        "google-ecommerce-mcp"
      ],
      "env": {
        "PAGESPEED_API_KEY": "<PAGESPEED_API_KEY>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "google-ecommerce-mcp": {
      "command": "uvx",
      "args": [
        "google-ecommerce-mcp"
      ],
      "env": {
        "PAGESPEED_API_KEY": "<PAGESPEED_API_KEY>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "google-ecommerce-mcp": {
      "command": "uvx",
      "args": [
        "google-ecommerce-mcp"
      ],
      "env": {
        "PAGESPEED_API_KEY": "<PAGESPEED_API_KEY>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "google-ecommerce-mcp": {
      "command": "uvx",
      "args": [
        "google-ecommerce-mcp"
      ],
      "env": {
        "PAGESPEED_API_KEY": "<PAGESPEED_API_KEY>"
      }
    }
  }
}
```

## FAQ

### Can Google E-commerce (GA4, Search Console, Merchant Center, Ads) change my accounts?

Not by default. Writing needs GEM_WRITE=1 plus enabling it per client and platform, and changes are approved before they apply.

### Has writing been tested on real accounts?

No. The README says write tools and the ad connectors were checked offline only.

### Is any data sent to a third party?

The README says requests go directly from your machine to Google, Meta and OpenAI, not through a MoonEyes server.

### How do I install Google E-commerce (GA4, Search Console, Merchant Center, Ads)?

Install the google-ecommerce-mcp package from PyPI and follow the Quickstart.

### Is Google E-commerce (GA4, Search Console, Merchant Center, Ads) free?

Yes. Google E-commerce (GA4, Search Console, Merchant Center, Ads) is free to use.

### How do I add Google E-commerce (GA4, Search Console, Merchant Center, Ads) to Claude Code?

Run this command in your terminal: claude mcp add google-ecommerce-mcp --env PAGESPEED_API_KEY='<PAGESPEED_API_KEY>' -- uvx google-ecommerce-mcp

### What are the best alternatives to Google E-commerce (GA4, Search Console, Merchant Center, Ads)?

The closest alternatives to Google E-commerce (GA4, Search Console, Merchant Center, Ads) are Agent-Native Analytics, dashboard-icons, ChatGPT for Amazon, Google Ads + Meta Ads + SEO/GEO MCP and TryPost.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Agent-Native Analytics](https://ai-powered.com/mcp/agent-native-analytics): Agent-Native Analytics is an open-source MCP server for analytics and data.
- [dashboard-icons](https://ai-powered.com/mcp/dashboard-icons): dashboard-icons is an open-source MCP server for analytics and data.
- [ChatGPT for Amazon](https://ai-powered.com/mcp/chatgpt_for_amazon): ChatGPT for Amazon is a freemium MCP server for marketing.
- [Google Ads + Meta Ads + SEO/GEO MCP](https://ai-powered.com/mcp/google-ads-meta-ads-seo-geo-mcp): Google Ads + Meta Ads + SEO/GEO MCP is a freemium MCP server for marketing and seo.
- [TryPost](https://ai-powered.com/mcp/trypost): TryPost is a paid MCP server for marketing and seo.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [Pitot](https://ai-powered.com/mcp/pitot): Pitot is an open-source MCP server for cloud and infrastructure.
- [World Monitor](https://ai-powered.com/mcp/world-monitor): World Monitor is a freemium MCP server for analytics and data.

---
Source: https://ai-powered.com/mcp/google-e-commerce-ga4-search-console-merchant-center-ads
