[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111236":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":15,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":17,"rankGlobal":9,"rankLanguage":9,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":19,"hasPages":19,"topics":21,"createdAt":9,"pushedAt":41,"updatedAt":42,"readmeContent":43,"aiSummary":44,"trendingCount":15,"starSnapshotCount":15,"syncStatus":45,"lastSyncTime":46,"discoverSource":47},111236,"yandex-metrika-mcp","DevCrabs-Inc\u002Fyandex-metrika-mcp","DevCrabs-Inc","Read-only MCP server for Yandex Metrika (Яндекс Метрика): verifiable reports, period comparisons, time series and exports for Claude, Cursor, VS Code and Codex.",null,"TypeScript",130,1,127,7,0,3,41.2,"MIT License",false,"main",[22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"ai-agents","analytics","claude","claude-code","claude-desktop","codex","cursor","mcp","mcp-server","mcpb","metrika","model-context-protocol","seo","typescript","vscode","web-analytics","yandex","yandex-metrica","yandex-metrika","2026-11-23 14:24:15","2026-11-11 23:37:22","\u003Cp align=\"center\">\u003Cimg src=\"assets\u002Flogo-512.png\" width=\"160\" alt=\"Yandex Metrika MCP logo: a crab holding a chart\">\u003C\u002Fp>\n\n# Yandex Metrika MCP\n\nRead-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.\n\n**Документация на русском: [README.ru.md](README.ru.md) и [docs\u002Fru](docs\u002Fru\u002FREADME.md).**\n\n> Status: **1.0.0**, the first stable release; tool names, arguments and outputs follow semantic versioning. Covered by tests against synthetic data and a simulated API, and checked with a live Yandex sign-in and reports on macOS. Other clients and platforms are tracked in [docs\u002Frelease-checklist.md](docs\u002Frelease-checklist.md).\n\n## Website and guides\n\n- [Dev Crabs product overview (RU)](https:\u002F\u002Fdev-crabs.ru\u002Fproducts\u002Fyandex-metrika-mcp) — see the demo report and business questions the server can answer.\n- [SEO quickstart (RU)](https:\u002F\u002Fdev-crabs.ru\u002Fproducts\u002Fyandex-metrika-mcp\u002Fseo) — connect your counter, compare organic landing pages and export a report.\n- [Client installation](docs\u002Fru\u002Finstallation.md) · [Yandex sign-in](docs\u002Fru\u002Fconnection.md) · [Report accuracy](docs\u002Fru\u002Fdata-quality.md) · [Full exports](docs\u002Fru\u002Fexports.md) (RU).\n\n## Why this server\n\n- **Sign in through the browser.** No token pasting, no OAuth app of your own; the token never enters the chat.\n- **Numbers you can verify.** Calendar periods in the counter time zone, complete days by default, strict accuracy that refuses sampled data instead of calling it exact, API totals instead of sums of visible rows.\n- **Several accounts and clients.** Isolated connections with their own counters; nothing is shared between them.\n- **Full exports.** Background CSV\u002FJSON export of every row with checksums, a manifest and resume after a restart.\n- **Small, predictable surface.** 13 tools, 3 prompts. Read-only: no write endpoints, no raw HTTP tool.\n\n## Install\n\nRequires Node.js 22.13 or later. No API key and no OAuth app of your own: after installing, ask the assistant to connect Yandex Metrika and sign in through the browser.\n\n**One command** (writes the client config and keeps a backup):\n\n```bash\nnpx -y @dev-crabs\u002Fyandex-metrika-mcp setup --client claude-desktop   # or claude-code, cursor, vscode, windsurf, codex\n```\n\n**One click:**\n\n[![Install in Cursor](https:\u002F\u002Fcursor.com\u002Fdeeplink\u002Fmcp-install-dark.svg)](\u003Chttps:\u002F\u002Fcursor.com\u002Finstall-mcp?name=yandex-metrika&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBkZXYtY3JhYnMveWFuZGV4LW1ldHJpa2EtbWNwIl19>) [Install in VS Code](\u003Chttps:\u002F\u002Fvscode.dev\u002Fredirect?url=vscode%3Amcp%2Finstall%3F%257B%2522name%2522%253A%2522yandex-metrika%2522%252C%2522type%2522%253A%2522stdio%2522%252C%2522command%2522%253A%2522npx%2522%252C%2522args%2522%253A%255B%2522-y%2522%252C%2522%2540dev-crabs%252Fyandex-metrika-mcp%2522%255D%257D>)\n\n**Claude Code:**\n\n```bash\nclaude mcp add --scope user yandex-metrika -- npx -y @dev-crabs\u002Fyandex-metrika-mcp\n```\n\n**Any MCP client** (`mcpServers` format; VS Code uses `servers` with `\"type\": \"stdio\"`):\n\n```json\n{\n  \"mcpServers\": {\n    \"yandex-metrika\": { \"command\": \"npx\", \"args\": [\"-y\", \"@dev-crabs\u002Fyandex-metrika-mcp\"] }\n  }\n}\n```\n\nOn Windows some clients cannot start `npx` directly; use `\"command\": \"cmd\", \"args\": [\"\u002Fc\", \"npx\", \"-y\", \"@dev-crabs\u002Fyandex-metrika-mcp\"]`, which is what `setup` writes there. Claude Desktop users can also install the `.mcpb` bundle from the GitHub release. AI agents installing the server should follow [llms-install.md](llms-install.md).\n\nRestart the client and ask: _\"Connect Yandex Metrika and compare the last two weeks by traffic source.\"_ The assistant calls `metrika_connect` and gives you a local sign-in link. Try it without an account: the synthetic `conn_demo` connection is always available.\n\n## Example questions\n\n- \"Compare the last two complete weeks by visits and target visits of goal 3001.\"\n- \"Which landing pages brought the most leads for goal X last month?\"\n- \"Show weekly visits since the start of the quarter.\"\n- \"Export all traffic sources for October to CSV for Excel.\"\n\n## Tools\n\n| Tool                                                                                         | Purpose                                                                |\n| -------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |\n| `metrika_status`                                                                             | Connections, exports and the next step. Works before sign-in.          |\n| `metrika_connect` \u002F `metrika_disconnect`                                                     | Browser sign-in; local removal of a connection and its token.          |\n| `metrika_list_counters` \u002F `metrika_describe_counter`                                         | Sites, time zones and goals with IDs.                                  |\n| `metrika_catalog`                                                                            | Presets, metrics (with aggregation rules), dimensions, period presets. |\n| `metrika_run_report`                                                                         | One period: presets or explicit fields, filters, sorting, paging.      |\n| `metrika_compare_periods`                                                                    | Two periods under identical conditions: absolute, % and p.p. changes.  |\n| `metrika_run_timeseries`                                                                     | Day, week or month buckets with exact calendar boundaries.             |\n| `metrika_export_report` \u002F `metrika_get_job` \u002F `metrika_cancel_job` \u002F `metrika_read_artifact` | Full CSV\u002FJSON exports as resumable background jobs.                    |\n\nPrompts: `weekly_review`, `traffic_drop`, `landing_conversion`.\n\n## Data and privacy\n\nReport data you request is sent to your AI client and its model provider; tokens never are. Tokens live in the OS credential store (macOS Keychain, Windows Credential Manager, Linux Secret Service). Without one, the server refuses to store tokens unless you explicitly choose an unencrypted user-only file. URL query strings are removed from labels by default. No telemetry. Details: [docs\u002Fru\u002Fprivacy-security.md](docs\u002Fru\u002Fprivacy-security.md).\n\n## Development\n\n```bash\npnpm install\npnpm check        # Biome, tsc, vitest\npnpm build        # dist\u002Fcli.js\npnpm mcpb         # build\u002Fyandex-metrika-mcp-\u003Cversion>.mcpb\n```\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) and [AGENTS.md](AGENTS.md). Security reports: [SECURITY.md](SECURITY.md).\n\n## License\n\nMIT © DevCrabs\n","这是一个为 Yandex Metrika（雅虎米特里卡）设计的只读 MCP（Model Context Protocol）服务器，专用于在 AI 编程助手（如 Claude、Cursor、VS Code、Codex）中安全、可验证地查询网站分析数据。核心功能包括：基于真实时区的精确时段对比、拒绝采样数据以保障报告可信度、支持多账户隔离连接、提供带校验和的完整 CSV\u002FJSON 导出，以及通过浏览器 OAuth 登录（敏感令牌不经过聊天上下文）。适用于 SEO 分析、流量归因诊断、运营数据核验等需高可信度 Web 分析结果的场景。",2,"2026-11-24 04:40:32","CREATED_QUERY"]