Yandex Wordstat MCP

v2.5.0
io.github.askads/mcp-yandex-wordstat Checked 5 hours ago Published 12 days ago

MCP server for Yandex Wordstat API: top & related queries, demand dynamics and regions.

Values you need

VariableWhat it is
WORDSTAT_API_KEYrequired secret Yandex Cloud API key for the Search API (sent as Api-Key). Treat it as a secret.
WORDSTAT_FOLDER_IDrequired Yandex Cloud folder id, injected into every request body.
WORDSTAT_LANGoptional Language for API responses (ru, en, ...). Default: ru
WORDSTAT_API_BASEoptional API root host override. Default: https://searchapi.api.cloud.yandex.net
WORDSTAT_TIMEOUT_MSoptional Per-request timeout in milliseconds. Default: 60000
WORDSTAT_MAX_RETRIESoptional 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.0
Add 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

  1. 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.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: top_requests, dynamics, regions, list_regions, raw_request.
  5. 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