ai tag debugger
AI-driven QA for site analytics, ad pixels and consent tags, run from chat or CI
ai tag debugger is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, Self-hosted
- Runs
- Locally
- Version
- 0.22.8
- Listing updated
Similar MCP servers
Install
Run in a terminal
claude mcp add ai-tag-debugger -- npx -y @analitikisler/ai-tag-debuggerAdd to claude_desktop_config.json
{
"mcpServers": {
"ai-tag-debugger": {
"command": "npx",
"args": [
"-y",
"@analitikisler/ai-tag-debugger"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"ai-tag-debugger": {
"command": "npx",
"args": [
"-y",
"@analitikisler/ai-tag-debugger"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"ai-tag-debugger": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@analitikisler/ai-tag-debugger"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"ai-tag-debugger": {
"command": "npx",
"args": [
"-y",
"@analitikisler/ai-tag-debugger"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"ai-tag-debugger": {
"command": "npx",
"args": [
"-y",
"@analitikisler/ai-tag-debugger"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
About ai tag debugger
An AI model drives a real browser through your key journeys, such as product to cart to checkout or a lead form, while the tool records every tracking hit and dataLayer push. It then checks them against your measurement plan and Consent Mode setup and writes a plain-language report in English or Turkish. The pitch is that tracking breaks silently after redesigns or consent banner changes, and this makes the check a command you can run in CI.
Findings include missing events or parameters, invalid purchase value or currency, duplicates, GA4 and Meta purchase mismatches, pixels firing before consent, personal data sent to ad platforms, dropped campaign parameters and bot challenges shown instead of the page. With a GTM container export, a broken event is traced to the tag and trigger that should send it. That trigger analysis runs from the captured dataLayer with no AI model.
Checked platforms range from GA4, Google Ads, Meta and TikTok to LinkedIn, Microsoft Ads, Criteo, Adobe, Matomo and others. From a terminal you bring your own key for Claude, OpenAI, Gemini or an OpenAI-compatible API; from an MCP chat app the app's own model drives the audit.
Tools this server provides (2)
Taken from the project documentation; the running server may differ.
- start_audit
- Starts a tracking audit, optionally with chosen platforms.
- run_audit
- Runs a tracking audit, optionally with chosen platforms.
What it does
- Browser journey audits
- A model walks checkout and lead-form journeys while hits are captured.
- Consent checks
- Flags pixels firing before consent, missing Consent Mode v2 signals and rejects that do nothing.
- Measurement plan comparison
- Sorts planned events into implemented, missing, missing parameters or wrong values.
- GTM tag tracing
- Names the tag and trigger behind each broken event using a container export.
- Broad platform coverage
- GA4, Google Ads, Meta, TikTok, LinkedIn, Microsoft Ads, Criteo, Adobe and more.
- Terminal, CI or chat
- Run with your own API key or let an MCP chat app's model drive it.
Good for
- Run a tracking QA pass after each site release
- Find pixels that fire before cookie consent
- Catch purchase events with wrong value or currency
- Compare GA4 and Meta purchase values for the same order
- Trace a missing event back to its GTM trigger
Pricing
Open source
Free, MIT licence; you pay for your own model API usage
ai tag debugger FAQ
Do I need an API key?
From a terminal or CI, yes, for Anthropic, OpenAI, Gemini or an OpenAI-compatible API. From an MCP chat app, no.
Which tools does the MCP expose?
The README names start_audit and run_audit.
What languages are the reports in?
English or Turkish.
What licence is ai tag debugger?
MIT.
Can I limit which platforms are checked?
Yes, with --platforms, a providers setting in the config, or the providers argument on the MCP tools.
Is ai tag debugger free?
Yes. ai tag debugger is open source, so you can use and self-host it for free.
How do I add ai tag debugger to Claude Code?
Run this command in your terminal: claude mcp add ai-tag-debugger -- npx -y @analitikisler/ai-tag-debugger
What are the best alternatives to ai tag debugger?
The closest alternatives to ai tag debugger are REA, Browser Use, Scrapling MCP Server, Context7 and Chrome DevTools MCP.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


