Yandex Wordstat MCP
v2.5.0MCP server for Yandex Wordstat API: top & related queries, demand dynamics and regions.
Values you need
| Variable | What it is | |
|---|---|---|
WORDSTAT_API_KEY | required secret | Yandex Cloud API key for the Search API (sent as Api-Key). Treat it as a secret. |
WORDSTAT_FOLDER_ID | required | Yandex Cloud folder id, injected into every request body. |
WORDSTAT_LANG | optional | Language for API responses (ru, en, ...). Default: ru |
WORDSTAT_API_BASE | optional | API root host override. Default: https://searchapi.api.cloud.yandex.net |
WORDSTAT_TIMEOUT_MS | optional | Per-request timeout in milliseconds. Default: 60000 |
WORDSTAT_MAX_RETRIES | optional | Retries on transient errors (429, 5xx, network). Default: 3 |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mcp-yandex-wordstat -e 'WORDSTAT_API_KEY=<WORDSTAT_API_KEY>' -e 'WORDSTAT_FOLDER_ID=<WORDSTAT_FOLDER_ID>' -- npx -y mcp-yandex-wordstat@2.5.0Add to
claude_desktop_config.json{
"mcpServers": {
"mcp-yandex-wordstat": {
"args": [
"-y",
"mcp-yandex-wordstat@2.5.0"
],
"command": "npx",
"env": {
"WORDSTAT_API_KEY": "<WORDSTAT_API_KEY>",
"WORDSTAT_FOLDER_ID": "<WORDSTAT_FOLDER_ID>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp-yandex-wordstat": {
"args": [
"-y",
"mcp-yandex-wordstat@2.5.0"
],
"command": "npx",
"env": {
"WORDSTAT_API_KEY": "<WORDSTAT_API_KEY>",
"WORDSTAT_FOLDER_ID": "<WORDSTAT_FOLDER_ID>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "WORDSTAT_API_KEY",
"id": "wordstat-api-key",
"password": true,
"type": "promptString"
},
{
"description": "WORDSTAT_FOLDER_ID",
"id": "wordstat-folder-id",
"password": true,
"type": "promptString"
}
],
"servers": {
"mcp-yandex-wordstat": {
"args": [
"-y",
"mcp-yandex-wordstat@2.5.0"
],
"command": "npx",
"env": {
"WORDSTAT_API_KEY": "${input:wordstat-api-key}",
"WORDSTAT_FOLDER_ID": "${input:wordstat-folder-id}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp-yandex-wordstat]
command = "npx"
args = ["-y", "mcp-yandex-wordstat@2.5.0"]
env = { "WORDSTAT_API_KEY" = "<WORDSTAT_API_KEY>", "WORDSTAT_FOLDER_ID" = "<WORDSTAT_FOLDER_ID>" }For AI agents
- Ask the user for: WORDSTAT_API_KEY, WORDSTAT_FOLDER_ID. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: top_requests, dynamics, regions, list_regions, raw_request.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json