climent-google-ads-mcp
Provides read-only tools for querying Google Ads accounts, campaigns, ad groups, ads, keywords and search terms, with performance metrics such as spend, impressions, clicks, CTR, CPC, conversions, CPA and ROAS over selectable date ranges.
Click on "Deploy 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., "@climent-google-ads-mcp show me last month's top campaigns by conversions and cost per conversion"
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.
climent-google-ads-mcp
A free, open-source, read-only MCP server for the Google Ads API. Ask Claude, Cursor or any MCP client about your campaigns, keywords and search terms, using your own Google credentials, on your own machine.
Node.js, runs with
npx. No Python, no Docker.Read-only by construction: the code only calls
customers:listAccessibleCustomersandgoogleAds:search. There is no write endpoint in it.Same tool vocabulary as its sibling
climent-meta-ads-mcp(*_list_accounts,*_account_summary,*_campaigns,*_ads...).No telemetry. We never receive your data.
Google Ads API version: v25 by default, set in src/constants.js; newer versions (v26) are one environment variable away. The default API version, the request headers and the fields this server asks for mirror an integration that has called the live Google Ads API every day in production (as of 2026-12-04).
Google also publishes an official open-source Google Ads MCP server (Python, marked experimental). Pick this one if you prefer Node and
npx, want the same tools for Google and Meta, or want the step-by-step credentials guide below.
Quickstart
You need Node.js 20 or newer and three values: an OAuth client ID, its client secret and a refresh token. If you do not have them yet, follow Credentials first (about 15 minutes).
Claude Desktop
Edit claude_desktop_config.json (Settings > Developer > Edit Config):
{
"mcpServers": {
"google-ads": {
"command": "npx",
"args": ["-y", "github:Manucliment/climent-google-ads-mcp"],
"env": {
"GOOGLE_ADS_CLIENT_ID": "1234567890-abc.apps.googleusercontent.com",
"GOOGLE_ADS_CLIENT_SECRET": "your-client-secret",
"GOOGLE_ADS_REFRESH_TOKEN": "your-refresh-token",
"GOOGLE_ADS_LOGIN_CUSTOMER_ID": "123-456-7890"
}
}
}
}GOOGLE_ADS_LOGIN_CUSTOMER_ID is only needed if you reach your accounts through a manager (MCC) account. On Windows, if Claude Desktop cannot find npx, use "command": "cmd" and "args": ["/c", "npx", "-y", "github:Manucliment/climent-google-ads-mcp"].
Claude Code
claude mcp add google-ads \
-e GOOGLE_ADS_CLIENT_ID=... -e GOOGLE_ADS_CLIENT_SECRET=... -e GOOGLE_ADS_REFRESH_TOKEN=... \
-- npx -y github:Manucliment/climent-google-ads-mcpTo keep secrets out of your shell history, put the same block as above in a project .mcp.json and reference environment variables ("GOOGLE_ADS_REFRESH_TOKEN": "${GOOGLE_ADS_REFRESH_TOKEN}").
Cursor
~/.cursor/mcp.json (global) or .cursor/mcp.json (project) takes the same mcpServers block as Claude Desktop.
Any other MCP client
Run npx -y github:Manucliment/climent-google-ads-mcp as a stdio server with the environment variables below. Or run it over HTTP (next section).
Environment variables
Variable | Required | What it is |
| yes | OAuth client ID (type Desktop app) from your Google Cloud project |
| yes | Its client secret |
| yes | Refresh token for the Google user that can see your Ads accounts. Get it with |
| no | Manager (MCC) account ID, if you access accounts through one. Can also be passed per call |
| no | Not needed. Google sunset developer tokens on 9 Sept 2026 and ignores the header; it is sent only if you set it |
| no | API version to call, as |
The server reads only these variables. It does not read .env files, keychains or any file on disk.
Related MCP server: Google Ads MCP Server
Self-host over HTTP
For remote clients, or to share one server with a team, run the Streamable HTTP transport. It refuses to start without a bearer token.
export MCP_HTTP_BEARER_TOKEN="$(openssl rand -hex 32)" # at least 32 characters
export GOOGLE_ADS_CLIENT_ID=... GOOGLE_ADS_CLIENT_SECRET=... GOOGLE_ADS_REFRESH_TOKEN=...
npx -y github:Manucliment/climent-google-ads-mcp http
# MCP endpoint: http://127.0.0.1:3000/mcpMCP_HTTP_HOST(default127.0.0.1) andMCP_HTTP_PORT(default3000) control where it listens.GET /healthzanswers{"ok":true}without auth and without data.Every request to
/mcpmust sendAuthorization: Bearer <MCP_HTTP_BEARER_TOKEN>; anything else gets401.The server speaks plain HTTP. Before exposing it to the internet, put it behind HTTPS (Caddy, nginx, a cloud load balancer).
Whoever has the bearer token can read every account your refresh token can read. Treat it like the refresh token.
Claude Code example: claude mcp add --transport http google-ads https://your-host/mcp --header "Authorization: Bearer <token>".
ChatGPT and other remote clients can only talk to MCP servers over HTTP(S), so they need this mode. Some of them only support OAuth or no authentication for custom connectors, not a static bearer header. Check what your client supports; if it cannot send an Authorization header, put the server behind a proxy you control that adds it, and never expose it without authentication.
Credentials, step by step
Everything below happens in your own Google accounts. Nothing is shared with us.
1. A Google Cloud project with the Google Ads API enabled
Go to console.cloud.google.com and create a project (or pick one).
APIs & Services > Library > search Google Ads API > Enable.
Enabling the API gives the project Test access automatically (see access levels below).
2. The OAuth consent screen
APIs & Services > OAuth consent screen (Google Auth Platform). User type External (or Internal if you use Google Workspace and only your organisation will sign in).
Fill in the app name and your email. You do not need to submit it for verification to use it yourself.
Under Audience, set the publishing status to In production. In Testing status Google expires refresh tokens after 7 days, and you would have to run
authagain every week.When you sign in later, Google may show "Google hasn't verified this app". It is your own app: choose Advanced > Continue.
3. An OAuth client of type Desktop app
APIs & Services > Credentials > Create credentials > OAuth client ID > Application type Desktop app. Copy the client ID and client secret.
4. The refresh token
export GOOGLE_ADS_CLIENT_ID=...
export GOOGLE_ADS_CLIENT_SECRET=...
npx -y github:Manucliment/climent-google-ads-mcp auth(PowerShell: $env:GOOGLE_ADS_CLIENT_ID="..." and so on.)
It prints a Google sign-in URL. Open it, sign in with the Google user that has access to your Google Ads accounts, and approve. The page redirects to a temporary server on 127.0.0.1 on your machine, and the refresh token is printed in your terminal. Put it in GOOGLE_ADS_REFRESH_TOKEN. The flow uses PKCE and talks only to Google.
5. Access levels: the part most guides skip
Since 9 September 2026 Google grants API access per Google Cloud project, not per developer token. Your project's level decides which accounts you can read. You see and change it on the Google Ads API Overview page of your project in the Cloud Console. Source: Access levels.
Level | Can read | Daily limit | How to get it |
Test | Test accounts only | 15,000 operations | Automatic when you enable the API |
Explorer | Test and production accounts | 2,880 operations on production | Apply on the Overview page; Google may approve it automatically |
Basic | Test and production | 15,000 operations | Needs Explorer first and brand verification of the project |
Standard | Test and production | Unlimited | Needs Basic; manual compliance review (about 10 business days) |
What this means in practice:
With Test access, real accounts fail. You get a
CLOUD_PROJECT_NOT_APPROVED_FOR_PRODUCTIONerror (older API versions saidACTION_NOT_PERMITTED). This server turns it into a message telling you to apply for Explorer.Explorer is enough for most people reading their own accounts. 2,880 operations a day is plenty for conversational use; each tool call makes one or a few API requests.
Limits use a sliding 24-hour window. All levels also have per-hour rate limits.
6. Manager (MCC) accounts
If your Google user reaches client accounts through a manager account, set GOOGLE_ADS_LOGIN_CUSTOMER_ID to the manager's ID, or pass login_customer_id to a tool. google_list_accounts with manager_id lists the clients under a manager.
Tools
All tools are read-only. Dates are a preset (today, yesterday, last_7d, last_14d, last_30d, this_month, last_month; the default is last_30d, and last_N excludes today) or since + until as YYYY-MM-DD, in the account time zone. Money is in the account currency, named in every response (currency). Lists are capped (max_rows, default 50) and say "truncated": true when there is more.
Tool | What it returns | Example prompt |
| Accounts you can access (name, currency, time zone, manager or not); with | "Which Google Ads accounts can you see?" |
| Spend, impressions, clicks, CTR, CPC, conversions, value, CPA, ROAS for a date range | "How did account 123-456-7890 do last month?" |
| Campaigns with status, channel, bidding strategy, daily budget and performance | "Which campaigns spent the most in the last 7 days, and what was their CPA?" |
| Ad groups with status, type and performance, optionally for one campaign | "Break down campaign 111 by ad group for November." |
| Ads with type, status, approval, final URL, RSA headlines and descriptions, performance | "Show me the headlines of my best and worst responsive search ads." |
| Keywords with match type, status, quality score and performance | "List keywords with quality score below 5 that spent money this month." |
| Search terms that triggered ads, with performance | "Which search terms cost money last week without a conversion?" |
| Raw rows of any read-only GAQL | "Run a GAQL query for impressions by device for the last 14 days." |
google_query accepts only a single SELECT ... FROM ... statement. It rejects anything else before any network call (other statements, semicolons, MUTATE, invisible characters, unterminated strings), and it always goes through googleAds:search, which cannot write. If the query has no LIMIT, one is added.
Privacy
It runs on your machine (or your server). It talks only to
googleads.googleapis.comand Google's OAuth endpoints.No telemetry, no analytics, no phone-home. We (Climent Media) receive nothing: no data, no usage counts, no errors.
Tokens are never logged. Error messages pass through a redaction step that removes your secrets and anything shaped like a Google or Meta token.
Your MCP client (Claude, Cursor...) does see the data the tools return, under that client's own privacy terms.
Limits
Read-only. It cannot pause, edit budgets or bids, add negatives or create anything. Ask it and the model will tell you it can't, and how to do it in the Google Ads interface.
One Google user per server (the one behind the refresh token).
Defaults to Google Ads API v25, not the newest major, because that is the version proven in production with these exact requests. v25 sunset is planned for August 2027 (sunset dates); set
GOOGLE_ADS_API_VERSION=v26to move earlier.Google hides low-volume search terms, so search-term totals can be lower than campaign totals.
Campaigns or keywords with no impressions in the date range may not appear in performance lists.
This package's own test suite mocks every request; it has not itself been run against the live API. The default API version, the request headers and the fields this server asks for mirror an integration that has called the live Google Ads API every day in production (as of 2026-12-04). Please report anything that behaves differently.
Need more?
This server is a good way to look. When you want to act:
Climent Ads is our hosted product: no Cloud project or OAuth client of your own, Google Ads and Meta Ads for many clients in one place, account audits, and changes to campaigns that a human approves before they are applied.
Climent Media is the agency behind it, if you would rather have people run your ads.
Develop
npm install
npm test # node:test, every API call mocked, no credentials needed
node bin/cli.js --helpLicense
Apache-2.0. See LICENSE. Not affiliated with or endorsed by Google. Google Ads is a trademark of Google LLC.
Available Tools
8 toolsgoogle_account_summaryGoogle Ads account summaryARead-onlyIdempotent
Totals for one Google Ads account over a date range: spend (cost), impressions, clicks, CTR, CPC, conversions, conversion value, CPA and ROAS, in the account currency.
Inputs: customer_id (required), since, until, preset, +1 more.
google_ad_groupsGoogle Ads ad groups with performanceARead-onlyIdempotent
Ad groups of one Google Ads account (optionally one campaign) with status, type and performance for a date range, sorted by cost.
Inputs: customer_id (required), since, until, preset, +4 more.
google_adsGoogle Ads ads with performanceARead-onlyIdempotent
Ads of one Google Ads account (optionally one campaign or ad group) with type, status, approval, final URL, responsive search ad headlines and descriptions, and performance for a date range.
Inputs: customer_id (required), since, until, preset, +5 more.
google_campaignsGoogle Ads campaigns with performanceBRead-onlyIdempotent
Campaigns of one Google Ads account with status, channel, bidding strategy, daily budget and performance for a date range, sorted by cost. Money in the account currency.
Inputs: customer_id (required), since, until, preset, +3 more.
google_keywordsGoogle Ads keywords with performanceARead-onlyIdempotent
Search keywords of one Google Ads account (optionally one campaign or ad group) with match type, status, quality score and performance for a date range, sorted by cost.
Inputs: customer_id (required), since, until, preset, +5 more.
google_list_accountsList Google Ads accountsARead-onlyIdempotent
List the Google Ads accounts the authenticated Google user can access, with name, currency, time zone and whether each is a manager (MCC). Pass manager_id to list the client accounts under a manager instead.
Inputs: max_rows, manager_id.
google_queryRun a read-only GAQL queryARead-onlyIdempotent
Run one read-only Google Ads Query Language (GAQL) SELECT query against one account and return the raw rows. Only SELECT ... FROM ... is accepted; anything else is rejected. Fields ending in _micros are millionths of the account currency.
Inputs: query (required), customer_id (required), max_rows, login_customer_id.
google_search_termsGoogle Ads search termsARead-onlyIdempotent
Search terms that triggered ads in one Google Ads account (optionally one campaign or ad group) with performance for a date range, sorted by cost.
Inputs: customer_id (required), since, until, preset, +4 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool maps to a distinct resource in the account hierarchy (accounts, summary, campaigns, ad groups, ads, keywords, search terms), so boundaries are mostly clear. The only overlap is google_query, which can technically retrieve anything the specialized tools return, but its raw-GAQL escape-hatch role is well distinguished.
All tools share a predictable google_ prefix with resource-oriented suffixes. Minor inconsistency: google_list_accounts uses a verb_noun form while the rest are pure noun phrases (google_campaigns, google_ads, google_query).
Eight tools is well-scoped for a read-only Google Ads analytics server. Each tool earns its place by covering a distinct level of the account hierarchy plus a raw query escape hatch.
Strong coverage of the read-only analytics domain: accounts, performance summary, and every hierarchy level down to keywords and search terms. Missing breakdowns (device, location, change history) are largely workable via the google_query escape hatch, so gaps are minor.
Maintenance
Related MCP Connectors
Manage Google Ads from ChatGPT, Claude or any MCP client. Sign in with OAuth or use an API key.
Hosted MCP server for marketing agencies: connect Google Ads, GA4, Search Console, Meta, LinkedIn and more to Claude or ChatGPT. Pull reports and make changes via OAuth login, no setup.
Hosted Google Ads MCP for Claude and ChatGPT. Preview every write. No developer token.
Google Ads, Search Console and GA4 for Claude and ChatGPT. Build and manage campaigns by chat.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceRemote MCP server that lets ChatGPT Business and other MCP clients query and mutate Google Ads accounts via service-account authentication, with generic read/write tools plus convenience tools for reporting, campaigns, budgets, keywords, assets, audiences, and Performance Max. Includes dry-run support, budget/bid guardrails, and structured audit logging.-
- AlicenseNot gradedqualityCmaintenanceEnables Claude, ChatGPT, Copilot, and Cursor to read Google Ads data—campaigns, ad groups, ads, keywords, search terms, budgets, conversion actions, change history, and custom GAQL queries—through 17 read-only MCP tools. It supports OAuth-authenticated access to real accounts without requiring a developer token, keeping all operations read-only and auditable.58 npmAGPL 3.0
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to query read-only Google Search Console, GA4, Google Ads, and Workspace data through a single MCP endpoint, alongside a matching CLI. Sign-in happens once so the agent never sees Google tokens.MIT
- AlicenseNot gradedqualityCmaintenanceEnables Claude, Cursor, VS Code, ChatGPT and other MCP clients to analyze Google Search Console, Google Ads and AdSense data through 57 read-only tools covering search performance, indexing, wasted ad spend, quality scores, earnings and combined paid-vs-organic insights. Runs as a thin local client against a hosted backend, so no Google Cloud project, OAuth client or developer token is needed.50 npmMIT