← Back to browse

yandex-metrica-mcp

Indexed by io.github.BoxLab-Ltd

About

Query Yandex Metrica analytics — reports, trends, metadata and raw log exports — via an AI agent.

Use this server

Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.

Transportstdio (runs a local command)
Env varsYANDEX_METRIKA_TOKEN YANDEX_METRIKA_COUNTER_ID YANDEX_METRIKA_LOGS_DIR
Claude Code
claude mcp add --env YANDEX_METRIKA_TOKEN= --env YANDEX_METRIKA_COUNTER_ID= --env YANDEX_METRIKA_LOGS_DIR= yandex-metrica-mcp -- npx yandex-metrica-mcp
Cursor

Add to Cursor

If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.

VS Code
code --add-mcp '{"name":"yandex-metrica-mcp","command":"npx","args":["yandex-metrica-mcp"],"env":{"YANDEX_METRIKA_TOKEN":"","YANDEX_METRIKA_COUNTER_ID":"","YANDEX_METRIKA_LOGS_DIR":""}}'
JSON
{
  "mcpServers": {
    "yandex-metrica-mcp": {
      "command": "npx",
      "args": [
        "yandex-metrica-mcp"
      ],
      "env": {
        "YANDEX_METRIKA_TOKEN": "",
        "YANDEX_METRIKA_COUNTER_ID": "",
        "YANDEX_METRIKA_LOGS_DIR": ""
      }
    }
  }
}

Environment variables are listed by name only — fill in your own values. Entries never carry secrets.