Skip to main content
Glama
Google Ads MCP Reader

Google Ads MCP Reader

by ceotind

Open Google MCP

PyPI Docker Python License: MIT

Read-only MCP server for Google Ads, Search Console, Google Analytics 4, and Bing Webmaster Tools.

Every tool reads data. Nothing bids, edits, or changes an account.

Open Google MCP

Install

No clone. One command, one config block.

uvx

uvx open-google-mcp

Docker

docker run -i --rm --env-file ~/.config/open-google-mcp/.env \
  ghcr.io/ceotind/open-google-mcp:latest

Add it to your client

{
  "mcpServers": {
    "open-google-mcp": {
      "command": "uvx",
      "args": ["open-google-mcp"],
      "env": {
        "GOOGLE_SERVICE_ACCOUNT_EMAIL": "...",
        "GOOGLE_SERVICE_ACCOUNT_KEY": "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----\n",
        "GOOGLE_ADS_DEVELOPER_TOKEN": "...",
        "BING_WEBMASTER_API_KEY": "optional"
      }
    }
  }
}

Cursor, VS Code, opencode, and the Docker form: client configuration.

Then restart the client and ask for gsc_list_properties.

Related MCP server: Google Ads MCP Server

Credentials

One service account covers Google Ads, Search Console, and Analytics 4.

  1. Create a service account in GCP Console → APIs & Services → Credentials.

  2. Download the JSON key. Copy the private_key and the other fields.

  3. Enable these APIs in the same GCP project: Ads, Search Console, Analytics Data, Analytics Admin.

  4. Grant the service account email access:

    • Ads: manager account → Settings → Account access → Service account users

    • Search Console: property → Settings → Users and permissions → Full access

    • Analytics 4: Admin → Account Access Management → Viewer

  5. Apply for a Google Ads developer token. Basic access is required.

Variable

Needed

Use

GOOGLE_SERVICE_ACCOUNT_EMAIL

yes

Service account address

GOOGLE_SERVICE_ACCOUNT_KEY

yes

Private key, keep the \n escapes

GOOGLE_ADS_DEVELOPER_TOKEN

yes

Google Ads API token

GOOGLE_SERVICE_ACCOUNT_KEY_ID

no

Private key ID

GOOGLE_SERVICE_ACCOUNT_CLIENT_ID

no

Client ID

GOOGLE_SERVICE_ACCOUNT_PROJECT_ID

no

GCP project

GOOGLE_ADS_LOGIN_CUSTOMER_ID

no

Manager account routing

GOOGLE_ADS_DEFAULT_CUSTOMER_ID

no

Default for Keyword Planner

GA4_CREDENTIALS_PATH

no

Separate Analytics credential file

BING_WEBMASTER_API_KEY

no

Bing tools only

Simpler alternative: set GOOGLE_ADS_JSON_KEY_FILE to the path of your downloaded key. It covers all three Google products, and removes the need to paste a private key into JSON.

What you get

Platform

Tools

First call

Google Ads (GAQL)

3

list_accessible_customers

Search Console

9

gsc_list_properties

Analytics 4

5

ga4_list_properties

Keyword Planner

4

suggest_geo_target_constants

Bing Webmaster

15

bing_list_sites

36 tools total. Full list: tools reference.

Examples

list_accessible_customers
gsc_get_search_analytics(site_url="https://example.com/", days=28, dimensions="query")
ga4_run_report(property_id="123456789", dimensions="country",
               metrics="activeUsers", start_date="28daysAgo")

More, including keyword forecasting and Google-vs-Bing comparison: examples.

Troubleshooting

Symptom

Fix

403 insufficientPermissions

Add the service account to that product

Developer token rejected

Apply for basic access; explorer tokens fail

Keyword Planner returns nothing

Use a child customer ID, not the manager

Search Console returns empty

site_url must match the property string exactly

Bing auth error

Check the key, and that the site is verified

Tool missing in the client

Check the config path, and that uvx is on PATH

A startup check prints missing variables to stderr. It never blocks the server.

Documentation

Topic

File

Every tool and parameter

tools.md

Worked examples

examples.md

Client configs

clients.md

GAQL rules

gaql.md

Build and release

development.md

Upgrading: uvx open-google-mcp@latest. Plain uvx reuses the cached version.

License

MIT

Available Tools

6 tools
get_resource_metadataA

Discover which fields are SELECTable, FILTERable, and SORTable for a Google Ads resource. Always call this before search() — using incorrect field names causes API errors. Compatible metrics.* and segments.* fields are included for reporting queries.

