Yandex Search MCP

v2.3.0
io.github.stufently/yandex-search-mcp Checked 16 hours ago Published 22 days ago

MCP server for Yandex Search API (v2, Cloud)

Values you need

VariableWhat it is
YANDEX_SEARCH_API_KEYrequired secret Yandex Cloud API key (service account with search-api.webSearch.user)
YANDEX_FOLDER_IDrequired Yandex Cloud folder ID

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add yandex-search-mcp -e 'YANDEX_FOLDER_ID=<YANDEX_FOLDER_ID>' -e 'YANDEX_SEARCH_API_KEY=<YANDEX_SEARCH_API_KEY>' -- npx -y @stufently/yandex-search-mcp@2.3.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "yandex-search-mcp": {
      "args": [
        "-y",
        "@stufently/yandex-search-mcp@2.3.0"
      ],
      "command": "npx",
      "env": {
        "YANDEX_FOLDER_ID": "<YANDEX_FOLDER_ID>",
        "YANDEX_SEARCH_API_KEY": "<YANDEX_SEARCH_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "yandex-search-mcp": {
      "args": [
        "-y",
        "@stufently/yandex-search-mcp@2.3.0"
      ],
      "command": "npx",
      "env": {
        "YANDEX_FOLDER_ID": "<YANDEX_FOLDER_ID>",
        "YANDEX_SEARCH_API_KEY": "<YANDEX_SEARCH_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "YANDEX_FOLDER_ID",
      "id": "yandex-folder-id",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "YANDEX_SEARCH_API_KEY",
      "id": "yandex-search-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "yandex-search-mcp": {
      "args": [
        "-y",
        "@stufently/yandex-search-mcp@2.3.0"
      ],
      "command": "npx",
      "env": {
        "YANDEX_FOLDER_ID": "${input:yandex-folder-id}",
        "YANDEX_SEARCH_API_KEY": "${input:yandex-search-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.yandex-search-mcp]
command = "npx"
args = ["-y", "@stufently/yandex-search-mcp@2.3.0"]
env = { "YANDEX_FOLDER_ID" = "<YANDEX_FOLDER_ID>", "YANDEX_SEARCH_API_KEY" = "<YANDEX_SEARCH_API_KEY>" }

For AI agents

  1. Ask the user for: YANDEX_SEARCH_API_KEY, YANDEX_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: search.
  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