MCP Google Ads Server

Multi-account Google Ads MCP: campaign metrics, keywords, search terms, and ad performance analytics.

Documentation

mcp-google-ads

Multi-account Google Ads MCP server. Connect any number of Google Ads accounts to Claude, Cursor, Codex, or any MCP-compatible AI assistant — query campaign performance, keywords, search terms, and account analytics by name in the same session.

# Install:  uvx mcp-google-ads-multi

# Ask your AI:
"Show me campaign performance for account my-client last month"
"What search terms drove conversions for client-acme in Q2?"
"Compare my-account's spend between January and February"
"Which keywords have quality scores below 5 for campaign 123?"

Why this one?

Most Google Ads MCP servers support one account per server process. This one lets you configure multiple accounts and switch between them per tool call — no restart needed.

FeatureThis serverOthers
Multiple accountsYes — named, switchableNo — one per process
OAuth + service accountBoth, mixed per accountUsually one type
Quality score dataYesRarely
Search terms reportYesSometimes
Rate limit retryYes — exponential backoffNo
SSE transport (remote)YesVaries

Quickstart

1. Get a developer token — apply at Google Ads API Center (free, ~3 business days)

2. Create OAuth credentialsGoogle Cloud Console → Enable Google Ads API → Credentials → OAuth client ID → Desktop app

3. Create your accounts config:

mkdir -p ~/.config/mcp-google-ads
cp accounts.example.json ~/.config/mcp-google-ads/accounts.json
# Edit it — add your accounts

4. Add to your MCP client config:

{
  "mcpServers": {
    "google-ads": {
      "command": "uvx",
      "args": ["mcp-google-ads-multi"],
      "env": {
        "GOOGLE_ADS_DEVELOPER_TOKEN": "your-developer-token",
        "GOOGLE_ADS_ACCOUNTS_CONFIG": "/Users/you/.config/mcp-google-ads/accounts.json"
      }
    }
  }
}

5. Restart your AI client. Done.


Accounts config

{
  "default": "my-account",
  "accounts": {
    "my-account": {
      "type": "oauth",
      "client_id": "YOUR_CLIENT_ID.apps.googleusercontent.com",
      "client_secret": "YOUR_CLIENT_SECRET",
      "token_file": "~/.config/mcp-google-ads/my-account.token"
    },
    "client-acme": {
      "type": "oauth",
      "client_id": "YOUR_CLIENT_ID.apps.googleusercontent.com",
      "client_secret": "YOUR_CLIENT_SECRET",
      "token_file": "~/.config/mcp-google-ads/client-acme.token"
    }
  }
}

Set GOOGLE_ADS_DEVELOPER_TOKEN in your environment. All other credentials stay local.


Available tools

ToolWhat it does
list_accountsShow all configured accounts
set_default_accountChange the default account
list_customersList all accessible Google Ads accounts under your login
get_account_summaryTotal clicks, cost, conversions for a period
list_campaignsAll campaigns with status, budget, 30-day metrics
get_campaign_performanceCampaign metrics for any date range
compare_periodsTwo date ranges side-by-side with deltas
get_keyword_performanceKeyword metrics + quality scores
search_terms_reportActual search queries that triggered your ads
get_ad_performanceAd-level CTR and conversions

Environment variables

VariableDefaultDescription
GOOGLE_ADS_DEVELOPER_TOKENrequiredYour Google Ads API developer token
GOOGLE_ADS_ACCOUNTS_CONFIG~/.config/mcp-google-ads/accounts.jsonPath to accounts config
MCP_TRANSPORTstdioSet to sse for remote deployment
MCP_HOST127.0.0.1SSE bind host
MCP_PORT3001SSE bind port

License

MIT