Home › Other › boxlab-ltd/yandex-metrica-mcp

boxlab-ltd/yandex-metrica-mcp

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

TypeScript
★ 15 stars Last pushed 2026-11-05 License: MIT

Connect

Review any command before running it. Package names and URLs come from the server's own registry entry.

Package (npm 1.0.1)

npx -y [email protected]

Or add to your MCP client config:

{
  "mcpServers": {
    "yandex-metrica-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "YANDEX_METRIKA_TOKEN": "<YOUR_VALUE>"
      }
    }
  }
}
  • YANDEX_METRIKA_TOKEN secret — Yandex Metrica OAuth token (metrika:read). Optional if you run the `auth` login.
  • YANDEX_METRIKA_COUNTER_ID — Default counter id, so tools may omit counterId.
  • YANDEX_METRIKA_ENABLE_WRITE — Set to 1 to add the write tools (chart annotations, expense upload). Sign-in then also asks for metrika:write; every change is confirmed.
  • YANDEX_METRIKA_LOGS_DIR — Directory for Logs API file exports (logs_download in file mode). Defaults to a folder under the OS temp directory.

Related servers

Data from the Official MCP Registry