Yandex Wordstat MCP
Enables keyword research and search trend analysis for the Russian market through Yandex Wordstat API. Provides access to popular search queries, search volume dynamics over time, and regional distribution data.
README
yandex-wordstat-mcp
MCP server for Yandex Wordstat API — keyword research and search trend analysis for the Russian market.
English
Features
| Tool | Description | Quota Cost |
|---|---|---|
get-regions-tree |
Get all supported regions with IDs | Free |
top-requests |
Popular queries containing a keyword (last 30 days) | 1 unit |
dynamics |
Search volume trends over time | 2 units |
regions |
Regional distribution of search volume | 2 units |
Setup
Step 1: Create Yandex OAuth App
- Create a Yandex ID account if you don't have one
- Go to Yandex OAuth and create a new app
- Under Platforms, check "Web services"
- Under Data access, search for
wordstat:apiand add it - Click Create app
- Note your Client ID and Client Secret
Step 2: Request API Access
Important: You must request access to the Wordstat API separately.
- Go to Yandex Wordstat
- Click on your profile → API access
- Submit a request with your Client ID
- Wait for approval (usually 1-2 business days)
Step 3: Get Your Token
export YANDEX_CLIENT_ID=your_client_id
export YANDEX_CLIENT_SECRET=your_client_secret
npx yandex-wordstat-mcp auth
This will:
- Open your browser to Yandex authorization page
- After you authorize, Yandex shows a code
- Paste the code into the terminal
- Get your access token
Step 4: Configure Claude
Claude Desktop — edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"yandex-wordstat": {
"command": "npx",
"args": ["-y", "yandex-wordstat-mcp"],
"env": {
"YANDEX_WORDSTAT_TOKEN": "your_token_here"
}
}
}
}
Claude Code:
claude mcp add yandex-wordstat -e YANDEX_WORDSTAT_TOKEN=your_token -- npx -y yandex-wordstat-mcp
Usage Examples
Once configured, ask Claude:
Keyword Research:
- "What are the most popular search queries for 'buy iPhone' in Russia?"
- "Show me top searches containing 'real estate Moscow'"
- "What are people searching for about 'artificial intelligence'?"
Search Trends:
- "Show me the search trend for 'cryptocurrency' over the past year"
- "How has interest in 'electric cars' changed over time?"
- "Show weekly search dynamics for 'vacation Turkey'"
Regional Analysis:
- "Which regions search for 'jobs' the most?"
- "Show regional distribution for 'delivery food'"
- "Where in Russia do people search for 'ski resort' most often?"
Get Region IDs:
- "Get the Yandex Wordstat regions tree"
- "What is the region ID for Moscow?"
Русский
Возможности
| Инструмент | Описание | Расход квоты |
|---|---|---|
get-regions-tree |
Получить все поддерживаемые регионы с ID | Бесплатно |
top-requests |
Популярные запросы с ключевым словом (за 30 дней) | 1 единица |
dynamics |
Динамика поисковых запросов во времени | 2 единицы |
regions |
Региональное распределение запросов | 2 единицы |
Настройка
Шаг 1: Создание OAuth-приложения Яндекса
- Создайте Яндекс ID, если у вас его нет
- Перейдите в Яндекс OAuth и создайте новое приложение
- В разделе Платформы выберите "Веб-сервисы"
- В разделе Доступ к данным найдите
wordstat:apiи добавьте - Нажмите Создать приложение
- Сохраните Client ID и Client Secret
Шаг 2: Запрос доступа к API
Важно: Необходимо отдельно запросить доступ к API Вордстата.
- Перейдите на Яндекс Вордстат
- Нажмите на профиль → Доступ к API
- Отправьте заявку с вашим Client ID
- Дождитесь подтверждения (обычно 1-2 рабочих дня)
Шаг 3: Получение токена
export YANDEX_CLIENT_ID=ваш_client_id
export YANDEX_CLIENT_SECRET=ваш_client_secret
npx yandex-wordstat-mcp auth
Команда:
- Откроет браузер на странице авторизации Яндекса
- После авторизации Яндекс покажет код
- Вставьте код в терминал
- Получите токен доступа
Шаг 4: Настройка Claude
Claude Desktop — отредактируйте ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) или %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"yandex-wordstat": {
"command": "npx",
"args": ["-y", "yandex-wordstat-mcp"],
"env": {
"YANDEX_WORDSTAT_TOKEN": "ваш_токен"
}
}
}
}
Claude Code:
claude mcp add yandex-wordstat -e YANDEX_WORDSTAT_TOKEN=ваш_токен -- npx -y yandex-wordstat-mcp
Примеры использования
После настройки спросите Claude:
Исследование ключевых слов:
- "Какие самые популярные запросы по 'купить iPhone' в России?"
- "Покажи топ запросов по 'недвижимость Москва'"
- "Что ищут люди по запросу 'искусственный интеллект'?"
Динамика поиска:
- "Покажи тренд поиска 'криптовалюта' за последний год"
- "Как менялся интерес к 'электромобили' со временем?"
- "Покажи недельную динамику запросов 'отдых Турция'"
Региональный анализ:
- "В каких регионах больше всего ищут 'работа'?"
- "Покажи региональное распределение для 'доставка еды'"
- "Где в России чаще всего ищут 'горнолыжный курорт'?"
Получение ID регионов:
- "Получи дерево регионов Яндекс Вордстат"
- "Какой ID региона у Москвы?"
API Quotas
Yandex Wordstat API has two quota types:
- Total daily quota — limits total API calls per day
- Rate limit — 10 requests per second (handled automatically)
Development
git clone https://github.com/iichat/yandex-wordstat-mcp.git
cd yandex-wordstat-mcp
bun install
No build step needed — runs directly with Node.
bun run lint # check
bun run lint:fix # fix issues
bun run format # format code
Test locally:
YANDEX_WORDSTAT_TOKEN=your-token node src/index.mjs
License
MIT © Alternex
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
E2B
Using MCP to run code via e2b.