What it does
The server lets an AI agent such as Claude or Cursor query Yandex Metrica data, including traffic, sources, landing pages, conversions, geography, devices and trends. Its read-only tools cover flexible reports, period comparisons, drilldowns, time series, counter metadata and configuration, and Logs API exports of raw session or hit rows. Opt-in write tools can add chart annotations and import ad costs from CSV files, and each change is confirmed before it is sent.
It suits questions about web analytics asked in plain language, across marketing, product analytics, e-commerce and SEO. The agent can discover the counters on an account and their goal ids, so that conversion metrics are queried with real names.
Setup means adding the server to an MCP client such as Claude Desktop, then signing in once through the browser using authorization-code with PKCE, so no client secret is stored. The token is cached and valid for about one year. A static token, a Claude Code plugin or a Claude Desktop .mcpb extension are alternatives. The server runs over stdio by default, or over Streamable HTTP bound to 127.0.0.1.
Limitations and requirements
Requires a Yandex Metrica account with access to the counters queried. Write tools are off unless YANDEX_METRIKA_ENABLE_WRITE=1 is set, and then sign-in must be repeated to grant the metrika:write scope. The server checks that the account has edit access to the counter before any write. Exposing HTTP mode on a non-local interface requires MCP_HTTP_TOKEN. Logs downloads return a bounded sample inline by default; the full export is written to a file instead.
Safety
Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.
- Runs code or changes an assistant's behaviour
Sources
- Official MCP Registry first seen 13 Nov 2026 · last seen 13 Nov 2026 · its page on the source
io.github.BoxLab-Ltd/yandex-metrica-mcp
Query Yandex Metrica analytics — reports, trends, metadata and raw log exports — via an AI agent.
v1.0.1As shown on registry.modelcontextprotocol.io when we last read it