Best MCP Servers for Marketing Analytics in Gemini & the Google AI Stack in 2026
A complete guide to the best MCP servers for marketing analytics across the Google AI stack — Gemini CLI, Antigravity, and Code Assist. SegmentStream for independent attribution, ROAS, and budget optimization, plus the ad-platform, SEO, CRM, and email connectors that feed it.
Sophie Renn · 17 June 2026 · 27 min read
Quick Answer
Why Marketing Teams Are Connecting MCP Servers to Gemini
What Gemini's MCP Stack Actually Requires
Antigravity (IDE + Antigravity CLI) — Primary Current Surface
serverUrl key with an Authorization header. Google's official docs at docs.cloud.google.com/data-cloud-extension/antigravity/use-mcp-servers walk through both the local and remote paths. One thing to flag honestly: Antigravity ships one-click integrations for first-party Google Cloud services — BigQuery, AlloyDB, Cloud SQL, Spanner, Dataplex, and Managed Apache Spark — so those connect without any config. Third-party servers like SegmentStream, Meta Ads MCP, or Ahrefs go through the remote MCP server path instead. There's no one-click "Connect" button for them yet, but the serverUrl config is a few lines.Gemini CLI (Legacy — retiring June 18, 2026 → Antigravity CLI)
~/.gemini/settings.json and dropping a server entry under mcpServers with the httpUrl key:{
"mcpServers": {
"segmentstream": {
"httpUrl": "https://mcp.segmentstream.com/mcp",
"headers": { "Authorization": "Bearer <token>" }
}
}
}
gemini mcp add --transport http segmentstream https://mcp.segmentstream.com/mcp --header "Authorization: Bearer <token>"
httpUrl, Antigravity uses serverUrl. Same endpoint, different config key. Get that wrong and the server won't register.Gemini Code Assist (VS Code / JetBrains)
~/.gemini/settings.json config as Gemini CLI on VS Code (with an equivalent config on JetBrains), so adding a remote MCP server uses the httpUrl key and an Authorization header, exactly like the CLI path above. This is the surface for a marketing engineer who wants attribution data inline while writing reporting scripts or dashboards.Gemini Enterprise (Google Cloud Console)
The Consumer Gemini App — What It Can't Do
The Critical Distinction: Read-Only vs Read-Write
| Capability | Read-Only MCP | Read-Write MCP |
|---|---|---|
| What the assistant can do | Query data, generate reports, analyze performance | Everything above PLUS execute changes, trigger actions, modify campaigns |
| Example | "Show me last week's Google Ads performance" | "Pause that underperforming campaign and shift $5K to Meta" |
| Read-only in this stack | Google Ads MCP (official), GA4, Ahrefs, Semrush | — |
| Read-write in this stack | — | SegmentStream, Meta Ads MCP, HubSpot, Klaviyo (configurable) |
How These Tools Were Selected
Comparison Table: All 8 Tools Side by Side
| # | Tool | Google Stack Integration | Attribution Approach | Incrementality | Budget Optimization | Composable / Warehouse-Native | AI Agent + MCP | Read/Write | Pricing |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SegmentStream | Antigravity / Gemini CLI / Code Assist / Enterprise | Independent cross-channel, warehouse-native | Yes (geo-holdout) | Yes (automated) | Yes (your cloud data warehouse) | Open MCP, every tier | Read-Write | Subscription |
| 2 | Google Ads MCP | Gemini CLI / Antigravity (hosted or tunnel) | Google self-reported only | No | No | No | Read-only connector | Read-Only | Free (open source) |
| 3 | Meta Ads MCP | Gemini CLI / Antigravity (remote) | Meta self-reported only | No | No | No | Read-write connector | Read-Write | Free (open beta) |
| 4 | GA4 MCP | Gemini CLI / Antigravity (hosted) | GA4 behavioral data only | No | No | No | Read-only connector | Read-Only | Free |
| 5 | Ahrefs MCP | Gemini CLI / Antigravity (verify) | SEO metrics only | No | No | No | Read-only connector | Read-Only | Paid plan (Lite+) |
| 6 | Semrush MCP | Gemini CLI / Antigravity (verify) | Competitive intel only | No | No | No | Read-only connector | Read-Only | Pro / Guru / Business (with API units) |
| 7 | HubSpot MCP | Gemini CLI / Antigravity (custom config) | CRM data only | No | No | No | Read-write connector | Read-Write | Included with HubSpot |
| 8 | Klaviyo MCP | Gemini CLI / Antigravity (verify) | Email/SMS data only | No | No | No | Read-write connector | Read-Write (configurable) | Included with Klaviyo |
1. SegmentStream — The Measurement Brain for the Google AI Stack

