Yandex Analytics

v2.1.0
io.github.nozikov/yandex-mcp Checked 2 hours ago Published 2 months ago

Read-only Yandex analytics for AI agents: Metrika, Webmaster, Direct and Wordstat.

Values you need

VariableWhat it is
YANDEX_MCP_DEFAULT_COUNTERoptional Metrika counter id used when a tool call omits counter_id
YANDEX_MCP_CLIENT_IDoptional Yandex OAuth application id; alternative to storing it in the OS keystore

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add yandex-mcp -- uvx yandex-mcp==2.1.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "yandex-mcp": {
      "args": [
        "yandex-mcp==2.1.0"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "yandex-mcp": {
      "args": [
        "yandex-mcp==2.1.0"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "yandex-mcp": {
      "args": [
        "yandex-mcp==2.1.0"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.yandex-mcp]
command = "uvx"
args = ["yandex-mcp==2.1.0"]

For AI agents

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: metrika_summary, metrika_report, metrika_compare, metrika_counters, webmaster_summary, webmaster_queries, webmaster_indexing, webmaster_sitemaps, ….
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json