Yandex Wordstat MCP
Provides tools for keyword research and search trend analysis using Yandex Wordstat API, allowing users to get region trees, popular queries, dynamics, and regional distribution.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Yandex Wordstat MCP top requests for "купить цветы""
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Yandex Wordstat MCP для Open WebUI
MCP-сервер для работы с Yandex Wordstat v2 API (исследование ключевых слов и анализ поисковых трендов) с in-memory кэшированием, обёрнутый в mcpo-прокси для интеграции с Open WebUI.
Архитектура
Open WebUI ──HTTP/OpenAPI──▶ mcpo (proxy) ──stdio──▶ Node MCP Server ──HTTPS──▶ Yandex Wordstat v2 API
:8000 (with TTL cache)MCP-сервер (
src/index.mjs) — stdio-транспорт, 5 инструментов Wordstat, TTL-кэшmcpo — конвертирует stdio MCP → OpenAPI HTTP (нужно для Open WebUI, который поддерживает только Streamable HTTP)
Кэш — in-memory TTL (1 час для запросов, 24 часа для дерева регионов)
Related MCP server: Yandex Wordstat MCP
Инструменты
Инструмент | Описание |
| Дерево регионов (топ-N уровней) |
| Дочерние регионы конкретного региона |
| Популярные запросы по ключевому слову (30 дней) + похожие |
| Динамика поисковых запросов (день/неделя/месяц) |
| Региональное распределение с индексом аффинитивности |
Быстрый старт
1. Получение ключей Yandex Cloud
В консоли Yandex Cloud создайте сервисный аккаунт с ролью
search-api.webSearch.userСоздайте API-ключ с областью
yc.search-api.executeЗапишите folder ID
2. Настройка
cp .env.example .env
# Отредактируйте .env — впишите ключи3. Запуск
docker compose up -d --buildПроверьте, что сервис работает:
curl http://localhost:8000/docs4. Подключение к Open WebUI
Откройте Admin Settings → External Tools в Open WebUI
Нажмите + (Add Server)
Type:
OpenAPI(mcpo отдаёт именно OpenAPI, не MCP)URL:
http://<IP-сервера>:8000Auth:
BearerKey: значение
MCPO_API_KEYиз.envСохраните. Проверьте подключение кнопкой Verify Connection
Теперь инструменты Wordstat доступны в чате через + → Integrations → Tools.
Локальный запуск (без Docker)
npm install
YANDEX_SEARCH_API_KEY=your_key YANDEX_FOLDER_ID=your_folder node src/index.mjsКэширование
Данные | TTL |
Дерево регионов | 24 часа |
Top requests | 1 час |
Dynamics | 1 час |
Regional distribution | 1 час |
Максимум 500 записей в кэше, eviction по LRU.
Переменные окружения
Переменная | Описание | Обязательно |
| API-ключ Yandex Cloud | ✅ |
| ID каталога Yandex Cloud | ✅ |
| Bearer-ключ для доступа к mcpo | ✅ |
| Порт mcpo (по умолчанию 8000) | ❌ |
Публикация Docker-образа (GitHub Container Registry)
Проект включает GitHub Actions workflow (.github/workflows/docker-publish.yml), который автоматически собирает и публикует образ в GHCR при пуше в main или создании тега v*.
Как опубликовать
Создайте репозиторий на GitHub и запушьте код:
git remote add origin https://github.com/<username>/yandex_mcp.git
git push -u origin mainGitHub Actions автоматически соберёт образ и опубликует его как:
ghcr.io/<username>/yandex_mcp:latestДля релиза конкретной версии создайте тег:
git tag v1.0.0
git push origin v1.0.0Это создаст образы ghcr.io/<username>/yandex_mcp:1.0.0 и ghcr.io/<username>/yandex_mcp:1.0.
На хостинге используйте готовый образ — укажите
GHCR_OWNERв.env:
GHCR_OWNER=<username>
docker compose pull && docker compose up -dЛокальная сборка (вместо готового образа)
Если хотите собирать локально, раскомментируйте build: . в docker-compose.yml:
services:
yandex-wordstat-mcp:
# image: ghcr.io/...
build: .Лимиты
Rate limit: 10 запросов/сек (клиентский)
Биллинг: через Yandex Cloud (Search API)
Лицензия
MIT
Available Tools
5 toolsdynamicsSearch DynamicsA
Returns search volume dynamics (trend) for a keyword over time. Daily granularity: last 59 days. Weekly: last 52 weeks. Monthly (default): last 12 months.
Inputs: phrase (required), period, toDate, devices, +2 more. Returns: trend, dynamics
get-region-childrenGet Region ChildrenA
Returns the children of a specific region. Use to drill down from get-regions-tree.
Inputs: regionId (required), depth.
get-regions-treeGet Regions TreeA
Returns the top levels of the Wordstat regions tree (countries, federal districts, major regions). Use get-region-children to drill down.
Inputs: depth.
regionsRegional DistributionA
Returns how search volume for a keyword is distributed across regions over the last 30 days. Includes region names, share percentage and affinity index.
Inputs: phrase (required), limit, devices, regions, +1 more. Returns: regions, topByAffinity
top-requestsTop RequestsA
Returns popular search queries containing the specified keyword for the last 30 days, plus similar/associated queries. The phrase supports Wordstat search operators.
Inputs: phrase (required), devices, regions, numPhrases. Returns: totalCount, topRequests, associations
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clearly distinct purpose: region tree navigation, query popularity, trend dynamics, and regional distribution. There is no overlap or ambiguity.
Most tools follow a verb_noun pattern (get-regions-tree, get-region-children, top-requests), but 'dynamics' and 'regions' are noun-only, introducing slight inconsistency.
5 tools is appropriate for a keyword research server, covering core functionalities without unnecessary bloat or missing essentials.
The set covers region browsing, top requests, trend analysis, and regional distribution. A minor gap is the lack of direct keyword volume data, but similar/associated queries partially compensate.
Maintenance
Related MCP Connectors
MCP servers for Yandex APIs: Wordstat, Search, Webmaster, Metrika, Direct. Open source, by Seyka AI.
Remote MCP server that gives Claude, ChatGPT, Cursor or any MCP client Google search volume, CPC, competition and similar keywords for 50+ countries. Works with no signup at 20 lookups a day; sign in with OAuth or an API key for higher limits, or $4.99 a month for unlimited.
Unified 15-tool SEO, SERP, clean Markdown & GEO (LLM citation Share-of-Voice) MCP server.
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
Related MCP Servers
- AlicenseBqualityCmaintenanceMCP server for managing Yandex Direct advertising, Yandex Metrica analytics, Wordstat keyword research, and Yandex Webmaster SEO tools, with self-configuring OAuth; provides 153 tools for complete ad and search workflows from AI assistants.10014 npm3MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for querying Yandex Wordstat via Yandex Cloud Search API. Enables checking phrase frequency, similar queries, regional demand, and seasonality trends.2MIT
- AlicenseAqualityBmaintenanceMCP server for the Yandex Webmaster API, enabling natural-language queries about site indexing, search queries, IKS, diagnostics, sitemaps, and external links, as well as actions like recrawling, from AI assistants such as Claude, Cursor, and Codex.201,334 npm1MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for the Yandex Wordstat v2 API, enabling keyword search volume queries, regional distribution, and trends analysis via Wordstat tools.MIT