Yandex Metrika MCP server, hardened read-only fork

yandex-metrika-mcp

A read-only MCP server for the Yandex Metrika Stat API, a fork of atomkraft with npx install and fixed report dates

MCP server

Low risk

We rate an entry low when it mostly gives the agent instructions and reference material.

Why this level

  • The server has no write operations at all by design, only report reads
All reasons and checks
Russian stack

nikolaymokh-dev/yandex-metrika-mcp

Install

Manual install

claude mcp add yandex-metrika --env YANDEX_API_KEY=ВАШ_ТОКЕН -- npx -y github:nikolaymokh-dev/yandex-metrika-mcp

Command from the README, installs and connects the server in one step.

This is third-party code. Review the repository files before installing.

What it does

The server provides 26 tools over the Metrika Stat API: visits, traffic sources, content analytics, demographics, devices, geography, page depth, goal conversions, e-commerce and other reports. All tools only read data, there are no write operations in the project at all, so there is no flag to gate them. The project is forked from atomkraft/yandex-metrika-mcp and adds npx install straight from git, fixes date_from and date_to being ignored in get_visits, and returns errors as an MCP result with isError instead of plain text.

Who it is for. For analysts and marketers who want safe read-only access to a wide set of Metrika reports from an agent.

Good fit when

  • You need a wide set of ready Metrika reports: content analytics, devices, geography, e-commerce
  • It matters that the server cannot change anything in the account by design
  • You want a one-command install with claude mcp add and npx from github

Not a fit when

  • You need Logs API access or counter and goal management: not present here
  • You need Direct or Webmaster support in the same server

Example request

Compare mobile and desktop traffic for the week and show goal conversions

Limitations

The package is not published to the npm registry; install runs npx -y github:owner/repo straight from the repository. No access to the Logs API, import or management. An OAuth token with metrika:read scope is required.

How to disable. Remove the server with claude mcp remove yandex-metrika or delete it from .mcp.json.

MCP

Transport
stdio
Authentication
API key
Environment variables
Environment variables
YANDEX_API_KEY
required, secret
Yandex OAuth token with metrika:read scope

Security check

  • The server has no write operations at all by design, only report reads

README in short

The Russian README explains why the server is read-only by construction rather than by flag, how to get an OAuth token with metrika:read scope only, and gives three install paths: claude mcp add, a .mcp.json config, and building from source. Tools are grouped by topic: account, sources, content, audience, geography, behavior, search, e-commerce. English details live in README_en.md, and changes versus the original are listed in NOTICE.

FAQ

Can the server change anything in Metrika?

No, write operations are not implemented at all, only 26 reporting tools.

How does it differ from the original atomkraft project?

It adds npx install, fixes a bug where dates were ignored in get_visits, and changes error handling.

Official

Official DataLens (Yandex) skills for Claude Code, Codex and OpenCode: SDK, HTML reports and RLS resolution

SkillMedium riskRussian stackNo VPN needed12Repository stars
Editors’ pick

A Yandex Metrika MCP server generated from the API spec: 108 methods, 10 tools declared by default, transparent filters and response metadata

MCP serverMedium riskRussian stackNo VPN needed2Repository stars
Official

An open MCP server and agent skill set for SEO: keyword research, competitors, backlinks and site audits powered by DataForSEO

MCP serverMedium risk21.5KRepository stars

A Claude Code plugin for SEO audits: technical SEO, E-E-A-T, schema, local and AI search via parallel subagents

PluginHigh risk17.9KRepository stars
Foxx AIYandex Metrika MCP server, hardened read-only fork

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.