Google Meta Ads GA4
MCP server for Google Ads, Meta Ads & GA4 — works with ChatGPT, Claude, Cursor, n8n, Windsurf & more. 250+ tools for campaign management, analytics & optimization.
What is Google Meta Ads GA4?
Google Meta Ads GA4 is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server for google ads, meta ads & ga4 — works with chatgpt, claude, cursor, n8n, windsurf & more. 250+ tools for campaign management, analytics & optimization.
MCP server for Google Ads, Meta Ads & GA4 — works with ChatGPT, Claude, Cursor, n8n, Windsurf & more. 250+ tools for campaign management, analytics & optimization.
This server falls under the Marketing & SEO and Analytics categories on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- MCP server for Google Ads, Meta Ads & GA4 — works with ChatG
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx google-meta-ads-ga4Configuration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Google Meta Ads GA4
The Google Meta Ads GA4 MCP server gives AI assistants direct access to over 250 advertising and analytics tools spanning Google Ads, Meta Ads, and Google Analytics 4. It connects to live ad accounts via OAuth 2.1 authentication so you can manage campaigns, pull performance reports, and run cross-platform analysis entirely through natural language. Teams use it to automate routine optimizations like pausing under-performing campaigns, building lookalike audiences, and comparing ROAS across channels without leaving their AI client.
Prerequisites
- An MCP-compatible client such as Claude Desktop, Cursor, or Windsurf
- Active Google Ads and/or Meta Ads accounts with appropriate access permissions
- A Google Analytics 4 property (for GA4 features)
- The MCP endpoint URL provided after signing up at the service portal
- A modern browser available for the OAuth 2.1 PKCE authentication flow
Obtain your MCP endpoint URL
Sign up or log in at the google-meta-ads-ga4 service portal to receive your personal MCP endpoint URL. This URL encodes your account identity and is used in place of raw API keys.
Add the server to Claude Desktop
Open claude_desktop_config.json and add a new entry under mcpServers. Replace YOUR_MCP_ENDPOINT_URL with the URL from the previous step.
{
"mcpServers": {
"google-meta-ads-ga4": {
"url": "YOUR_MCP_ENDPOINT_URL"
}
}
}Add the server via Claude Code CLI (alternative)
If you use Claude Code instead of Claude Desktop, register the server with a single CLI command.
claude mcp add google-meta-ads-ga4 --transport sse YOUR_MCP_ENDPOINT_URLConnect with Cursor or Windsurf
Add the server to the relevant config file for your editor. For Cursor use ~/.cursor/mcp.json; for Windsurf use ~/.codeium/windsurf/mcp_config.json.
{
"mcpServers": {
"google-meta-ads-ga4": {
"url": "YOUR_MCP_ENDPOINT_URL"
}
}
}Authenticate via OAuth
On first use, the server will prompt you to complete an OAuth 2.1 PKCE browser flow to authorize access to your Google Ads, Meta Ads, and GA4 accounts. Follow the browser prompts to grant the required permissions.
Test the connection
Ask your AI client a simple question about your ad campaigns to confirm the integration is working and the server can retrieve live data.
Google Meta Ads GA4 Examples
Client configuration
Claude Desktop config block using the SSE endpoint URL.
{
"mcpServers": {
"google-meta-ads-ga4": {
"url": "YOUR_MCP_ENDPOINT_URL"
}
}
}Prompts to try
Example natural-language prompts you can send once the server is connected.
- "Show me all my Google Ads campaigns and their performance this month"
- "Create a lookalike audience based on my top purchasers in Meta Ads"
- "Compare my Google Ads and Meta Ads ROAS for Q1 2026"
- "What are my top traffic sources by conversions this month in GA4?"
- "Pause all campaigns with a ROAS below 2.0"Troubleshooting Google Meta Ads GA4
OAuth flow does not complete or access is denied
Ensure you are logged into the correct Google or Meta account that owns the ad accounts, and that you have Admin or Standard access. Try opening the OAuth URL in an incognito window to avoid cached credential conflicts.
Tools return empty results for campaigns
Confirm the ad account IDs linked during OAuth match the accounts you expect. If you manage multiple accounts, check that the correct manager/MCC account was authorized.
Server URL rejected by the MCP client
Some clients require the transport type to be explicitly set to 'sse'. In Claude Code CLI use the --transport sse flag. In config files confirm the key is 'url' not 'command'.
Frequently Asked Questions about Google Meta Ads GA4
What is Google Meta Ads GA4?
Google Meta Ads GA4 is a Model Context Protocol (MCP) server that mcp server for google ads, meta ads & ga4 — works with chatgpt, claude, cursor, n8n, windsurf & more. 250+ tools for campaign management, analytics & optimization. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Google Meta Ads GA4?
Follow the installation instructions on the Google Meta Ads GA4 GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Google Meta Ads GA4?
Google Meta Ads GA4 works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Google Meta Ads GA4 free to use?
Yes, Google Meta Ads GA4 is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Google Meta Ads GA4 Alternatives — Similar Marketing & SEO Servers
Looking for alternatives to Google Meta Ads GA4? Here are other popular marketing & seo servers you can use with Claude, Cursor, and VS Code.
TopRank
★ 2.6kGoogle Ads analysis and operations — read performance, manage keywords, bids, and campaigns.
Open SEO
★ 2.1kOpen source alternative to Semrush and Ahrefs
ASO Skills
★ 1.4kAI agent skills for App Store Optimization (ASO) and app marketing. Built for indie developers, app marketers, and growth teams who want Cursor, Claude Code, or any Agent Skills-compatible AI assistant to help with keyword research, metadata optimiza
Meta Ads
★ 923A Model Context Protocol server that allows AI models to access, analyze, and manage Meta advertising campaigns, enabling LLMs to retrieve performance data, visualize ad creatives, and provide strategic insights for Facebook and Instagram platforms.
Google Search Console
★ 882Connects Google Search Console with Claude AI to enable SEO professionals to analyze their SEO data through natural language conversations, providing access to property information, search analytics, URL inspection, and sitemap management.
MCP GSC
★ 875Google Search Console Insights with Claude AI for SEOs
Browse More Marketing & SEO MCP Servers
Explore all marketing & seo servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Google Meta Ads GA4 in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Google Meta Ads GA4?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.