Yandex Metrika
Yandex Metrika is an MCP server that adds data and analytics tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Read-only Yandex Metrika (Яндекс Метрика) analytics: verifiable reports, comparisons and exports. It has 130 GitHub stars, is released under the MIT license and runs locally with npx -y @dev-crabs/yandex-metrika-mcp.
github.com/DevCrabs-Inc/yandex-metrika-mcp (opens in a new tab)
Data as of from the GitHub API and the official MCP registry; description from the project's repository. Report an error
Install Yandex Metrika
Generated from the server's MCP registry entry. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"yandex-metrika": {
"command": "npx",
"args": [
"-y",
"@dev-crabs/yandex-metrika-mcp"
],
"env": {
"YANDEX_METRIKA_TOKEN": "your-value"
}
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --env YANDEX_METRIKA_TOKEN=your-value --transport stdio yandex-metrika -- npx -y @dev-crabs/yandex-metrika-mcpCursor
{
"mcpServers": {
"yandex-metrika": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@dev-crabs/yandex-metrika-mcp"
],
"env": {
"YANDEX_METRIKA_TOKEN": "your-value"
}
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"inputs": [
{
"type": "promptString",
"id": "yandex_metrika_token",
"description": "YANDEX_METRIKA_TOKEN",
"password": true
}
],
"servers": {
"yandex-metrika": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@dev-crabs/yandex-metrika-mcp"
],
"env": {
"YANDEX_METRIKA_TOKEN": "${input:yandex_metrika_token}"
}
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Environment variables
Variables the server reads at startup.
| Name | Required | Description |
|---|---|---|
YM_MCP_CLIENT_ID | No | Optional: your own Yandex OAuth app client ID (public PKCE client, no secret). |
YANDEX_METRIKA_TOKENsecret | No | Optional: an existing OAuth token with metrika:read, for headless setups. |
Tools (5)
Parsed from the Tools section of the README; check the repository for the current list.
metrika_statusConnections, exports and the next step. Works before sign-in.
metrika_catalogPresets, metrics (with aggregation rules), dimensions, period presets.
metrika_run_reportOne period: presets or explicit fields, filters, sorting, paging.
metrika_compare_periodsTwo periods under identical conditions: absolute, % and p.p. changes.
metrika_run_timeseriesDay, week or month buckets with exact calendar boundaries.
About Yandex Metrika
Read-only MCP server for Yandex Metrika (Yandex Metrica, Яндекс Метрика). Connect it to Claude, Cursor, VS Code, Codex or any MCP client and ask about traffic, sources, landing pages and goals. Every answer comes with exact dates, the counter time zone, sampling status, filters and provenance, so the numbers can be checked.
- ai-agents
- analytics
- claude
- claude-code
- claude-desktop
- codex
- cursor
- mcp
- mcp-server
- mcpb
Similar MCP servers
More data & analytics MCP servers
MCP BigQuery Server
ergut/mcp-bigquery-server
A Model Context Protocol (MCP) server that provides secure, read-only access to BigQuery datasets.
Maintained · last commit May 22, 2026
Data & analyticsTypeScriptPug
pug-sh/pug
Query events, funnels, retention and profiles in Pug product analytics, and build dashboards.
Active · last commit Nov 16, 2026
OfficialData & analyticsGoMuxinc MCP Server
muxinc/mux-ts
The official MCP Server for the Mux API.
Active · last commit Nov 11, 2026
OfficialData & analyticsTypeScriptSpytrend
Spytrend/spytrend-mcp
Analytics, advertising: Facebook/Meta, TikTok, competitor ads.
Too new to judge · created Sep 1, 2026
OfficialData & analyticsPythonBetterlytics
betterlytics/betterlytics
Query your Betterlytics web analytics from AI agents: traffic, funnels, journeys, errors, uptime.
Active · last commit Nov 14, 2026
OfficialData & analyticsTypeScriptMarkifact - Ads & Analytics
markifact/markifact-mcp
AI marketing agent for Google Ads, Meta, GA4, TikTok, LinkedIn, Shopify, HubSpot and more.
Maintained · last commit Nov 10, 2026
OfficialData & analyticsShell
How do I install the Yandex Metrika MCP server?
Add the command npx -y @dev-crabs/yandex-metrika-mcp to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is Yandex Metrika free?
The server is open source under the MIT license, so running it is free. It does not declare any required API key.
Is Yandex Metrika actively maintained?
The most recent commit was on Nov 10, 2026. The latest release is v1.0.0, published Nov 9, 2026. appsgit only lists MCP servers with a commit in the last six months.