Skip to main content

Google Tag Manager MCP Server

Connect Google Tag Manager to Claude, Cursor & AI assistants

Works in
or any MCP client

Example prompts

Read + write

List all my GTM containers

What you can do

Audit GTM containers, detect duplicate conversion tracking, find unused tags and triggers, list tags without consent settings, all via AI conversation. The fastest way to clean up messy tag setups and ensure accurate measurement.

Access
Read + write
MCP tools
4: 3 read, 1 change
Plan
All plans
API version
Tag Manager API v2
All 4 tools

Read

  • gtm_list_containersList all GTM accounts and containers accessible to the connected Google account
  • gtm_list_entitiesList GTM tags, triggers, and variables with writable paths and fingerprints for updates
  • gtm_auditAudit a GTM container: tag health, duplicate conversions, unused triggers and variables, and tags without consent settings

Change

  • gtm_manageCreate, update and delete tags, triggers and variables in a workspace, then version and publish the container
Technical specifications
Rate limits
10 req/s per user. 100,000 req/day quota.
Data freshness
Real-time, container data reflects the current published state.
OAuth scopes
https://www.googleapis.com/auth/tagmanager.readonly
https://www.googleapis.com/auth/tagmanager.edit.containers
  • Container health auditing
  • Duplicate conversion detection
  • Unused tag/trigger identification
  • Missing consent settings check
  • Workspace management
  • Live container versus workspace draft comparison

Real-world use cases

Challenge

Duplicate conversion tags silently inflate ROAS and conversion counts. Finding them requires manually reviewing every tag and its associated triggers.

Solution

Ask Claude to audit your container for duplicate conversion tracking. Get a prioritized list of tags that may be firing the same conversion multiple times.

Audit my GTM container for duplicate conversion tags. I want to know which conversions might be getting counted twice.

Get started in 3 steps

  1. 1

    Sign up for Ad Superpowers

    Start your 14-day trial and connect your Google Tag Manager account via OAuth. All 8 platforms included.

  2. 2

    Get your API key

    Generate an API key from your dashboard. This key authenticates your AI assistant with Ad Superpowers.

  3. 3

    Configure your AI assistant

    Add the MCP server URL and your API key to the AI tool you already work in. Setup per AI client

What is Google Tag Manager MCP Server?

The Google Tag Manager MCP Server brings AI-powered auditing to your tag management. If you're running paid ads across Meta, Google, LinkedIn, and TikTok, your GTM container is the single most important thing keeping your measurement accurate, and also the most likely source of silent data quality problems.

Read moreShow less

Duplicate conversion tags are the most common GTM issue agencies discover. A conversion fires twice, your ROAS looks twice as good as it is, and decisions get made on bad data. With the gtm_audit tool, you can detect these in seconds instead of spending hours clicking through the container.

The gtm_manage tool works in a GTM workspace: it can edit tags, triggers and variables, create a version and publish it. Publishing goes live immediately, so review the version first. You can also ask Claude to check the configuration of a specific tag or compare the live container with the draft in the default workspace.

Google Tag Manager is connected on its own on the Integrations page, with the same Google account you use for Google Ads, GA4 and Search Console.

Why use AI for Tag Manager?

GTM's interface is built for developers and technical marketers. For everyone else, finding specific tags, understanding firing rules, and auditing the container for issues requires significant expertise and time.

AI changes this. Ask "Which tags have no consent settings?" and get a direct answer, no GTM expertise required. Ask "Which conversion tags could be duplicating my GA4 and Google Ads data?" and get a prioritized list of tags to review.

For agencies managing containers across dozens of clients, AI-powered GTM auditing is transformative. A container audit that used to take 2 hours becomes a 5-minute conversation. Onboarding a new client's container, understanding what's set up, what's broken, what's missing, goes from a day-long process to a quick review.

Key capabilities

  • List all GTM accounts and containers with metadata
  • Container audit: health score, potential duplicates, tags without consent settings
  • Unused tag and trigger identification for container cleanup
  • Detection of tags without consent settings
  • Workspace creation for safe, isolated tag editing
  • Live container versus workspace draft comparison

Frequently asked questions

Works great with

Connect Google Tag Manager to your AI

Cookies on this site

We use analytics cookies to see how the site is used. They load only if you accept, and you can change your choice at any time. Read our privacy policy.