Query Yandex Metrica analytics — reports, trends, metadata and raw log exports — via an AI agent.
registry version 0.3.0
npm
npx -y yandex-metrica-mcpnpm
npx -y yandex-metrica-mcp@0.3.0
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"yandex-metrica-mcp": {
"command": "npx",
"args": [
"-y",
"yandex-metrica-mcp"
],
"env": {
"YANDEX_METRIKA_TOKEN": "<YOUR_YANDEX_METRIKA_TOKEN>"
}
}
}
}{
"mcpServers": {
"yandex-metrica-mcp": {
"command": "npx",
"args": [
"-y",
"yandex-metrica-mcp@0.3.0"
],
"env": {
"YANDEX_METRIKA_TOKEN": "<YOUR_YANDEX_METRIKA_TOKEN>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env YANDEX_METRIKA_TOKEN=<YOUR_YANDEX_METRIKA_TOKEN> yandex-metrica-mcp -- npx -y yandex-metrica-mcp
claude mcp add --env YANDEX_METRIKA_TOKEN=<YOUR_YANDEX_METRIKA_TOKEN> yandex-metrica-mcp -- npx -y yandex-metrica-mcp@0.3.0
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"yandex-metrica-mcp": {
"command": "npx",
"args": [
"-y",
"yandex-metrica-mcp"
],
"env": {
"YANDEX_METRIKA_TOKEN": "<YOUR_YANDEX_METRIKA_TOKEN>"
}
}
}
}{
"mcpServers": {
"yandex-metrica-mcp": {
"command": "npx",
"args": [
"-y",
"yandex-metrica-mcp@0.3.0"
],
"env": {
"YANDEX_METRIKA_TOKEN": "<YOUR_YANDEX_METRIKA_TOKEN>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"yandex-metrica-mcp": {
"command": "npx",
"args": [
"-y",
"yandex-metrica-mcp"
],
"env": {
"YANDEX_METRIKA_TOKEN": "<YOUR_YANDEX_METRIKA_TOKEN>"
}
}
}
}{
"servers": {
"yandex-metrica-mcp": {
"command": "npx",
"args": [
"-y",
"yandex-metrica-mcp@0.3.0"
],
"env": {
"YANDEX_METRIKA_TOKEN": "<YOUR_YANDEX_METRIKA_TOKEN>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"yandex-metrica-mcp": {
"command": "npx",
"args": [
"-y",
"yandex-metrica-mcp"
],
"env": {
"YANDEX_METRIKA_TOKEN": "<YOUR_YANDEX_METRIKA_TOKEN>"
}
}
}
}{
"mcpServers": {
"yandex-metrica-mcp": {
"command": "npx",
"args": [
"-y",
"yandex-metrica-mcp@0.3.0"
],
"env": {
"YANDEX_METRIKA_TOKEN": "<YOUR_YANDEX_METRIKA_TOKEN>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
YANDEX_METRIKA_TOKEN secret — Yandex Metrica OAuth token (metrika:read). Optional if you run the `auth` login.YANDEX_METRIKA_COUNTER_ID — Default counter id, so tools may omit counterId.YANDEX_METRIKA_LOGS_DIR — Directory for Logs API file exports (logs_download in file mode). Defaults to a folder under the OS temp directory.⭐ 14 stars · 最近更新于 16 天前 · MIT license
yandex metrica mcp Ask your Yandex Metrica analytics in plain language — from Claude, Cursor, or any MCP client. A Model Context Protocol (MCP) server for Yandex Metrica . It lets an AI agent query your web analytics data — traffic, sources, landing pages, conversions, geography, devices and trends…
Summary from the project README — github.com/BoxLab-Ltd/yandex-metrica-mcp
Distributed as npm, listed under Developer Tools. Review our MCP security guide before granting access to real data.
yandex metrica mcp Ask your Yandex Metrica analytics in plain language — from Claude, Cursor, or any MCP client. A Model Context Protocol (MCP) server for Yandex Metrica . It lets an AI agent query your web analytics data — traffic, sources, landing pages, conversions, geography, devices and trends
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/BoxLab-Ltd/yandex-metrica-mcp. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/yandex-metrica-mcp/)
HTML
<a href="https://mcpnav.net/server/yandex-metrica-mcp/"><img src="https://mcpnav.net/badge/yandex-metrica-mcp.svg" alt="Listed on MCPNav" height="20"></a>