# Keyword Research MCP Server - Google, YouTube & Bing Ideas (`rjmacarthy/keyword-research-mcp-server`) Actor

MCP server for AI agents (Claude, Cursor, n8n): keyword ideas, long-tail a-z variants, question and 'vs' keywords from the live autocomplete of Google, YouTube, Google Shopping, News, Images and Bing, any country. $0.01 per call, no API key. No search volume.

- **URL**: https://apify.com/rjmacarthy/keyword-research-mcp-server.md
- **Developed by:** [rj](https://apify.com/rjmacarthy) (community)
- **Categories:** MCP servers, AI, SEO tools
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 tool calls

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Keyword Research MCP Server - Google, YouTube & Bing Ideas

Give your AI agent keyword research. This MCP server pulls **real search queries people type** from the live autocomplete of **Google Search, YouTube, Google Shopping, Google News, Google Images and Bing**, in any country and language. It returns keyword ideas for a seed, long-tail variants (seed + a-z / 0-9) and **question and "vs" comparison keywords** for FAQ and comparison content. Keyword Planner MCP servers cost $0.045 to $1+ per call and cover Google only. This one costs a flat **$0.01 per tool call**, covers six engines, and needs no Google Ads account, no API key and no proxy. Every answer is compact JSON with at most 20 rows. To be clear about scope: these are **autocomplete suggestions only, with no search volume, CPC or competition numbers**. Pair it with a volume tool if you need those.

### What your agent can ask

- "Give me keyword ideas for 'coffee maker' from Google and YouTube."
- "What do people search on YouTube about 'home workout'?"
- "Find long-tail keywords for 'air fryer' starting with a, b and c."
- "What questions do people ask about 'solar panels'? I'm writing an FAQ."
- "What is 'notion' compared with? List the 'notion vs ...' searches."
- "Which product searches show up on Google Shopping in Germany for 'kaffeemaschine'?"

### Tools

| Tool | What it returns | Arguments |
|---|---|---|
| `suggest_keywords` | The autocomplete dropdown of one to six engines for a seed, interleaved in dropdown order (one request per engine) | `keyword`, `engines` (array, default `["google"]`), `country`, `language`, `limit` (1-20) |
| `get_long_tail_keywords` | Long-tail ideas: the seed followed by each letter a-z and digit 0-9 on one engine. The pick is diverse, with the top suggestion of each letter first. | `keyword`, `engine`, `letters` (e.g. `"abc"`, default all 36), `country`, `language`, `limit` |
| `get_question_keywords` | Question keywords (who/what/when/where/why/how/which/can/is/are/does + seed) or comparison keywords (seed + vs/for/with/without/near/or/and) | `keyword`, `kind` (`questions` / `comparisons` / `both`), `engine`, `country`, `language`, `limit` |

**Engines:** `google`, `youtube`, `google-shopping`, `google-news`, `google-images`, `bing`. **Country / language:** 2-letter codes such as `us`/`en`, `gb`/`en`, `de`/`de`, `br`/`pt`.

Each row is `{suggestion, engine, position, questionType?}`. Long-tail rows add `letter`, and question/comparison rows add `modifier` (the word that was typed). `questionType` appears only when the suggestion starts with a question word. Every answer also carries `keyword`, `country`, `language`, `count` and `total` (the number of unique suggestions found before the 20-row cap), plus `errors` for any engine or query that failed.

#### Example calls

```json
{ "name": "suggest_keywords", "arguments": { "keyword": "coffee maker", "engines": ["google", "youtube"] } }
{ "name": "suggest_keywords", "arguments": { "keyword": "kaffeemaschine", "engines": ["google-shopping", "bing"], "country": "de", "language": "de" } }
{ "name": "get_long_tail_keywords", "arguments": { "keyword": "air fryer", "letters": "abc", "limit": 15 } }
{ "name": "get_question_keywords", "arguments": { "keyword": "solar panels", "kind": "questions" } }
{ "name": "get_question_keywords", "arguments": { "keyword": "notion", "kind": "comparisons" } }
```

Example answer from `get_question_keywords` with `kind: "comparisons"` (real, trimmed):

```json
{"keyword":"notion","kind":"comparisons","engine":"google","country":"us","language":"en","count":20,"total":68,"suggestions":[{"suggestion":"notion vs obsidian","engine":"google","position":1,"modifier":"vs"},{"suggestion":"notion for mac","engine":"google","position":1,"modifier":"for"},{"suggestion":"notion without ai","engine":"google","position":1,"modifier":"with"},{"suggestion":"notion without login","engine":"google","position":3,"modifier":"without"},{"suggestion":"notion near me","engine":"google","position":1,"modifier":"near"},{"suggestion":"notion or obsidian","engine":"google","position":1,"modifier":"or"},{"suggestion":"notion and claude","engine":"google","position":1,"modifier":"and"}]}
```

An empty answer, such as an obscure seed with no suggestions, is still a normal answer and includes a `hint`. If every request of a call fails, the call returns an error that is **not charged**. Invalid arguments (a 3-letter country code, an empty keyword) are not charged either.

### How to connect

Endpoint: `https://rjmacarthy--keyword-research-mcp-server.apify.actor/mcp` (Streamable HTTP)
Header: `Authorization: Bearer <YOUR_APIFY_TOKEN>` (your token is under Apify Console → Settings → API & Integrations)

**Claude Desktop / Claude Code** (`claude_desktop_config.json` or `.mcp.json`):

```json
{
  "mcpServers": {
    "keyword-research": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://rjmacarthy--keyword-research-mcp-server.apify.actor/mcp",
               "--header", "Authorization: Bearer YOUR_APIFY_TOKEN"]
    }
  }
}
```

Or in Claude Code: `claude mcp add --transport http keyword-research https://rjmacarthy--keyword-research-mcp-server.apify.actor/mcp --header "Authorization: Bearer YOUR_APIFY_TOKEN"`

**Cursor** (`~/.cursor/mcp.json`):

```json
{
  "mcpServers": {
    "keyword-research": {
      "url": "https://rjmacarthy--keyword-research-mcp-server.apify.actor/mcp",
      "headers": { "Authorization": "Bearer YOUR_APIFY_TOKEN" }
    }
  }
}
```

The same URL and header work in any MCP client that supports Streamable HTTP, including n8n's MCP Client node, ChatGPT connectors and the OpenAI Agents SDK.

### Pricing

| Event | Price | When |
|---|---|---|
| `tool-call` | **$0.01** | Once per answered tool call |

There is nothing else to pay: no per-keyword fee and no proxy surcharge. Failed calls are free. **Example:** an agent that researches 50 seed keywords, with ideas, long-tail and questions for each (150 calls), spends **$1.50**. 1,000 tool calls cost $10.

### Data you can get

| Field | Description |
|---|---|
| `suggestion` | The autocomplete suggestion, a real query people type |
| `engine` | google, youtube, google-shopping, google-news, google-images or bing |
| `position` | Position in the engine's dropdown for the typed query (1 = top) |
| `questionType` | who / what / how / ... when the suggestion starts with a question word |
| `letter` | Long-tail: the letter or digit typed after the seed |
| `modifier` | Questions/comparisons: the word that was typed (how, vs, for, ...) |
| `url` | Normal runs: the search results page for the suggestion on that engine |

### Use cases

- **SEO content agents:** turn a seed into a topic cluster and FAQ section from real queries.
- **YouTube creators:** find video titles and tags people actually search on YouTube.
- **E-commerce:** Google Shopping autocomplete shows product-intent modifiers (brands, sizes, "for", "with").
- **Comparison and alternatives pages:** "X vs ..." and "X or ..." keywords in one call.
- **Local and international SEO:** the same seed in `gb`, `de`, `in` or `br` with the local language.
- **n8n and Make automations:** a cheap keyword-idea step in a content pipeline.

### Normal (non-MCP) runs

You can also run the Actor like any other Actor. A normal run executes **one** tool with your input and saves one dataset row per suggestion, for one `tool-call` charge per run. This is handy for scheduled jobs and for trying it out:

```json
{ "tool": "suggest_keywords", "keyword": "coffee maker", "engines": ["google", "youtube"] }
{ "tool": "get_long_tail_keywords", "keyword": "air fryer", "engine": "google", "letters": "abc" }
{ "tool": "get_question_keywords", "keyword": "notion", "kind": "comparisons", "engine": "google" }
```

Each row gets `suggestion, engine, position, questionType, letter, modifier, tool, keyword, country, language, url, scrapedAt`, with `null` where a field doesn't apply.

### Tips and limits

- **No search volume, CPC or competition.** Autocomplete shows what people type, not how often. The dropdown order is a rough popularity signal only.
- **At most 20 rows per call.** `total` tells the agent how many unique suggestions existed. For more, call the long-tail tool with specific `letters` (for example `"abc"`, then `"def"`).
- **Long-tail with all 36 letters** sends 36 small requests and takes about 2 to 10 seconds. Each call is capped at 20 seconds; any letters still pending at that point are listed in `errors`. Requests to each engine share one polite pacing queue, so run several all-letter long-tail calls one after another rather than in parallel.
- **Bing** returns more suggestions per query (up to about 20) than Google (about 10).
- **Suggestions change** with time, country and language, which is the point. Expect small differences between runs.

### FAQ

**Is it legal?** The server reads the public autocomplete endpoints that the Google and Bing search boxes use in your browser, without a login. It returns aggregated search suggestions only and collects no personal data. You are responsible for how you use the data, including any terms that apply to you.

**Do I need a proxy or an API key?** No. Every engine answers Apify's servers directly. Bing returns empty answers through Apify's datacenter proxy, so the Actor deliberately uses no proxy and has no proxy setting.

**Why don't I get search volumes?** Volumes come from Google Ads Keyword Planner or paid data providers. Those MCP servers charge $0.045 to $1+ per call. This server is a cheap idea generator: find the keywords here, then check volumes for a shortlist elsewhere.

**Why is my call an error?** Either the arguments were invalid (the message says which: country and language take 2 letters, keyword takes 1 to 100 characters, limit takes 1 to 20), or every request to the engine failed. Errors are never charged.

**How fast is it?** On a warm server, `suggest_keywords` takes about 0.3 to 1 second, the question tool about 1 to 3 seconds, and long-tail with all 36 letters up to about 10 seconds. A cold start adds about 2 seconds.

### Integrations

- **MCP:** Claude, Cursor, ChatGPT connectors, n8n AI Agent (MCP Client tool), the OpenAI Agents SDK, LangChain MCP adapters
- **Apify API:** run a single tool as a normal run and read the dataset (`/v2/acts/rjmacarthy~keyword-research-mcp-server/run-sync-get-dataset-items`)
- **Make, Zapier, n8n:** the Apify integrations, for scheduled keyword reports
- **Webhooks:** for notifications when a normal run finishes

### Changelog

- **0.1** (November 2026): first release, with three tools (keyword ideas, long-tail, questions/comparisons) on six engines.

### More scrapers by the same developer

- [AI Visibility Tracker: ChatGPT, Perplexity, Gemini, Claude](https://apify.com/rjmacarthy/ai-search-visibility-tracker)
- [Domain WHOIS Lookup - Bulk RDAP, Expiry, DNS & Availability](https://apify.com/rjmacarthy/domain-whois-lookup)
- [Google Ads Transparency Scraper](https://apify.com/rjmacarthy/google-ads-transparency-scraper)
- [Keyword Suggestions Scraper - Google, YouTube & Bing](https://apify.com/rjmacarthy/keyword-suggestions-scraper)
- [RAG Web Search - Search the Web, Get Markdown for AI Agents](https://apify.com/rjmacarthy/rag-web-search)
- [SEO Audit Crawler - On-Page SEO Checker for Whole Websites](https://apify.com/rjmacarthy/seo-audit-crawler)

Browse all my Actors on [my Apify Store profile](https://apify.com/rjmacarthy).

### Support

Found a bug or need another engine or tool? Open an issue on the Actor's **Issues** tab and include the tool, the arguments and what you expected.

# Actor input Schema

## `tool` (type: `string`):

Which tool to run.

## `keyword` (type: `string`):

The seed keyword (1-100 characters), e.g. coffee maker.

## `engines` (type: `array`):

Autocomplete engines for suggest_keywords (1-6). Rows are interleaved across engines.

## `engine` (type: `string`):

The one engine used by get_long_tail_keywords and get_question_keywords.

## `kind` (type: `string`):

get_question_keywords: questions (who/what/how... + seed, 11 requests), comparisons (seed + vs/for/with..., 7 requests) or both (18).

## `letters` (type: `string`):

get_long_tail_keywords: which letters/digits to type after the seed, e.g. abc. Leave empty for all of a-z and 0-9 (36 requests).

## `country` (type: `string`):

2-letter country code, e.g. us, gb, de, in.

## `language` (type: `string`):

2-letter language code, e.g. en, de, es.

## `limit` (type: `integer`):

Maximum suggestions returned (1-20).

## Actor input object example

```json
{
  "tool": "suggest_keywords",
  "keyword": "coffee maker",
  "engines": [
    "google",
    "youtube"
  ],
  "engine": "google",
  "kind": "questions",
  "country": "us",
  "language": "en",
  "limit": 20
}
```

# Actor output Schema

## `overview` (type: `string`):

Keyword suggestions.

## `allFields` (type: `string`):

Every field of every row.

## `summary` (type: `string`):

Tool, arguments, counts, errors and request statistics.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "tool": "suggest_keywords",
    "keyword": "coffee maker",
    "engines": [
        "google",
        "youtube"
    ],
    "country": "us",
    "language": "en"
};

// Run the Actor and wait for it to finish
const run = await client.actor("rjmacarthy/keyword-research-mcp-server").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "tool": "suggest_keywords",
    "keyword": "coffee maker",
    "engines": [
        "google",
        "youtube",
    ],
    "country": "us",
    "language": "en",
}

# Run the Actor and wait for it to finish
run = client.actor("rjmacarthy/keyword-research-mcp-server").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "tool": "suggest_keywords",
  "keyword": "coffee maker",
  "engines": [
    "google",
    "youtube"
  ],
  "country": "us",
  "language": "en"
}' |
apify call rjmacarthy/keyword-research-mcp-server --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rjmacarthy/keyword-research-mcp-server"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/ZqmjenzVUk4C8r8bc/builds/AFjGY7P9XVLc0fhnH/openapi.json
