google-meta-ads-ga4-mcp
Enables managing Facebook advertising through Meta Ads, including campaign creation, audience targeting, creative uploads, and performance reporting.
Provides tools for managing Google Ads campaigns, keywords, bidding, budgets, ad creation, audiences, performance analytics, extensions, experiments, negative keywords, labels, and conversion tracking.
Provides tools for Google Analytics 4, including standard, pivot, and realtime reports, audience analysis, property configuration, attribution, key events, integrations, annotations, and metadata.
Enables managing Instagram advertising through Meta Ads, including campaign creation, audience targeting, creative uploads, and performance reporting.
Provides tools for managing Meta Ads accounts, including campaigns, ad sets, creatives, audiences, lead generation, product catalogs, performance insights, pages, and business management via the Meta Marketing API.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@google-meta-ads-ga4-mcpCompare last week's ad performance across Google Ads and Meta Ads"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Google Ads MCP + Meta Ads MCP + GA4 — one unified MCP server
Google Ads MCP, Meta Ads (Facebook/Instagram) MCP, and Google Analytics 4 in a single server for Claude, ChatGPT, Cursor, Windsurf & n8n — 250+ tools, hosted remote MCP, OAuth login, no API keys.
Watch: Google Ads & Meta Ads Account Audit with Claude MCP
See how to run a full Google Ads and Meta Ads account audit using Claude with MCP — from data pull to automated audit report and presentation, in minutes instead of hours.
https://github.com/user-attachments/assets/2f931292-a3af-4010-a72e-38b8cf6e62ba
What you'll see: Connect your ad accounts → Claude analyzes campaign performance, budget efficiency, and targeting gaps across Google Ads & Meta Ads → generates a complete audit report with recommendations → builds a ready-to-share presentation. Try it free on Ryze AI →
One MCP server. Three platforms. 250+ tools. Manage all your advertising and analytics from ChatGPT, Claude, Cursor, n8n, Windsurf, and more. Powered by Ryze AI.
What is this?
The Model Context Protocol (MCP) is the open standard that lets AI assistants like Claude and ChatGPT securely use external tools. This repo is a Google Ads MCP, a Meta Ads MCP, and a GA4 MCP in one server: it exposes the Google Ads API, Meta Marketing API, and Google Analytics 4 Data API as MCP tools, so you create campaigns, research keywords, upload creatives, build audiences, and pull performance reports by chatting with your AI assistant instead of clicking through three dashboards.
Why This Exists
Marketers and agencies juggle Google Ads, Meta Ads, and GA4 daily — each with its own dashboard, API, and workflow. Existing MCP servers only cover one platform at a time, forcing you to install and configure multiple tools.
This server unifies everything:
Problem | Solution |
Separate MCP servers per platform | One server, all platforms |
Complex local setup with API keys | Remote MCP — connect in 2 minutes |
Read-only access (official Google MCP) | Full read + write across all platforms |
No analytics integration | GA4 built-in for data-driven decisions |
Related MCP server: adops-mcp
Works With
AI Assistant | Status | Setup Guide |
ChatGPT | Supported | |
Claude Desktop | Supported | |
Claude Code | Supported | |
Cursor | Supported | |
Windsurf | Supported | |
n8n | Supported | |
Codex CLI | Supported | |
Gemini CLI | Supported | |
Cline | Supported |
Features
Google Ads (150+ tools)
Campaign Management — Create, update, pause, and delete Search, Display, Shopping, PMax, Demand Gen, Video, and App campaigns
Keyword Research — Keyword Planner integration with volume, CPC, and competition data
Bidding & Budgets — Portfolio strategies, shared budgets, bid adjustments by device/location/schedule
Ad Creation — Responsive Search Ads, Display Ads, Demand Gen Ads, App Ads with full creative control
Audience Targeting — Custom audiences, remarketing lists, customer match, combined audiences
Performance Analytics — Campaign/ad group/keyword/ad-level metrics, search terms, ROAS calculations
Extensions — Sitelinks, callouts, calls, images, prices, promotions, structured snippets, lead forms
Experiments — A/B testing with experiment creation, scheduling, and promotion
Negative Keywords — Campaign-level, shared sets, auto-suggestions
Labels & Organization — Create and apply labels across campaigns, ad groups, and ads
Conversion Tracking — Create actions, upload conversions, custom variables, value rules
Meta Ads (80+ tools)
Campaign CRUD — Create, read, update, and delete campaigns with full objective support
Ad Set Management — Budget, schedule, placement, and optimization controls
Creative Management — Ad creatives, image/video upload, carousel and collection formats
Audience Targeting — Custom audiences, lookalikes, interest/behavior/demographic targeting
Lead Generation — Lead forms, lead retrieval, test leads
Product Catalogs — Catalog management, product feeds, product sets
Performance Insights — Account/campaign/ad set/ad-level metrics with breakdowns
Page Management — Page posts, promotable posts, page insights, boosted posts
Business Management — Business info, users, pages, Instagram accounts, pixels
Google Analytics 4 (20+ tools)
Reporting — Run standard reports, pivot reports, and realtime reports
Audience Analysis — List audiences, channel groups, and segments
Property Configuration — Data streams, enhanced measurement, data retention settings
Attribution — Attribution settings and model configuration
Key Events — List and analyze conversion events
Integrations — BigQuery links, DV360 links, Search Ads links, Firebase links
Annotations — Property-level annotations for tracking changes
Metadata — Available dimensions, metrics, and compatibility checks
Cross-Platform Capabilities
Compare Google Ads vs Meta Ads campaign performance side by side
Correlate ad spend with GA4 conversion data
Unified ROAS analysis across platforms
Cross-platform budget allocation recommendations
Quick Start
Claude Desktop (Recommended)
Add to your claude_desktop_config.json:
{
"mcpServers": {
"google-meta-ads-ga4": {
"url": "https://mcp.get-ryze.ai/mcp"
}
}
}Config file location:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
See the full Claude Setup Guide for detailed instructions.
ChatGPT
Go to Settings > Connectors > Add custom connector
Enter the MCP endpoint URL:
https://mcp.get-ryze.ai/mcpName it
Google Meta Ads GA4Click Save
See the full ChatGPT Setup Guide.
Cursor / Windsurf
Add to your MCP config (~/.cursor/mcp.json or ~/.codeium/windsurf/mcp_config.json):
{
"mcpServers": {
"google-meta-ads-ga4": {
"url": "https://mcp.get-ryze.ai/mcp"
}
}
}n8n
Use the MCP Server Trigger node with Streamable HTTP:
Add an MCP Client node to your workflow
Set the Server URL to:
https://mcp.get-ryze.ai/mcpEnable Bearer authentication (recommended)
See the full n8n Setup Guide or import the ready-made workflow template.
Claude Code
claude mcp add google-meta-ads-ga4 --transport http https://mcp.get-ryze.ai/mcpExample Prompts
Google Ads
"Show me all my Google Ads campaigns and their performance this month"
"Create a new Search campaign targeting 'best CRM software' keywords with a $50/day budget"
"What are my top 10 keywords by conversions in the last 30 days?"
"Pause all campaigns with ROAS below 2.0"
"Add negative keywords 'free' and 'cheap' to all my Search campaigns"
"Generate keyword ideas for 'project management tools' with volume data"Meta Ads
"List all active Meta ad campaigns and their spend this week"
"Create a lookalike audience based on my top purchasers"
"What's the CPL for my lead generation campaigns on Facebook?"
"Upload this image and create a new ad creative for my awareness campaign"
"Show me ad performance broken down by age and gender"
"Boost my latest page post with a $100 budget targeting US users"Google Analytics 4
"Show me a realtime report of active users on my website right now"
"What are my top traffic sources by conversions this month?"
"List all key events configured in my GA4 property"
"Run a report comparing organic vs paid traffic for the last 90 days"
"What custom dimensions and metrics do I have set up?"Cross-Platform
"Compare my Google Ads and Meta Ads ROAS for Q1 2026"
"Which platform is driving more conversions per dollar spent?"
"Show me all campaigns across Google and Meta with spend over $1000 this month"
"Correlate my GA4 conversion events with Google Ads campaign performance"Architecture
+------------------+ +------------------------+ +------------------+
| | | | | |
| ChatGPT | | | | Google Ads API |
| Claude | | MCP Server | | |
| Cursor +---->+ (Remote/Hosted) +---->+ Meta Ads API |
| n8n | | | | |
| Windsurf | | 250+ Tools | | GA4 Data API |
| Codex | | OAuth 2.1 + PKCE | | |
| | | | | |
+------------------+ +------------------------+ +------------------+
AI Assistants Model Context Protocol Ad & Analytics
PlatformsYour AI assistant communicates with this MCP server using the Model Context Protocol. The server handles authentication and routes requests to the appropriate Google Ads, Meta Ads, or GA4 API.
All Available Tools
Account & Campaign Management
Tool | Description |
| List all accessible Google Ads accounts |
| Get detailed account information |
| View account hierarchy (MCC structure) |
| List all campaigns with status and metrics |
| Get detailed campaign information |
| Create a new Search campaign |
| Create a new Display campaign |
| Create a new Shopping campaign |
| Create a Performance Max campaign |
| Create a Demand Gen campaign |
| Create an App campaign |
| Duplicate an existing campaign |
| Update campaign settings |
| Pause a campaign |
| Resume a paused campaign |
| Delete a campaign |
Ad Groups & Ads
Tool | Description |
| List ad groups in a campaign |
| Create a new ad group |
| Update ad group settings |
| Pause an ad group |
| Enable an ad group |
| Delete an ad group |
| List ads in an ad group |
| Get ad details |
| Create a Responsive Search Ad |
| Create a Responsive Display Ad |
| Create a Demand Gen ad |
| Update an ad |
| Pause an ad |
| Enable an ad |
| Delete an ad |
Keywords & Targeting
Tool | Description |
| List keywords in an ad group |
| Add keywords to an ad group |
| Update keyword bids |
| Pause a keyword |
| Enable a keyword |
| Delete a keyword |
| Get keyword ideas with volume data |
| Add negative keywords |
| Add campaign-level negatives |
| AI-suggested negative keywords |
| Search terms report |
| Add audience targeting |
| Set demographic targets |
| Add location targeting |
| Search for geo targets |
Bidding & Budgets
Tool | Description |
| List all budgets |
| Create a new budget |
| Update budget amount |
| List bidding strategies |
| Create portfolio strategy |
| Set bid adjustments |
| Bid adjustment performance |
Extensions
Tool | Description |
| Create sitelink extensions |
| Create callout extensions |
| Create call extensions |
| Create image extensions |
| Create price extensions |
| Create promotion extensions |
| Create structured snippets |
| Create lead form extensions |
| List all extensions |
Performance & Analytics
Tool | Description |
| Campaign performance overview |
| Keyword performance metrics |
| Performance by device |
| Performance by location |
| Audience performance |
| Ad strength scores |
| ROAS calculation per ad |
| Compare ad variants |
| AI optimization suggestions |
| Run custom GAQL queries |
Advanced Features
Tool | Description |
| Create A/B test experiment |
| Schedule experiment run |
| Promote winning variant |
| Create conversion action |
| Upload offline conversions |
| Create shared keyword set |
| Create organizational label |
| Create custom audience |
| Create remarketing tag |
Account & Campaign Management
Tool | Description |
| List all Meta ad accounts |
| Get ad account details |
| List all campaigns |
| Get campaign details |
| Create a new campaign |
| Update campaign settings |
| Delete a campaign |
Ad Sets & Ads
Tool | Description |
| List ad sets |
| Get ad set details |
| Create an ad set |
| Update ad set |
| Delete an ad set |
| List ads |
| Get ad details |
| Create an ad |
| Update an ad |
| Delete an ad |
Creatives & Assets
Tool | Description |
| List ad creatives |
| Create ad creative |
| Update ad creative |
| Delete ad creative |
| Upload ad image |
| Upload ad video |
| Batch upload images |
| Get image details |
| Preview ad creatives |
Audiences & Targeting
Tool | Description |
| Create custom audience |
| Create lookalike audience |
| Estimate audience reach |
| Search interest targets |
| Search behavior targets |
| Search demographic targets |
| Search geo locations |
| Interest suggestions |
Performance & Insights
Tool | Description |
| Get performance insights |
| Page-level insights |
| List page posts |
| Get promotable posts |
| Boost a page post |
Lead Generation
Tool | Description |
| List lead forms |
| Lead form details |
| Get form submissions |
| Create lead form |
| Create test lead |
Product Catalogs
Tool | Description |
| List catalogs |
| List products |
| Create product |
| Batch update products |
| Create product feed |
| Create product set |
Business Management
Tool | Description |
| Get business details |
| List business users |
| List business pages |
| Business ad accounts |
| Instagram accounts |
| List pixels |
Tool | Description |
| List all GA4 accounts and properties |
| Get property configuration |
| Run a standard report |
| Run a pivot table report |
| Run a realtime report |
| Run multiple reports at once |
| Get available dimensions and metrics |
| Check dimension/metric compatibility |
| List configured audiences |
| List key events (conversions) |
| List data streams |
| List channel groups |
| Custom dimensions/metrics |
| Attribution model settings |
| Enhanced measurement config |
| Data retention settings |
| Google Signals status |
| BigQuery export links |
| DV360 integration links |
| Firebase integration links |
| Search Ads 360 links |
| Property annotations |
Tool | Description |
| Search Google for market research |
| Analyze any webpage |
| Extract images from URLs |
| Download and resize images |
| Search stock image libraries |
| Analyze landing pages |
Security & Privacy
OAuth 2.1 with PKCE — Industry-standard authentication
No data storage — The server does not store your ad data or credentials
Your tokens stay local — Authentication tokens are stored on your machine only
Read-only by default — Write operations require explicit confirmation
Scoped access — Request only the permissions you need
FAQ
No. The MCP server handles authentication via OAuth. You'll be prompted to connect your Google and Meta accounts on first use.
Yes, the MCP server is free. You only pay for the AI assistant you use (ChatGPT, Claude, etc.) and any ad spend on the platforms.
Yes! See the n8n Setup Guide for Streamable HTTP integration, or import our ready-made workflow template.
Yes. The get_account_hierarchy and list_accounts tools support MCC structures, letting you manage multiple accounts from one connection.
Yes. Use run_gaql_query for Google Ads (GAQL) and meta_fetch for Meta Ads to run custom API queries.
The server respects Google and Meta API rate limits automatically. For high-volume operations, use batch tools like add_batch_campaign_operations and meta_batch_update_catalog_products.
Contributing
Contributions are welcome! Please see our issue templates to report bugs or request features.
Fork this repository
Create your feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
Star History
If this project helps you manage ads more efficiently, please give it a star! It helps others discover it.
License
This project is licensed under the MIT License — see the LICENSE file for details.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
FlicenseNot gradedqualityFmaintenanceMCP server for managing Google Ads, Meta Ads, LinkedIn Ads, and TikTok Ads via AI. 210+ tools including account audits, wasted spend detection, and PMax insights.2- AlicenseAqualityBmaintenanceCross-platform ad management MCP server for Google Ads and Meta Ads. Campaign analytics, A/B testing with z-test, anomaly detection, and budget reallocation. 15 tools, 60 tests.1784MIT
- AlicenseNot gradedqualityCmaintenanceUnified MCP server for managing Meta Ads, LinkedIn Ads, Google Ads, GA4, and Search Console with 89 read/write tools, multi-account support, OAuth setup, and safe dry-run mutations.MIT
- AlicenseNot gradedqualityBmaintenanceA unified MCP server for marketing analytics and management across Google Ads, Meta Ads, GA4, and keyword research, supporting multi-client rollups and platform-conditional credential requirements.MIT
Related MCP Connectors
Manage Google, Meta, Amazon, TikTok, LinkedIn & ChatGPT ads. 430 tools for campaigns & analytics.
Run ads on Google, Meta, LinkedIn, TikTok and more from AI. 430+ tools across 13 platforms.
Manage ad campaigns across Google, Meta, LinkedIn, Reddit, TikTok, and more via AI.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/irinabuht12-oss/google-meta-ads-ga4-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server