Flin Google Keyword Planner
FreeNot checkedGoogle Ads Keyword Planner MCP server with a single keyword research tool.
About
Google Ads Keyword Planner MCP server with a single keyword research tool.
README
MCP server for Google Ads Keyword Planner ideas.
This server exposes focused read-only tools so an LLM can clearly choose the right seed strategy.
Exposed MCP tools
keyword_ideas_from_keywordskeyword_ideas_from_urlkeyword_ideas_from_keyword_and_urlkeyword_ideas_from_sitekeyword_ideas_historical
Tool overview
1) keyword_ideas_from_keywords
Generate ideas from a keyword list (KeywordSeed).
Required:
keywords
2) keyword_ideas_from_url
Generate ideas from a page URL (UrlSeed).
Required:
url
3) keyword_ideas_from_keyword_and_url
Generate ideas from keyword list + URL (KeywordAndUrlSeed).
Required:
keywordsurl
4) keyword_ideas_from_site
Generate ideas from a full site/domain (SiteSeed).
Required:
site_url
5) keyword_ideas_historical
Generate ideas from keywords and constrain historical metrics to a year-month range.
Required:
keywordsstart_yearstart_monthend_yearend_month
Historical option:
include_average_cpc(defaultfalse)
Common optional parameters (all tools)
customer_idlanguage_id(default1000)location_ids(default2840= US)network(GOOGLE_SEARCHorGOOGLE_SEARCH_AND_PARTNERS)include_adult_keywords(defaultfalse)limit(default50, max1000)page_tokenkeyword_annotation(currently:KEYWORD_CONCEPT)aggregate_metric_types(currently:DEVICE)login_customer_id
Requirements
- Python 3.10+
- Google Ads API credentials:
GOOGLE_ADS_DEVELOPER_TOKENGOOGLE_ADS_CLIENT_IDGOOGLE_ADS_CLIENT_SECRET
Optional:
GOOGLE_ADS_REFRESH_TOKEN(only needed if you want a persistent token instead of generating one in Claude)GOOGLE_ADS_LOGIN_CUSTOMER_IDGOOGLE_ADS_CUSTOMER_ID(default customer if nocustomer_idargument is passed)GOOGLE_ADS_USE_PROTO_PLUS(trueby default)
Quickstart (local)
uv sync --extra dev
cp .env.example .env
# Fill .env with real credentials
uv run flin-google-keyword-planner-mcp
Claude integration
Option A: Published package (uvx)
{
"mcpServers": {
"flin-google-keyword-planner-mcp": {
"command": "uvx",
"args": ["flin-google-keyword-planner-mcp@latest"],
"env": {
"GOOGLE_ADS_DEVELOPER_TOKEN": "REPLACE_ME",
"GOOGLE_ADS_CLIENT_ID": "REPLACE_ME",
"GOOGLE_ADS_CLIENT_SECRET": "REPLACE_ME",
"GOOGLE_ADS_CUSTOMER_ID": "1234567890",
"GOOGLE_ADS_LOGIN_CUSTOMER_ID": "1234567890",
"GOOGLE_ADS_USE_PROTO_PLUS": "true"
}
}
}
}
Option B: Local development checkout
{
"mcpServers": {
"flin-google-keyword-planner-mcp-local": {
"command": "uv",
"args": [
"run",
"--directory",
"/ABSOLUTE/PATH/TO/flin-google-keyword-planner-mcp",
"flin-google-keyword-planner-mcp"
],
"env": {
"GOOGLE_ADS_DEVELOPER_TOKEN": "REPLACE_ME",
"GOOGLE_ADS_CLIENT_ID": "REPLACE_ME",
"GOOGLE_ADS_CLIENT_SECRET": "REPLACE_ME",
"GOOGLE_ADS_CUSTOMER_ID": "1234567890",
"GOOGLE_ADS_LOGIN_CUSTOMER_ID": "1234567890",
"GOOGLE_ADS_USE_PROTO_PLUS": "true"
}
}
}
}
Restart Claude Desktop after config changes.
Generate the refresh token in Claude
After Claude has loaded the MCP, ask it to run:
google_ads_start_local_oauth_flow- Open the returned
authorization_urlin your browser and approve Google Ads access. - After the browser shows the local completion page, run
google_ads_oauth_status. - Run the keyword tools once
token_availableistrue.
The default redirect URI is http://localhost:8080/. If your Google OAuth client uses a different loopback redirect URI, pass it to google_ads_start_local_oauth_flow.
If you cannot use the local callback flow, use the manual fallback:
- Run
google_ads_authorization_url. - Open the returned URL and approve access.
- Copy either the full redirected URL or the
codequery parameter. - Run
google_ads_exchange_authorization_codewith that value.
The exchanged refresh token is stored outside Claude config in ~/.config/flin-google-keyword-planner-mcp/oauth-token.json and reused after MCP restarts. Override the storage path with FLIN_GOOGLE_ADS_TOKEN_FILE if needed.
Security
- Never commit real credentials to git.
.envand.env.*are gitignored; only.env.exampleis tracked.- Keep secrets in environment variables or secret managers.
- Rotate credentials immediately if accidentally exposed.
- CI and release workflows run secret scanning with OSS
gitleaks(noGITLEAKS_LICENSEsecret required).
Testing
uv sync --extra dev
python3 -m pytest
python3 -m compileall src
uv build
Release automation (GitHub + PyPI)
- CI workflow:
.github/workflows/ci.yml - Release workflow:
.github/workflows/release.yml - Tag push (
v*) triggers:
- tests + compile + build +
twine check - publish to PyPI via Trusted Publishing (OIDC)
- GitHub Release creation with built artifacts
PyPI Trusted Publishing (one-time)
In the PyPI project flin-google-keyword-planner-mcp, add a Trusted Publisher:
- Owner:
flin-agency - Repository:
flin-google-keyword-planner-mcp - Workflow:
release.yml - Environment:
pypi
Release steps
# 1) bump version in pyproject.toml + src/flin_google_ads_mcp/__init__.py
# 2) run checks
python3 -m pytest
python3 -m compileall src
uv build
# 3) release
git add -A
git commit -m "release: vX.Y.Z"
git tag vX.Y.Z
git push origin main --tags
Install Flin Google Keyword Planner in Claude Desktop, Claude Code & Cursor
unyly install flin-google-keyword-plannerInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add flin-google-keyword-planner -- uvx flin-google-keyword-planner-mcpStep-by-step: how to install Flin Google Keyword Planner
FAQ
Is Flin Google Keyword Planner MCP free?
Yes, Flin Google Keyword Planner MCP is free — one-click install via Unyly at no cost.
Does Flin Google Keyword Planner need an API key?
No, Flin Google Keyword Planner runs without API keys or environment variables.
Is Flin Google Keyword Planner hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Flin Google Keyword Planner in Claude Desktop, Claude Code or Cursor?
Open Flin Google Keyword Planner on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
by lastmile-aiSpring AI MCP Client
Provides auto-configuration for MCP client functionality in Spring Boot applications.
mcp.natoma.ai
A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)
MCPHub
Website to list high quality MCP servers and reviews by real users. Also provide online chatbot for popular LLM models with MCP server support.
MCP Servers Rating and User Reviews
Website to rate MCP servers, write authentic user reviews, and [search engine for agent & mcp](http://www.deepnlp.org/search/agent)
mkinf
An Open Source registry of hosted MCP Servers to accelerate AI agent workflows.
Compare Flin Google Keyword Planner with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
