SEO Tools: Yandex.Metrica
NPM · SEO-TOOLS-MCP-METRIKA · SCANNED AUG 3
MCP server for Yandex.Metrica Stat API (read-only).
Available components
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →
Supply Chain Security87
- No malware found by supply-chain analysis.Pass
- Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree.Partial
- No install/post-install scripts declared.Pass
- Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency45
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Provenance check failed: no build-provenance attestation is published. See how to fix → View diagnostics → Fail
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 6 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability61
- AI-judged instruction clarity (good).Pass
- Context-footprint check failed: tool/resource definitions use about 2359 tokens (~168/item across 14 items; 14 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management27
- Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage94
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 81% of tool parameters carry a description.Partial
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.
npm · seo-tools-mcp-metrika
claude mcp add antohins-seo-tools-mcp-metrika -- npx -y seo-tools-mcp-metrika
codex mcp add antohins-seo-tools-mcp-metrika -- npx -y seo-tools-mcp-metrika
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"antohins-seo-tools-mcp-metrika": {
"type": "local",
"command": [
"npx",
"-y",
"seo-tools-mcp-metrika"
],
"enabled": true
}
}
} openclaw mcp add antohins-seo-tools-mcp-metrika --command npx --arg -y --arg seo-tools-mcp-metrika
mcp_servers:
antohins-seo-tools-mcp-metrika:
command: "npx"
args: ["-y", "seo-tools-mcp-metrika"] {
"mcpServers": {
"antohins-seo-tools-mcp-metrika": {
"command": "npx",
"args": [
"-y",
"seo-tools-mcp-metrika"
]
}
}
} Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 3 Aug 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 23 to 27. That category is still filling its 30-day observation window: 7 days of observed history at the previous scan, 8 at this one. The score rises as the window fills, whether or not the server changes.
- 2 Aug 26 +30
- Provenance: unverified → fail ▼ security
- Stability: 0.20 → unverified ▼ security
- Known CVEs: unverified → partial ▲ security
- Install scripts: unverified → pass ▲ security
- Malware scan: unverified → pass ▲ security
- Tool coverage: 100 → unverified ▼ functional
- Capabilities: pass → unverified ▼ functional
- Maintenance: unverified → pass ▲ functional
- License: unverified → pass ▲ functional
- Dependency health: unverified → partial ▲ functional
- Licence: MIT functional
- 1 Aug 26 +27
- Dependency health: partial → unverified ▼ functional
- Stability: unverified → 0.20 ▲ functional
- Tool coverage: unverified → 100 ▲ functional
- MCP protocol: unverified → pass ▲ functional
- 31 Jul 26 −49
- We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
- 29 Jul 26 +32
- Provenance: unverified → fail ▼ security
- Known CVEs: unverified → partial ▲ security
- Install scripts: unverified → pass ▲ security
- Schema quality: unverified → good ▲ functional
- Maintenance: unverified → pass ▲ functional
- Dependency health: unverified → partial ▲ functional
- License: unverified → pass ▲ functional
- Licence: MIT functional
- 28 Jul 26 −18
- Malware scan: pass → unverified ▼ security
- Package version: 1.2.1 → 1.3.0 functional
- 27 Jul 26 43
First indexed and scored.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 3 Aug 2026 · Analysed npm/[email protected]
Provenance none
Ecosystem: npm · Outcome: none
Dependencies 95 packages
95 packages in the resolved dependency tree · 95 deprecated · 29 stale.
The dependency tree was only partially resolved, so these counts may be incomplete.
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.
metrika_auth_status ~74
Статус авторизации metrika: какие ключи заданы (маскированно), каких не хватает, как их получить. ВЫЗЫВАТЬ ПЕРВЫМ в начале работы с metrika. Если чего-то нет — запросить значения у пользователя и сохранить через metrika_set_credentials.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
metrika_bytime ~225
Динамика метрик по времени (Stat API /bytime): каждая метрика — временной ряд. group: day | week | month | hour. Возвращает { time_intervals, series: [{ …измерения, metrics }] }.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | — | Аккаунт-профиль (мультиаккаунт, см. *_auth_status); пусто = основной |
| counterId | integer | — | Номер счётчика (по умолчанию METRIKA_COUNTER_ID) |
| date1 | string | — | YYYY-MM-DD (по умолчанию 30 дней назад) |
| date2 | string | — | YYYY-MM-DD (по умолчанию сегодня) |
| dimensions | array | — | Измерения (напр. ["ym:s:lastTrafficSource"]) — отдельный ряд на значение |
| filters | string | — | — |
| group | string | — | — |
| limit | integer | — | — |
| metrics | array | yes | Метрики, напр. ["ym:s:visits","ym:s:users"] |
No output schema declared.
No examples provided.
metrika_counters ~66
Список счётчиков Метрики, доступных токену — для проверки доступа и выбора METRIKA_COUNTER_ID.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | — | Аккаунт-профиль (мультиаккаунт, см. *_auth_status); пусто = основной |
No output schema declared.
No examples provided.
metrika_devices ~141
Технологии визитов: распределение по устройствам/ОС/браузерам. by: device | os | browser.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | — | Аккаунт-профиль (мультиаккаунт, см. *_auth_status); пусто = основной |
| by | string | — | — |
| counterId | integer | — | Номер счётчика (по умолчанию METRIKA_COUNTER_ID) |
| date1 | string | — | YYYY-MM-DD (по умолчанию 30 дней назад) |
| date2 | string | — | YYYY-MM-DD (по умолчанию сегодня) |
| limit | integer | — | — |
No output schema declared.
No examples provided.
metrika_geo ~141
География визитов: распределение по странам/регионам/городам. level: country | region | city.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | — | Аккаунт-профиль (мультиаккаунт, см. *_auth_status); пусто = основной |
| counterId | integer | — | Номер счётчика (по умолчанию METRIKA_COUNTER_ID) |
| date1 | string | — | YYYY-MM-DD (по умолчанию 30 дней назад) |
| date2 | string | — | YYYY-MM-DD (по умолчанию сегодня) |
| level | string | — | — |
| limit | integer | — | — |
No output schema declared.
No examples provided.
metrika_goals ~99
Список целей счётчика (id, name, type) — для отчётов по конверсиям (метрика ym:s:goal<ID>reaches).
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | — | Аккаунт-профиль (мультиаккаунт, см. *_auth_status); пусто = основной |
| counterId | integer | — | Номер счётчика (по умолчанию METRIKA_COUNTER_ID) |
No output schema declared.
No examples provided.
metrika_landing_behavior ~217
Поведение на странице входа (E.4 NavBoost): visits, bounceRate, pageDepth, avgVisitDurationSeconds + достижения целей. source=organic фильтрует органический трафик (ym:s:lastTrafficSource). goalIds — список ID целей для goalReaches (без него цели подтягиваются автоматически из счётчика).
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | — | Аккаунт-профиль (мультиаккаунт, см. *_auth_status); пусто = основной |
| counterId | integer | — | Номер счётчика (по умолчанию METRIKA_COUNTER_ID) |
| endDate | string | yes | YYYY-MM-DD |
| goalIds | array | — | — |
| landingPage | string | yes | Страница входа: путь (/oae/dubai/) или полный URL |
| searchEngine | string | — | Дополнительно сузить до конкретного поисковика |
| source | string | — | — |
| startDate | string | yes | YYYY-MM-DD |
No output schema declared.
No examples provided.
metrika_oauth_finish ~101
Шаг 2 авторизации Яндекса: обменивает код подтверждения на access+refresh токены и сохраняет их (с суффиксом профиля, если передан account). После этого токен обновляется автоматически при протухании.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | — | Имя аккаунта-профиля — то же, что в oauth_start |
| code | string | yes | Код подтверждения со страницы Яндекса |
No output schema declared.
No examples provided.
metrika_oauth_start ~243
Шаг 1 авторизации Яндекса: вернёт ссылку, которую пользователь открывает в браузере, разрешает доступ и получает код подтверждения. Код передать в metrika_oauth_finish. Требуется OAuth-приложение (oauth.yandex.ru/client/new, Redirect URI: https://oauth.yandex.ru/verification_code, scope: Яндекс.Метрика (получение статистики), опционально + Вебмастер (hostinfo + verify)). clientId/clientSecret сохраняются для дальнейшего авто-обновления токена (приложение ОБЩЕЕ для всех аккаунтов). account — имя профиля для мультиаккаунта: пользователь авторизуется под ДРУГИМ Яндекс-аккаунтом, токен сохранится отдельно.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | — | Имя аккаунта-профиля (мультиаккаунт); пусто = основной |
| clientId | string | — | ClientID приложения (если не сохранён ранее как YANDEX_CLIENT_ID) |
| clientSecret | string | — | Client secret приложения (для обмена кода и refresh) |
No output schema declared.
No examples provided.
metrika_report ~352
Произвольный отчёт Stat API: любые измерения × метрики Метрики. Даёт полный доступ к отчётам. dimensions/metrics — имена вида ym:s:<name> (визиты) или ym:pv:<name> (просмотры), напр. ym:s:lastTrafficSource, ym:s:deviceCategory, ym:s:regionCity; метрики ym:s:visits, ym:s:users, ym:s:bounceRate. filters — выражение Метрики (ym:s:lastTrafficSource=='organic'). Ключи в ответе — короткие (без ym:ns:).
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | — | Аккаунт-профиль (мультиаккаунт, см. *_auth_status); пусто = основной |
| accuracy | string | — | full | 'auto' | доля выборки 0..1 (напр. 0.1) |
| counterId | integer | — | Номер счётчика (по умолчанию METRIKA_COUNTER_ID) |
| date1 | string | — | YYYY-MM-DD (по умолчанию 30 дней назад) |
| date2 | string | — | YYYY-MM-DD (по умолчанию сегодня) |
| dimensions | array | — | Измерения (можно пусто — тогда только totals) |
| filters | string | — | Выражение фильтра Метрики, напр. ym:s:lastTrafficSource=='organic' |
| limit | integer | — | — |
| metrics | array | yes | Метрики, напр. ["ym:s:visits","ym:s:users","ym:s:bounceRate"] |
| sort | string | — | Сортировка, напр. -ym:s:visits |
No output schema declared.
No examples provided.
metrika_search_phrases ~176
Поисковые фразы (в основном Яндекс — Google шифрует) c поведением по странице входа: { rows: [{ phrase, visits, bounceRate, avgVisitDurationSeconds }] }.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | — | Аккаунт-профиль (мультиаккаунт, см. *_auth_status); пусто = основной |
| counterId | integer | — | Номер счётчика (по умолчанию METRIKA_COUNTER_ID) |
| endDate | string | yes | YYYY-MM-DD |
| landingPage | string | — | Страница входа: путь (/oae/dubai/) или полный URL. Без него — органические фразы по всему счётчику |
| limit | integer | — | — |
| startDate | string | yes | YYYY-MM-DD |
No output schema declared.
No examples provided.
metrika_set_credentials ~247
Сохранить ключи metrika в /tmp/.config/seo-tools-mcp/.env (права 600) и применить сразу, без перезапуска сервера. Передавать только обновляемые поля. account — сохранить в именованный профиль (мультиаккаунт). Значения даёт пользователь; в ответе они маскируются.
| Name | Type | Req | Description |
|---|---|---|---|
| METRIKA_COUNTER_ID | string | — | Номер счётчика по умолчанию |
| METRIKA_OAUTH_TOKEN | string | — | Отдельный токен Метрики (перекрывает общий; обычно не нужен) |
| YANDEX_CLIENT_ID | string | — | ClientID OAuth-приложения Яндекса (для авторизации/refresh) |
| YANDEX_CLIENT_SECRET | string | — | Client secret OAuth-приложения Яндекса |
| YANDEX_OAUTH_TOKEN | string | — | Общий OAuth-токен Яндекса (Вебмастер+Метрика) |
| account | string | — | Имя аккаунта-профиля (мультиаккаунт): ключи сохранятся с суффиксом __<account> |
No output schema declared.
No examples provided.
metrika_top_landings ~127
Топ страниц входа из органики за период (F MONITOR): { rows: [{ landing, visits, bounceRate, avgVisitDurationSeconds }] }.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | — | Аккаунт-профиль (мультиаккаунт, см. *_auth_status); пусто = основной |
| counterId | integer | — | Номер счётчика (по умолчанию METRIKA_COUNTER_ID) |
| endDate | string | yes | YYYY-MM-DD |
| limit | integer | — | — |
| startDate | string | yes | YYYY-MM-DD |
No output schema declared.
No examples provided.
metrika_traffic_sources ~150
Источники трафика: визиты/пользователи/отказы/глубина/длительность по ym:s:lastTrafficSource (organic/direct/ad/referral/social/…).
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | — | Аккаунт-профиль (мультиаккаунт, см. *_auth_status); пусто = основной |
| counterId | integer | — | Номер счётчика (по умолчанию METRIKA_COUNTER_ID) |
| date1 | string | — | YYYY-MM-DD (по умолчанию 30 дней назад) |
| date2 | string | — | YYYY-MM-DD (по умолчанию сегодня) |
| limit | integer | — | — |
No output schema declared.
No examples provided.