-
Composable and warehouse-native. Every other server here routes data through a vendor's machines. When Gemini queries Google Ads MCP, that data lives on Google's infrastructure in Google's format. SegmentStream runs on your own cloud data warehouse — your ad spend, your website behavior, and your CRM data flow into the warehouse you control, and SegmentStream computes attribution on top of that unified dataset. When Antigravity or Gemini CLI connects to SegmentStream's MCP, it's querying a measurement engine running on your data, not pulling fragments off a vendor's box. It's the same composable pattern Hightouch and RudderStack brought to the CDP world, applied to marketing measurement.
-
A comprehensive attribution stack, not a connector. SegmentStream exposes a full measurement engine over MCP:
- Cross-Channel Attribution for click-time, independently attributed ROAS across every channel — multi-touch attribution and revenue attribution that runs well past last-click
- Predictive Cross-Channel Attribution for projecting unconverted visitors
- Self-Reported Reattribution to capture dark-funnel channels like podcasts, word-of-mouth, and AI chat — at an 85–95% survey response rate when the prompt sits at registration or checkout
- Marginal Analytics for diminishing-returns curves per channel
- Incrementality Testing via geo-holdout experiments
- Automated Budget Allocation to turn those measurements into reallocation plans
- plus Server-Side Conversion Tracking and CRM Funnel Attribution
These are the modules that tell Gemini "which channels actually drove the revenue" instead of "here's what Google says Google drove." It's the marketing attribution layer that B2B, SaaS, PLG, B2C, and DTC teams rely on for cross-channel, pipeline-aware measurement when setting budgets. -
Agentic-AI-ready, open MCP. SegmentStream's MCP server isn't a closed in-product chatbot locked to one vendor's assistant — it's an open, standards-based server. Add
https://mcp.segmentstream.com/mcpas a remote MCP server in Antigravity, drop anhttpUrlline into Gemini CLI's settings, or wire it into Code Assist, and the assistant gets 100+ pre-built marketing measurement skills — bot-traffic detection, paid-channel ROAS ranking, geo-holdout interpretation, GA discrepancy diagnosis, audience-leakage audits — without any prompt engineering. The same endpoint serves Gemini CLI, Antigravity, Gemini Code Assist, and any other MCP client, instead of locking you into one vendor's assistant. AI Agent and MCP access is included on every plan tier.
Gemini Stack Connectivity
serverUrl: "https://mcp.segmentstream.com/mcp" with an Authorization header, following Google's official docs at docs.cloud.google.com/data-cloud-extension/antigravity/use-mcp-servers. The server uses Streamable HTTP with OAuth, so it meets the remote-server requirement directly — no tunnel.~/.gemini/settings.json and add a segmentstream entry under mcpServers with the httpUrl key pointing at https://mcp.segmentstream.com/mcp, plus an Authorization header. Or run gemini mcp add --transport http segmentstream https://mcp.segmentstream.com/mcp --header "Authorization: Bearer <token>".httpUrl approach as the CLI, in the VS Code or JetBrains config.Strengths
- One open endpoint across the whole Google stack — the same
https://mcp.segmentstream.com/mcpserver works as an Antigravity remote MCP server, a Gemini CLIhttpUrlentry, a Code Assist config, and a Gemini Enterprise Data Store connector. Set up the measurement layer once and it follows you through Google's migration from Gemini CLI to Antigravity. - Warehouse-native means the assistant queries YOUR data — the attribution outputs Gemini sees are computed on your ad spend, your CRM data, your website events, in your own BigQuery (or Snowflake/Databricks) — not cached in a third-party environment with someone else's schema.
- Independent of Google by principle — Google Ads MCP and GA4 MCP report Google's own attribution. SegmentStream sits outside Google's measurement system while running on Google's data infrastructure, so when Gemini asks "how much did Google Ads actually drive?", the answer doesn't come from Google.
- Read-write actions backed by independent measurement — Meta Ads MCP can execute, but it doesn't know which moves are worth making. SegmentStream's write access is different: every budget shift Gemini requests is grounded in independently attributed ROAS across all channels, marginal-return curves, and validated incrementality results — not a single platform's self-reported metric.
- 30+ ad-platform connectors behind one endpoint — Google, Meta, TikTok, LinkedIn, Pinterest, Snapchat, and more are already inside SegmentStream's data pipeline. One MCP connection gives Gemini the whole paid-media picture, no per-platform setup.
How It Complements the Rest of the Stack
2. Google Ads MCP — Official Google Ads Data

