Skip to content
VS Code

Yandex Analytics for VS Code

io.github.nozikov/yandex-mcp

Read-only Yandex analytics for AI agents: Metrika, Webmaster, Direct and Wordstat.

client:VS Code transport:stdio runtime:pypi

Install Yandex Analytics in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "yandex-mcp-default-counter",
      "description": "YANDEX_MCP_DEFAULT_COUNTER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "yandex-mcp-client-id",
      "description": "YANDEX_MCP_CLIENT_ID",
      "password": true
    }
  ],
  "servers": {
    "yandex-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "yandex-mcp"
      ],
      "env": {
        "YANDEX_MCP_DEFAULT_COUNTER": "${input:yandex-mcp-default-counter}",
        "YANDEX_MCP_CLIENT_ID": "${input:yandex-mcp-client-id}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Yandex Analytics in other clients