Google Keyword Planner
概览
作者提供的说明(英文原文)
Keyword ideas, search volumes, CPC ranges, trends and forecasts from Google Ads Keyword Planner.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 营销与社交媒体
- 你需要填写:GOOGLE_ADS_CLIENT_ID, GOOGLE_ADS_CLIENT_SECRET, GOOGLE_ADS_REFRESH_TOKEN, GOOGLE_ADS_CUSTOMER_ID, GOOGLE_ADS_DEVELOPER_TOKEN
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 需要你自己填写:
GOOGLE_ADS_CLIENT_ID,GOOGLE_ADS_CLIENT_SECRET,GOOGLE_ADS_REFRESH_TOKEN,GOOGLE_ADS_CUSTOMER_ID,GOOGLE_ADS_LOGIN_CUSTOMER_ID,KEYWORD_PLANNER_DEFAULT_LANGUAGE,KEYWORD_PLANNER_DEFAULT_LOCATIONS,GOOGLE_ADS_DEVELOPER_TOKEN
标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
链接指向作者自己的文件;我们不托管也不重新打包它。打开文件后,Claude Desktop 会进行安装。
在终端中运行这条命令
运行前请先填写空着的值。
浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
- Google Cloud OAuth client ID (Desktop app); its project needs Basic access to the Google Ads API
- Google Cloud OAuth client secret
- OAuth refresh token for the adwords scope
- Google Ads account ID to query, e.g. 123-456-7890
GOOGLE_ADS_LOGIN_CUSTOMER_IDenvManager account ID, if access is through a manager accountKEYWORD_PLANNER_DEFAULT_LANGUAGEenvDefault language, e.g. EnglishKEYWORD_PLANNER_DEFAULT_LOCATIONSenvDefault locations, comma-separated, e.g. Nigeria- Legacy and optional. Google retired developer tokens on 9 September 2026
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 afeezadebayo 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“营销与社交媒体”中的其他服务器比较i
- 星标数多于此分类中其他 3592 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 3592 个服务器的 80% 更新
- 基础检查结果等于或优于此分类中其他 3592 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Google Keyword Planner 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:GOOGLE_ADS_CLIENT_ID, GOOGLE_ADS_CLIENT_SECRET, GOOGLE_ADS_REFRESH_TOKEN, GOOGLE_ADS_CUSTOMER_ID, GOOGLE_ADS_DEVELOPER_TOKEN
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(1.1.0)于8天前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 MCPB。
有什么可以替代它?
同一分类中有:MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Google Analytics MCP
GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.
BibiGPT YouTube Video Summarizer
AI video summarizer: summarize and transcribe YouTube, Bilibili, TikTok and podcast videos.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Google Keyword Planner MCP server
An MCP server that gives Claude and other MCP clients direct access to Google Ads Keyword Planner data: keyword ideas, average monthly searches, competition, top-of-page bid ranges, monthly trends and click and cost forecasts.
Built by Afeez Adebayo. MIT licensed.
What you can ask
- "Find 100 keyword ideas for *online accounting software* in Nigeria, sorted by search volume."
- "Get search volume for these 50 keywords in the UK and US, with their trends."
- "Pull keyword ideas from https://example.com/pricing."
- "Forecast clicks and cost for these exact-match keywords at a ₦300 max CPC for 30 days."
Tools
| Tool | What it does |
|---|---|
generate_keyword_ideas | Ideas from seed keywords, a URL, keywords plus a URL, or a whole site. Returns average monthly searches, competition, low and high top-of-page bids, 3-month change, change across the period (first to last month shown), and optional monthly volumes. Filter by minimum volume and sort by searches, competition, bid or relevance. |
get_search_volume | Historical metrics for up to 10,000 exact keywords, with close variants and a list of keywords Google returned no data for. Optional month range. |
forecast_keywords | Impressions, clicks, cost, CTR and average CPC for keywords at a given max CPC over 1 to 365 days. |
find_locations | Look up Google location IDs by place name. |
list_languages | List targetable languages with codes and IDs. |
list_accessible_customers | List the Google Ads accounts your login can access. |
check_connection | Confirm credentials and show the account, currency and defaults. |
Locations and languages accept plain names ("Nigeria", "Lagos", "English") as well as Google IDs. Bids and costs are shown in your Google Ads account currency.
What you need
Keyword Planner data comes from the Google Ads API. Since 9 September 2026, Google no longer uses developer tokens: API access belongs to the Google Cloud project that owns your OAuth client. You need:
- A Google Ads account. It must be enabled, but it doesn't need running campaigns. A manager account is optional.
- A Google Cloud project with the Google Ads API enabled. In the Google Cloud console, create a project and enable the Google Ads API. This gives Test access, which only works with test accounts.
- Basic access for that project. Keyword Planner isn't included in Explorer access, so you need Basic access:
- Configure the OAuth consent screen (Google Auth Platform > Branding) and complete brand verification.
- Open the Google Ads API Overview page for the project and apply for Basic access. Google reviews it automatically, usually within minutes of brand verification.
- If your project is on the Google Cloud free trial, Google may reject the application; upgrading the billing account to a paid tier fixes this (you won't be charged for the Google Ads API).
- An OAuth client ID of type Desktop app, in the same project. Set the consent screen's publishing status to In production, because refresh tokens from apps in Testing status expire after 7 days.
- A refresh token. Clone this repository and run:
npm install
GOOGLE_ADS_CLIENT_ID=your-client-id GOOGLE_ADS_CLIENT_SECRET=your-secret npm run auth
Open the printed link, sign in with the Google account that can access your Ads account, and copy the refresh token it prints.
Install
Claude Desktop (one click)
Download google-keyword-planner.mcpb from the latest release and open it. Claude Desktop asks for your credentials and stores the secrets securely.
Any MCP client (from source)
git clone https://github.com/afeezadebayo/google-keyword-planner-mcp.git
cd google-keyword-planner-mcp npm install && npm run build
Then add it to your client config:
{
"mcpServers": { "google-keyword-planner": { "command": "node", "args": ["/path/to/google-keyword-planner-mcp/server/index.js"], "env": { "GOOGLE_ADS_CLIENT_ID": "...", "GOOGLE_ADS_CLIENT_SECRET": "...", "GOOGLE_ADS_REFRESH_TOKEN": "...", "GOOGLE_ADS_CUSTOMER_ID": "123-456-7890", "GOOGLE_ADS_LOGIN_CUSTOMER_ID": "", "KEYWORD_PLANNER_DEFAULT_LANGUAGE": "English", "KEYWORD_PLANNER_DEFAULT_LOCATIONS": "Nigeria" } } } }
For Claude Code:
claude mcp add google-keyword-planner \
-e GOOGLE_ADS_CLIENT_ID=... -e GOOGLE_ADS_CLIENT_SECRET=... \ -e GOOGLE_ADS_REFRESH_TOKEN=... -e GOOGLE_ADS_CUSTOMER_ID=123-456-7890 \ -- node /path/to/google-keyword-planner-mcp/server/index.js
Configuration
| Variable | Required | Notes |
|---|---|---|
GOOGLE_ADS_CLIENT_ID | Yes | OAuth client (Desktop app). Its Cloud project needs Basic access. |
GOOGLE_ADS_CLIENT_SECRET | Yes | |
GOOGLE_ADS_REFRESH_TOKEN | Yes | From npm run auth. |
GOOGLE_ADS_CUSTOMER_ID | Yes | The account to query. Dashes are fine. |
GOOGLE_ADS_LOGIN_CUSTOMER_ID | No | Your manager account ID, if you access the account through one. |
GOOGLE_ADS_API_VERSION | No | Defaults to v25. Change it when Google retires a version. |
KEYWORD_PLANNER_DEFAULT_LANGUAGE | No | Used when a request doesn't name a language. |
KEYWORD_PLANNER_DEFAULT_LOCATIONS | No | Comma-separated names or IDs used when a request doesn't name locations. |
GOOGLE_ADS_DEVELOPER_TOKEN | No | Legacy. Google retired developer tokens on 9 September 2026; it's only sent if you set it. |
Good to know
- Volumes are estimates. Keyword Planner rounds search volumes into ranges and groups close variants. Accounts with little or no ad spend may see broader ranges.
- Rate limits. Keyword Planner allows a limited number of requests per minute. The server retries rate-limit and server errors automatically with back-off.
- Errors explain the fix. Common problems (a Cloud project with only Test access, a missing manager account ID, an expired refresh token) come back with a plain-English explanation of how to fix them.
- Privacy. The server runs on your machine and talks only to Google. Credentials stay in your MCP client's config.
Development
npm install
npm run typecheck npm run build npm test # runs every tool against a local mock of the Google Ads API
Releases are automated: bumping version in package.json and pushing to main builds the bundle, creates a GitHub release and publishes the listing to the official MCP Registry.