httpUrl requirement. The easier route for non-engineers is a hosted remote version — Otto runs one at https://googleads.hireotto.com/mcp that you paste into ~/.gemini/settings.json (CLI) or add as a remote server in Antigravity over OAuth.- Official Google product — authoritative Google Ads data with no third-party interpretation, and full GAQL support for granular queries.
- Free and open-source core — no licensing cost, with hosted options for non-technical users.
- Read-only by design — Google deliberately blocks writes, so the assistant can analyze but not pause campaigns or change bids.
- Official version needs a tunnel — local/stdio only, unless you use a hosted remote endpoint, which adds a third-party dependency.
- Reports Google's self-attributed numbers — Google grades its own contribution, with no independent cross-channel view.
3. Meta Ads MCP — Official Meta Campaign Management
https://mcp.facebook.com/ads — a public HTTPS server. Paste it as httpUrl in ~/.gemini/settings.json (Gemini CLI) or add it as a remote MCP server with serverUrl in Antigravity. Authentication uses your existing Meta Business login over OAuth, so there are no API tokens to manage and no tunnel needed.- Official Meta product, read-write — Meta's own server, with 29 tools that let the assistant execute across the full Marketing API, not just read.
- No tokens to manage — authentication is your existing Meta Business login over OAuth, with no developer app or app review, and it's free during the open beta.
- Reports Meta's own metrics — the conversions the assistant sees are Meta's self-attributed numbers, which run high by design.
- Open beta and Meta-only — still stabilizing as a beta release, and it covers nothing beyond Facebook and Instagram.
4. GA4 MCP — Web Analytics in Gemini

https://app.cogny.com/mcp that connects as an httpUrl entry (Gemini CLI) or a remote server in Antigravity with a bearer token. Google's official server can run remotely if deployed to Cloud Run, otherwise it needs a tunnel.- Official GA4 data surface — 200+ dimensions and metrics cover most web-analytics questions without leaving the assistant.
- No more export cycles — quick data checks happen in conversation instead of CSV downloads or Looker embeds.
- Read-only — the assistant can query GA4 but can't change configuration or build audiences.
- GA4 data sits on its own — it shows on-site behavior but doesn't connect ad spend to outcomes or measure across channels, and it reflects Google's own on-site model.
5. Ahrefs MCP — Live SEO Data

https://api.ahrefs.com/mcp/mcp over Streamable HTTP with OAuth — add it as httpUrl in ~/.gemini/settings.json or as a remote server in Antigravity. One caveat: Ahrefs' docs list several AI clients but don't explicitly confirm Gemini or Antigravity. The standard transport should work, so mark this verify before connecting and confirm at the time you set it up.- Official Ahrefs product — direct access to a deep SEO dataset, queried in plain language ("which keywords did this competitor gain in the last 30 days?").
- Remote server with OAuth — no local install required.
- Read-only — the assistant can read SEO data but can't add keywords to tracking or modify projects.
- Requires a paid Ahrefs subscription — MCP access is included on paid plans starting from Lite, and it covers SEO metrics only.
- Gemini/Antigravity support unconfirmed — not explicitly listed in Ahrefs' docs, so verify at setup.
6. Semrush MCP — Competitive Intelligence

https://mcp.semrush.com/v1/mcp over OAuth — add it as httpUrl in the Gemini CLI settings or as a remote server in Antigravity. Semrush's docs confirm MCP support but list other AI clients without naming Gemini, so mark this verify before connecting and confirm at setup.- Two data surfaces in one connector — SEO data plus market and audience intelligence that goes past keyword rankings.
- OAuth-based remote server — connect through the auth flow, no local installation.
- Read-only — strategy and benchmarking data, with no project management or campaign control.
- Subscription barrier — requires API units, available on Pro and Guru plans as well as Business, so it's not on entry-level free tiers.
- Gemini/Antigravity support unconfirmed — verify the endpoint at setup.
7. HubSpot MCP — CRM Pipeline Data

