Skip to content
MCP server

Yandex Metrica MCP

Yandex Metrica for AI agents: counters, goals, Reporting API and Logs API export over…

Runs locally
Install
Pricing
Open source
Runs
Locally
Version
0.2.3
Listing updated
1 month ago

About Yandex Metrica MCP

Yandex Metrica MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Yandex Metrica for AI agents: counters, goals, Reporting API and Logs API export over stdio.

Install

Run in a terminal

claude mcp add yandex-metrica-mcp --env YANDEX_METRICA_TOKEN='<YANDEX_METRICA_TOKEN>' -- docker run -i --rm -e YANDEX_METRICA_TOKEN ghcr.io/stufently/yandex-metrica-mcp:0.2.3

Add to claude_desktop_config.json

{
  "mcpServers": {
    "yandex-metrica-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "YANDEX_METRICA_TOKEN",
        "ghcr.io/stufently/yandex-metrica-mcp:0.2.3"
      ],
      "env": {
        "YANDEX_METRICA_TOKEN": "<YANDEX_METRICA_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "yandex-metrica-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "YANDEX_METRICA_TOKEN",
        "ghcr.io/stufently/yandex-metrica-mcp:0.2.3"
      ],
      "env": {
        "YANDEX_METRICA_TOKEN": "<YANDEX_METRICA_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "yandex-metrica-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "YANDEX_METRICA_TOKEN",
        "ghcr.io/stufently/yandex-metrica-mcp:0.2.3"
      ],
      "env": {
        "YANDEX_METRICA_TOKEN": "<YANDEX_METRICA_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "yandex-metrica-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "YANDEX_METRICA_TOKEN",
        "ghcr.io/stufently/yandex-metrica-mcp:0.2.3"
      ],
      "env": {
        "YANDEX_METRICA_TOKEN": "<YANDEX_METRICA_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "yandex-metrica-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "YANDEX_METRICA_TOKEN",
        "ghcr.io/stufently/yandex-metrica-mcp:0.2.3"
      ],
      "env": {
        "YANDEX_METRICA_TOKEN": "<YANDEX_METRICA_TOKEN>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • YANDEX_METRICA_TOKENYandex OAuth token with the metrika:read scopeRequired

Pricing

Open source

Yandex Metrica MCP FAQ

Is Yandex Metrica MCP free?

Yes. Yandex Metrica MCP is open source, so you can use and self-host it for free.

How do I add Yandex Metrica MCP to Claude Code?

Run this command in your terminal: claude mcp add yandex-metrica-mcp --env YANDEX_METRICA_TOKEN='<YANDEX_METRICA_TOKEN>' -- docker run -i --rm -e YANDEX_METRICA_TOKEN ghcr.io/stufently/yandex-metrica-mcp:0.2.3

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers