← Back to browse

Yandex Metrica MCP

Indexed by io.github.askads

About

MCP server for Yandex Metrica API: list counters, goals and pull web-analytics statistics.

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_LANG YANDEX_METRIKA_API_BASE YANDEX_METRIKA_TIMEOUT_MS YANDEX_METRIKA_MAX_RETRIES
Claude Code
claude mcp add --env YANDEX_METRIKA_TOKEN= --env YANDEX_METRIKA_COUNTER_ID= --env YANDEX_METRIKA_LANG= --env YANDEX_METRIKA_API_BASE= --env YANDEX_METRIKA_TIMEOUT_MS= --env YANDEX_METRIKA_MAX_RETRIES= mcp-yandex-metrica -- npx mcp-yandex-metrica
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":"mcp-yandex-metrica","command":"npx","args":["mcp-yandex-metrica"],"env":{"YANDEX_METRIKA_TOKEN":"","YANDEX_METRIKA_COUNTER_ID":"","YANDEX_METRIKA_LANG":"","YANDEX_METRIKA_API_BASE":"","YANDEX_METRIKA_TIMEOUT_MS":"","YANDEX_METRIKA_MAX_RETRIES":""}}'
JSON
{
  "mcpServers": {
    "mcp-yandex-metrica": {
      "command": "npx",
      "args": [
        "mcp-yandex-metrica"
      ],
      "env": {
        "YANDEX_METRIKA_TOKEN": "",
        "YANDEX_METRIKA_COUNTER_ID": "",
        "YANDEX_METRIKA_LANG": "",
        "YANDEX_METRIKA_API_BASE": "",
        "YANDEX_METRIKA_TIMEOUT_MS": "",
        "YANDEX_METRIKA_MAX_RETRIES": ""
      }
    }
  }
}

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