Skip to main content
Glama
YerayRodri

google-ads-kw-mcp

by YerayRodri

google-ads-kw-mcp

MCP server that exposes Google Ads keyword search volumes to AI agents — a free alternative to paid keyword-volume APIs, using the same KeywordPlanIdeaService that powers Google's Keyword Planner.

Why this instead of the official Google Ads MCP?

The official Google Ads MCP talks GAQL/REST and can't query KeywordPlanIdeaService. This server is complementary, not a duplicate — use it specifically for search volume, and the official one (or google-ads-write-mcp) for everything else.

Related MCP server: google-ads-transparency-mcp

Tools

get_keyword_volumes

Returns search volume data for an array of keywords.

Param

Type

Default

Description

keywords

list[str]

required

Max 20 keywords per call

customer_id

str

required

Google Ads account ID (no dashes)

country

str

"ES"

ISO country code (see list_keyword_countries)

language

str

"es"

Language code (es, en, fr, de, it, pt, nl, ja, zh, ru, ar)

Response:

[
  {
    "keyword": "surf lessons",
    "avg_monthly_searches": 480,
    "competition": "MEDIUM",
    "competition_index": 38,
    "low_top_of_page_bid_micros": 206702,
    "high_top_of_page_bid_micros": 980973
  }
]

list_keyword_countries

Returns the 20 supported countries (ISO code → name).

Setup

You need a Google Ads developer token (Standard Access is enough) and an OAuth client authorized against your Google Ads MCC/account. If you already have a google-ads.yaml from the Google Ads API client library, you can adapt its client_id/client_secret/refresh_token into the JSON format below.

  1. Install dependencies:

    python3 -m venv .venv
    source .venv/bin/activate
    pip install -r requirements.txt
  2. Create ~/.config/google-ads-mcp/credentials.json:

    {
      "client_id": "...",
      "client_secret": "...",
      "refresh_token": "..."
    }

MCP client configuration

{
  "mcpServers": {
    "google-ads-kw": {
      "command": "/path/to/.venv/bin/python3",
      "args": ["/path/to/google-ads-kw-mcp/server.py"],
      "env": {
        "GOOGLE_ADS_CREDENTIALS_PATH": "~/.config/google-ads-mcp/credentials.json",
        "GOOGLE_ADS_DEVELOPER_TOKEN": "<your developer token>",
        "GOOGLE_ADS_LOGIN_CUSTOMER_ID": "<your MCC customer id, no dashes>"
      }
    }
  }
}

Env var

Purpose

GOOGLE_ADS_CREDENTIALS_PATH

Path to the credentials JSON (default: ~/.config/google-ads-mcp/credentials.json)

GOOGLE_ADS_DEVELOPER_TOKEN

Your Google Ads developer token

GOOGLE_ADS_LOGIN_CUSTOMER_ID

Your MCC/login customer ID, no dashes

Limits

  • Max 20 keywords per call (API limit).

  • Long-tail keywords may return avg_monthly_searches: 0 if Google Ads doesn't have enough data.

  • Free quota is generous (~15,000 ops/day for standard accounts) — plenty for this use case.

License

MIT — see LICENSE.

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • F
    license
    -
    quality
    D
    maintenance
    MCP server that enables AI assistants to perform SEO automation tasks including keyword research, SERP analysis, and competitor analysis through Google Ads API integration.
    Last updated
    1
  • A
    license
    A
    quality
    D
    maintenance
    An MCP server that lets AI assistants look up any advertiser's Google ads. Search by domain or company name, retrieve ad creatives, and decode text ad content from Google's Ads Transparency Center.
    Last updated
    2
    4
    5
    MIT
  • A
    license
    -
    quality
    B
    maintenance
    MCP server that provides tools and resources for interacting with Google Ads API, enabling search, metadata retrieval, and account management through natural language.
    Last updated
    800
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • Hosted Google Calendar MCP server for AI agents. No self-hosting or Google Cloud setup.

  • MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

  • MCP server for Google search results via SERP API

View all MCP Connectors

Latest Blog Posts

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/YerayRodri/google-ads-kw-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server