Install Samarth Analytics in Claude Code
claude mcp add samarth-analytics -e GOOGLE_OAUTH_CLIENT_ID=... -e GOOGLE_OAUTH_CLIENT_SECRET=... -- npx -y samarth-gtm-mcp{
"mcpServers": {
"samarth-analytics": {
"command": "npx",
"args": [
"-y",
"samarth-gtm-mcp"
],
"env": {
"GOOGLE_OAUTH_CLIENT_ID": "...",
"GOOGLE_OAUTH_CLIENT_SECRET": "..."
}
}
}
}Replace each ... with your own value.
Frequently asked questions
What does the Samarth Analytics MCP server do?
Google Tag Manager + read-only GA4 MCP server. Read-only by default, gated writes, audits.
Is the Samarth Analytics MCP server free?
The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.
Does Samarth Analytics run locally or remotely?
Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.
How do I add Samarth Analytics to Claude Code?
Run: claude mcp add samarth-analytics -e GOOGLE_OAUTH_CLIENT_ID=... -e GOOGLE_OAUTH_CLIENT_SECRET=... -- npx -y samarth-gtm-mcp
More marketing MCP servers
View allYandex Direct
askads/mcp-yandex-direct
Yandex Direct API: manage PPC campaigns, ad groups, ads, keywords, bid modifiers, sitelinks, callouts and vCards, and pull statistics.
Portkey Admin
s-b-e-n-s-o-n/portkey-admin-mcp
Full Portkey Admin API MCP server — configs, prompts, keys, analytics, and more.
Yandex Direct
gistrec/mcp-yandex-direct
MCP server for Yandex Direct API v5: manage PPC campaigns, ads, keywords, and statistics.
Meta Ads
mikusnuz/meta-ads-mcp
Meta Marketing API: manage Facebook and Instagram ad campaigns, audiences, creatives, insights, catalogs and automated rules.
Mureo
logly/mureo
Local-first framework for operating Google Ads, Meta Ads and Search Console, grounded in a local STRATEGY.md file.
Analook
Gingiris-1031/Competitor-analysis-tool
Competitor intelligence for AI agents — SEO, traffic, social, Product Hunt, pricing, AI insights.