Skip to content

GTM MCP server for AI agents

Ask Claude, ChatGPT or Cursor what's in your GTM container, and what changed when tracking broke.

No card needed. Works with any MCP client.

Claude logoLemonadoGoogle Tag Manager logo

Google Tag Manager MCP

Ask about tags, with their type, firing triggers and settings in Claude, ChatGPT or any AI agent, from live Google Tag Manager data.

What is the Google Tag Manager MCP server?

Lemonado's Google Tag Manager MCP server gives Claude, ChatGPT and other AI apps read access to your GTM accounts: containers, workspaces, tags, triggers, variables and published versions. Connect Google Tag Manager to Lemonado, connect Lemonado to your AI, and audit a container by asking questions instead of clicking through it. Google Ads, Meta and GA4 are on the same connection, so a drop in conversions can be traced to the version that caused it.

  • All your GTM data

    Accounts, containers and workspaces, ready to ask about.

  • Always today's numbers

    Triggers and the conditions behind them, synced from GTM automatically, so answers use today's numbers.

  • Connect all your tools

    Questions like "Why did conversions drop?" use GTM and GA4, Google Ads at once.

Connecting takes minutes.

  1. 1

    Connect GTM

    Sign in to Google Tag Manager in Lemonado.

  2. 2

    Copy the server URL

    Turn on external access and copy one URL.

  3. 3

    Ask in Claude

    Add the URL to Claude and ask away.

Ask it anything.

Claude reads your GTM numbers, explains what moved and turns the answer into an artifact you can share.

Claude logoClaude

Summarize our GTM web container: how many tags of each type, which ones are paused, and which have no trigger.

84 tags: 31 GA4 events, 19 Google Ads, 12 Meta, 22 custom HTML. 9 are paused and 4 have no firing trigger, so they never run.

Source: Google Tag Manager

Let Lemonado check GTM for you.

Copy one of these into Lemonado and it runs on a schedule.

  • Google Tag Manager logo

    Every morning, check for GTM versions published in the last 24 hours and post what changed, and who published it, in #tracking.

    New version digest

  • Google Tag Manager logo

    Every Monday, list GTM tags that are paused, have no trigger or have no consent settings, and send the list to #tracking.

    Weekly container audit

  • Google Tag Manager logo

    If Google Ads or Meta conversions fall over 30% day over day, check whether a GTM version was published that day and post both together.

    Conversion drop cross-check

Why Lemonado?

  • Your whole stack in one connection

    Google, Meta, GA4, TikTok and 3,000+ more tools, in every AI app.

  • No API keys or servers

    Sign in once. Nothing to install, host or keep alive.

  • Scoped to each client

    Each connection only reaches the clients you allow. Built for agencies.

  • Actions with guardrails

    Set each action to Off, Ask or Approve. Nothing runs that you haven't allowed.

Is there an official Google Tag Manager MCP server?

No. Google doesn't run an MCP server for Tag Manager. Community servers exist, such as Stape's, and most of them can edit and publish containers. Lemonado reads your containers only, and puts them next to GA4 and your ad platforms.

Community GTM MCP servers compared with Lemonado for Google Tag Manager
Community GTM MCP serversLemonado
Who runs itOpen-source projects and agenciesLemonado, hosted
Can change your containerUsually yes, with the right scopesNo, read only
Conversion data next to tag changesNo, container settings onlyYes, with Google Ads, Meta and GA4
Alerts when a version is publishedNoYes, in Slack or email
PriceFree or set by the hostSee pricing

Reading this as an AI agent?

Everything an agent needs to set this up, in plain text. Paste this page's link into your AI app and ask it to connect you, or copy the block.

For agents · markdown
# Lemonado MCP server for Google Tag Manager

Lemonado is a hosted MCP server that gives AI apps the user's live Google Tag Manager, plus any other marketing tool they connect (Google Ads, Meta Ads, GA4 and 3,000+ more).

- Server URL: https://mcp.lemonado.io/mcp
- Transport: Streamable HTTP
- Auth: OAuth; the user signs in to Lemonado in the browser. No API keys.
- Google Tag Manager data: Accounts, containers and workspaces; Tags, with their type, firing triggers and settings; Triggers and the conditions behind them; Variables, including data layer variables; Published versions and what changed in each; Consent settings on each tag
- Connecting Google Tag Manager: Sign in with a Google account that has at least Read access to the GTM containers you want to audit. Pick the web container your site uses.
- Tools on https://mcp.lemonado.io/mcp (custom connectors, coding agents, n8n): list_objects, get_object_details, execute_sql, get_google_ads_resource_metadata, list_companies, get_company_details, list_actions, get_action_details, execute_action
- Lemonado's Claude directory app and ChatGPT plugin (read-only): list_projects, list_project_sources, answer_data_question, explain_metric_change

## Setup
1. The user connects Google Tag Manager in Lemonado (Connectors) and signs in.
2. In the company's settings → External tools, they turn the connection on and copy the server URL.
3. They add the server URL to their AI app. Setup per app: https://lemonado.io/integrations

Docs: https://docs.lemonado.io/mcp-reference
Full index for agents: https://lemonado.io/llms.txt
FAQ

Frequently Asked Questions

No. Through Lemonado it reads your containers, tags, triggers, variables and versions. Publishing stays with you in Tag Manager, where versions and approvals already work the way your team set them up.

Connect your GTM account and container in Lemonado, turn on External tools, and add Lemonado to Claude or ChatGPT. Each guide on this page has the exact steps. Sign in with a Google account that has at least Read access to the GTM containers you want to audit. Pick the web container your site uses. Then ask something like "Summarize our GTM web container: how many tags of each type, which ones are paused, and which have no trigger."

Yes. It's a standard remote MCP server (https://mcp.lemonado.io/mcp): one command in Claude Code, one entry in Cursor's mcp.json, and an MCP Client Tool with a Lemonado token in n8n. In a coding agent, try "Compare every dataLayer.push key in our repo with the data layer variables and custom event triggers in our GTM container."

Yes. Besides answering in Claude or ChatGPT, Lemonado runs GTM reports and alerts on a schedule, in Slack or email. For example: "Every morning, check for GTM versions published in the last 24 hours and post what changed, and who published it, in #tracking."

It reads your GTM data. Google Tag Manager stays untouched; the only changes Lemonado can make are in ad accounts you connect, and only once you approve them.

MCP is included in Lemonado's paid plans and in the free trial, so you can try it before you pay.

See plans and pricing

Still have a question?

Shoot us an email at hello@lemonado.io.

Try for free

Stop fighting with data. Start feeding your AI.

Connect your data to AI and free your team from reporting and busywork.

Try Lemonado free