httpUrl in ~/.gemini/settings.json (CLI) or as a remote server in Antigravity. Worth noting: HubSpot does not have a first-party Gemini connector, so on the Google stack it connects through the custom config path rather than a one-click listing. Gemini Enterprise users may find HubSpot available via the Workspace connector catalog — verify for enterprise.- Read-write GA — creates records and logs engagements, not just reads — covers 12 CRM object types including contacts, companies, deals, tickets, and orders.
- Free for HubSpot subscribers — the MCP server is included with the subscription.
- HubSpot-only — surfaces CRM pipeline but doesn't attribute marketing spend to it.
- No first-party Gemini connector — requires manual config rather than a one-click connection.
- Scoped to account permissions — access mirrors the connected user's HubSpot permissions.
8. Klaviyo MCP — Email and SMS Analytics

httpUrl in the Gemini CLI settings or as a remote server in Antigravity. Klaviyo's docs confirm MCP support but don't explicitly list Gemini or Antigravity yet, so mark this verify before connecting.- Free for Klaviyo subscribers — retention-marketing data included with the subscription, queried in conversation.
- Lifecycle coverage — email and SMS flow analytics that paid-media MCPs leave out.
- Read-Write (configurable) — includes write tools (create_campaign, update_profile, create_event) by default, with an optional read-only mode if you want to restrict the assistant to analysis only.
- Klaviyo-only, email/SMS focus — no paid-acquisition attribution.
- Gemini/Antigravity support unconfirmed — verify at setup.
Complete Your Gemini Marketing Stack
- Zapier MCP — workflow automation reaching 9,000+ apps. Connects as a remote MCP server (
https://mcp.zapier.com/api/v1/connect) in Gemini CLI or Antigravity, with a free tier. The assistant can fire a Zapier workflow to route a lead, sync a change, or alert the team — turning a SegmentStream measurement into an action without leaving the chat. - Slack MCP — team communication and the distribution layer. The assistant drafts an insight from SegmentStream's data and posts it to #paid-media. Connect via the remote endpoint — verify the current path at setup.
- Google Sheets MCP — spreadsheet reporting where a lot of marketing reporting still lives. As a Google service it may connect through the Workspace integration in the Google stack — verify at setup. The assistant pulls attributed numbers and populates the weekly template automatically.
- BigQuery MCP — the data warehouse layer, and a first-party one-click integration in Antigravity. Since SegmentStream is warehouse-native, its attribution outputs already live in BigQuery — this lets the assistant drop down to raw SQL against that same data without a separate connection.
- Shopify MCP — commerce infrastructure. Each store has an auto-enabled remote endpoint (verify the exact path at setup). It feeds the assistant the product, pricing, and order side, so "which campaigns drove sales of Product X?" pairs commerce data with SegmentStream's attribution.
What Users Actually Do with Marketing MCP Servers in Gemini
- Morning performance review: "Show me yesterday's cross-channel ROAS — which campaigns slipped?" Gemini pulls attributed numbers from SegmentStream, not Google's or Meta's self-reports, and flags where CPA jumped.
- Budget reallocation: "Move $10K from the weak Google Search campaigns into the top Meta ad sets." With SegmentStream's read-write measurement, Gemini models the marginal return and executes the shift with a projected revenue impact.
- Anomaly diagnosis: "Why did Meta CPA climb 40% this week?" The assistant runs root-cause analysis on attribution-adjusted data — creative fatigue, audience saturation, or just Meta overclaiming.
- The Google self-report check: "Google Ads says it drove 320 conversions last week — how many did it actually drive?" SegmentStream answers with independently attributed numbers, so Gemini isn't taking Google's word for Google's own performance.
- Scheduled measurement in Antigravity: the same SegmentStream MCP that answers those questions gets called from an Antigravity agent task — pull last week's attributed ROAS, check it against the marginal-return curve, draft a reallocation plan, and open it for review. The conversation becomes a scheduled job.
How to Choose
- Is your data on one platform or many? If you spend across Google, Meta, TikTok, and more, a single-platform connector won't give the assistant an honest cross-channel ROAS. You need a measurement layer that stitches them.
- Is your stack all Google-native? This is the trap specific to Gemini. If every connector you've added reports Google's own attribution, you've asked Google to grade Google. You need at least one server that measures Google's performance independently.
- Do you need the assistant to analyze, or to act? Read-only connectors make Gemini a reporting tool. Read-write makes it an operating partner — but only the measurement-grounded kind acts wisely.
- Which surface are you on? Antigravity and Gemini CLI take custom MCP servers. Gemini Enterprise uses the Cloud Console path. The consumer Gemini app doesn't take custom servers at all. Match the tool to the surface before you start.
- Will you automate it? If yes, you'll want a server with a clean remote endpoint that drops straight into an Antigravity agent task. That's where chat workflows become scheduled ones.