The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Yandex Metrika MCP listing page.
MCP server for Yandex.Metrica API — counters, goals, reports, logs, traffic sources, top pages. 15 tools, OAuth Bearer token auth.
Part of the Russian API MCP series by @theYahia.
Yandex.Metrica -> Read statistics and counter parametersaccess_token=...)Add to claude_desktop_config.json:
Endpoint: POST http://localhost:3000/mcp
Health check: GET http://localhost:3000/health
Use smithery.yaml from the repository. Requires YANDEX_METRIKA_TOKEN.
| Variable | Required | Description |
|---|---|---|
YANDEX_METRIKA_TOKEN | Yes | OAuth 2.0 Bearer token from Yandex OAuth |
| Tool | Description |
|---|---|
list_counters | List all counters. Filter by name/URL with search_string. |
get_counter | Get full details of a single counter by ID. |
create_counter | Create a new counter for a website. |
update_counter | Update counter name or site URL. |
delete_counter | Permanently delete a counter (irreversible). |
| Tool | Description |
|---|---|
list_goals | List all goals for a counter. |
create_goal | Create a goal (url, number, step, action types). |
delete_goal | Delete a goal from a counter. |
| Tool | Description |
|---|---|
export_logs | Export raw visit/hit logs via the Logs API. |
| Tool | Description |
|---|---|
get_report | Flexible reporting — any metrics + dimensions + filters + sort. |
get_report_comparison | Compare two date periods (A vs B). |
get_report_drilldown | Hierarchical drill-down into report dimensions. |
| Tool | Description |
|---|---|
get_traffic_summary | Quick overview: visits, pageviews, users, bounce rate, avg duration. |
get_traffic_sources | Traffic sources breakdown by channel. |
get_top_pages | Top pages by pageviews with performance metrics. |
MIT