Skip to content
VS Code

Yandex Metrika for VS Code

io.github.devcrabs-inc/yandex-metrika-mcp

Read-only Yandex Metrika (Яндекс Метрика) analytics: verifiable reports, comparisons and exports.

client:VS Code transport:stdio runtime:npm

Install Yandex Metrika in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "ym-mcp-client-id",
      "description": "YM_MCP_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "yandex-metrika-token",
      "description": "YANDEX_METRIKA_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "yandex-metrika-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@dev-crabs/yandex-metrika-mcp"
      ],
      "env": {
        "YM_MCP_CLIENT_ID": "${input:ym-mcp-client-id}",
        "YANDEX_METRIKA_TOKEN": "${input:yandex-metrika-token}"
      }
    }
  }
}

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

Yandex Metrika in other clients