Google Keyword Intelligence

Open source · MIT · Python 3.12+

CLI and MCP server for Google Ads Keyword Planner, Autocomplete, Trends and Search Console

Open-source CLI, MCP server and Claude skill that collects and analyzes Google search demand: Keyword Planner, Autocomplete, Trends, Search Console.

Get started Read the docsView on GitHub

What it does

Quick start

Requires Python 3.12 or newer and uv. CI checks both the 3.12 compatibility floor and Python 3.14.

git clone https://github.com/stufently/google-keyword-ai-mcp.git
cd google-keyword-ai-mcp
uv sync
uv run gkai doctor --format json
uv run gkai research "running shoes" --language en --country US --dry-run

Review the dry-run sources and call estimates before making the real request:

uv run gkai research "running shoes" --language en --country US --save-run

Autocomplete and unofficial Trends work without account credentials. Results may still be partial when optional providers are unavailable; always read completeness, completeness_reason, warnings and data_quality.

MCP server and Claude Code

Start the stdio server with:

uv run google-keyword-ai

Add a project .mcp.json for Claude Code:

{
  "mcpServers": {
    "google-keyword-ai": {
      "type": "stdio",
      "command": "uv",
      "args": ["run", "google-keyword-ai"]
    }
  }
}

Run Claude Code from the repository so uv resolves this project. Environment variables and credential paths are inherited by the server. See the exact tool list and parity contract in docs/mcp.md.

Limitations

This project is not affiliated with or endorsed by Google. Google and related product names are trademarks of their respective owners.

FAQ

How do I install Google Keyword Intelligence?

It needs Python 3.12 or newer and uv. Clone the repository, run uv sync, then uv run gkai doctor --format json. Add uv sync --extra ads or --extra gsc for the optional Google Ads and Search Console clients.

Do I need Google credentials to use it?

No for Autocomplete and Trends, which work without account credentials. Google Ads requires your own developer token, customer ID and OAuth client values, and Search Console requires your own service-account or authorized-user credential file.

How do I connect it to Claude Code?

Add a project .mcp.json with a stdio server named google-keyword-ai that runs uv run google-keyword-ai, and start Claude Code from the repository so uv resolves the project.

Does competitor research show the keywords a competitor ranks for?

No. A site seed returns ideas Google Ads associates with that site. It does not reveal queries the competitor ranks for, organic positions or traffic.

Are Trends values search volumes?

No. Trends values are relative 0–100 interest within one response. Autocomplete and Trends use unofficial Google endpoints with no availability or compatibility guarantee.

Is this an official Google tool?

No. The project is not affiliated with or endorsed by Google, and it is released under the MIT license.

Documentation pages