{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.BoxLab-Ltd/yandex-metrica-mcp",
  "slug": "io.github.boxlab-ltd.yandex-metrica-mcp",
  "title": "yandex-metrica-mcp",
  "summary": "Query Yandex Metrica analytics — reports, trends, metadata and raw log exports — via an AI agent.",
  "version": "1.0.1",
  "serverKey": "yandex-metrica-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.boxlab-ltd.yandex-metrica-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.boxlab-ltd.yandex-metrica-mcp/install.md",
  "trust": {
    "score": 95,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T11:11:29.155697327Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "yandex-metrica-mcp@1.0.1"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add yandex-metrica-mcp -- npx -y yandex-metrica-mcp@1.0.1"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"yandex-metrica-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"yandex-metrica-mcp@1.0.1\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"yandex-metrica-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"yandex-metrica-mcp@1.0.1\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"yandex-metrica-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"yandex-metrica-mcp@1.0.1\"\n      ],\n      \"command\": \"npx\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.yandex-metrica-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"yandex-metrica-mcp@1.0.1\"]"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "YANDEX_METRIKA_TOKEN",
      "required": false,
      "secret": true,
      "description": "Yandex Metrica OAuth token (metrika:read). Optional if you run the `auth` login.",
      "help": "Yandex Metrica OAuth token (metrika:read). Optional if you run the `auth` login.",
      "placeholder": "<YANDEX_METRIKA_TOKEN>"
    },
    {
      "name": "YANDEX_METRIKA_COUNTER_ID",
      "required": false,
      "secret": false,
      "description": "Default counter id, so tools may omit counterId.",
      "help": "Default counter id, so tools may omit counterId.",
      "placeholder": "<YANDEX_METRIKA_COUNTER_ID>"
    },
    {
      "name": "YANDEX_METRIKA_ENABLE_WRITE",
      "required": false,
      "secret": false,
      "description": "Set to 1 to add the write tools (chart annotations, expense upload). Sign-in then also asks for metrika:write; every change is confirmed.",
      "help": "Set to 1 to add the write tools (chart annotations, expense upload). Sign-in then also asks for metrika:write; every change is confirmed.",
      "placeholder": "<YANDEX_METRIKA_ENABLE_WRITE>"
    },
    {
      "name": "YANDEX_METRIKA_LOGS_DIR",
      "required": false,
      "secret": false,
      "description": "Directory for Logs API file exports (logs_download in file mode). Defaults to a folder under the OS temp directory.",
      "help": "Directory for Logs API file exports (logs_download in file mode). Defaults to a folder under the OS temp directory.",
      "placeholder": "<YANDEX_METRIKA_LOGS_DIR>"
    }
  ],
  "expectedTools": [
    "login",
    "submit_code",
    "get_metadata",
    "describe_counter",
    "run_report",
    "run_comparison",
    "run_drilldown",
    "run_timeseries",
    "logs_request",
    "logs_status",
    "logs_download",
    "logs_clean"
  ],
  "agentSteps": [
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: login, submit_code, get_metadata, describe_counter, run_report, run_comparison, run_drilldown, run_timeseries, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T11:11:29.155697327Z"
}