Args: resource_name: The resource to explore (e.g. 'campaign', 'ad_group', 'keyword_view', 'search_term_view', 'customer_client').

Returns: A dict with resource name and three sorted arrays of fully-qualified field names. Example for resource='campaign': selectable: ['campaign.id', 'campaign.name', 'campaign.status', 'metrics.clicks', 'metrics.impressions', ...] filterable: ['campaign.id', 'campaign.status', ...] sortable: ['campaign.id', 'metrics.clicks', ...]

Inputs: resource_name (required).

gsc_compare_search_periodsA

Compare search performance between two date ranges and surface what changed. Use this for: month-over-month analysis, campaign impact assessment, seasonal trend detection. Returns which queries improved or declined with click/impression changes.

Args: site_url: Exact GSC property URL from gsc_list_properties. Format: 'https://example.com/' or 'sc-domain:example.com'. period1_start: Start of baseline period, format YYYY-MM-DD (e.g. '2026-01-01'). period1_end: End of baseline period, format YYYY-MM-DD (e.g. '2026-01-31'). period2_start: Start of comparison period, format YYYY-MM-DD (e.g. '2026-02-01'). period2_end: End of comparison period, format YYYY-MM-DD (e.g. '2026-02-28'). dimensions: Group by — 'query', 'page', 'device', etc. (default: 'query'). limit: Max items to return, sorted by biggest change (default: 10).

Inputs: site_url (required), period1_end (required), period2_end (required), period1_start (required), +3 more.

gsc_get_performance_overviewA

Get an executive summary with daily trend — totals for clicks, impressions, CTR, and avg position plus a day-by-day breakdown. Use this for: quick snapshots, dashboards, spotting traffic spikes or drops. For detailed query-level data, use gsc_get_search_analytics.

Args: site_url: Exact GSC property URL from gsc_list_properties. Format: 'https://example.com/' or 'sc-domain:example.com'. days: How many days to look back (default: 28).

Inputs: site_url (required), days.

gsc_get_sitemapsA

List all sitemaps for a GSC property with submission status, error/warning counts, and indexed URL totals. Use this for: monitoring crawl health, finding sitemap errors, checking if new content was picked up, verifying sitemap submission.

Args: site_url: Exact GSC property URL from gsc_list_properties. Format: 'https://example.com/' or 'sc-domain:example.com'.

Inputs: site_url (required).

list_accessible_customersA

Start here — Discover Google Ads customer IDs accessible by the authenticated user. Always call this first before search(). Returns resource names like 'customers/1234567890' — extract the numeric ID from the last segment to use in other tools.

Inputs: no named parameters. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: resource metadata exploration, GAQL search, customer ID listing, and three separate GSC functions (period comparison, performance overview, sitemap listing). The 'gsc_' prefix further distinguishes the Google Search Console tools from the Ads tools.

    Naming Consistency3/5

    Naming conventions are mixed: some tools use 'get_', one uses 'list_', one is bare 'search', and three use the 'gsc_' prefix but with different verb forms ('compare', 'get'). While snake_case is consistent, the lack of a uniform verb pattern makes the naming somewhat inconsistent.

    Tool Count5/5

    With 6 tools covering both Google Ads essentials (customer discovery, metadata, querying) and Google Search Console basics (overview, comparison, sitemaps), the count feels well-scoped for the combined domain.

    Completeness2/5

    The GSC tools reference a prerequisite 'gsc_list_properties' tool that does not exist, creating a dead end. For Google Ads, the 'search' tool is powerful but lacks higher-level convenience operations (e.g., getting campaign performance by ID). Overall, the surface has notable gaps.

    Maintenance

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      B
      maintenance
      Read-only MCP server for Google Ads, enabling querying campaigns, ad groups, ads, insights, and keywords without create/update/delete operations.
      17
      166 PyPI
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides read-only access to Google Ads account data including campaigns, ad groups, keywords, and performance reports. Enables querying via GAQL through an MCP interface.
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Read-only MCP server for Google Ads API, enabling natural language queries about campaigns, metrics, search terms, and change history without write access.
      6
      MIT
    • -
      license
      Not graded
      quality
      Not graded
      maintenance
      A private, read-only MCP server that enables retrieval and analysis of Google Ads reporting data (campaigns, ad groups, keywords, search terms, cost, conversions) from authorized accounts through a locally operated server.
      -