← Back to search

io.github.dontsovcmc/yandex-metrika

dontsovcmc Scanned 20d ago

MCP server for Yandex Metrika API — counters, goals, reports, segments, logs

C
71.6 / 100

Versions

0.2.4latest
first seen May 19, 2026
PermissionsTool SafetyAuthAnnotationsCode QualityStabilitySpecVuln HistoryAuthorTransparencyCommunity

Tools 12

ym_search
annotations: none low

Find available actions by intent. Optional domain filter: reporting, counters, goals, filters, grants, operations, segments, labels, accounts, delegates, annotations, access_filters, logs, uploads. Returns action ID, description, and JSON Schema of parameters.

query str domain str
ym_execute
annotations: none low

Execute action by ID. params_json validated against action schema. Use ym_search to discover actions and their schemas first.

action str params_json str
ym_execute_file
annotations: none low

Execute action that reads or writes a file (uploads/downloads). file_path must be under ~/... or /tmp/... Use ym_search to discover file actions (is_file=true).

action str file_path str params_json str
ym_counters
annotations: none low

List counters. Optional filters: search_string, permission (own/view/edit), status (Active/Deleted), per_page, offset.

offset int status str per_page int permission str search_string str
ym_counter
annotations: none low

Get counter details. field: goals,mirrors,grants,filters,operation.

field str counter_id int
ym_stat_data
annotations: none low

Table report (GET /stat/v1/data). ids and metrics are comma-separated. Example: ids='12345', metrics='ym:s:visits,ym:s:users', dimensions='ym:s:browser', date1='7daysAgo', date2='today'.

ids str sort str date1 str date2 str limit int offset int preset str filters str metrics str dimensions str
ym_stat_data_bytime
annotations: none low

Time-series report (GET /stat/v1/data/bytime). group: all/auto/minutes/hour/day/week/month/quarter/year.

ids str date1 str date2 str group str limit int metrics str dimensions str
ym_goals
annotations: none low

List goals for a counter.

counter_id int
ym_segments
annotations: none low

List segments for a counter.

counter_id int
ym_grants
annotations: none low

List access grants for a counter.

counter_id int
ym_log_requests
annotations: none low

List log API requests for a counter.

counter_id int
ym_labels
annotations: none low

List all labels.

Permissions 3

network medium
Server uses network capabilities via: httpx
filesystem low
Server uses filesystem capabilities via: open(), os, tempfile
env_vars low
Server uses env_vars capabilities via: os.environ, os.getenv()

Scan Findings 47

info
Required env vars (3) manifest_parser · 80%
info
Sandbox failed to start for output poisoning scan output_poisoning · 100%
low
Tool 'ym_search' has no annotations annotation_checker · 100%
low
Tool 'ym_execute' has no annotations annotation_checker · 100%
low
Tool 'ym_execute_file' has no annotations annotation_checker · 100%
low
Tool 'ym_counters' has no annotations annotation_checker · 100%
low
Tool 'ym_counter' has no annotations annotation_checker · 100%
low
Tool 'ym_stat_data' has no annotations annotation_checker · 100%
low
Tool 'ym_stat_data_bytime' has no annotations annotation_checker · 100%
low
Tool 'ym_goals' has no annotations annotation_checker · 100%
low
Tool 'ym_segments' has no annotations annotation_checker · 100%
low
Tool 'ym_grants' has no annotations annotation_checker · 100%
low
Tool 'ym_log_requests' has no annotations annotation_checker · 100%
low
Tool 'ym_labels' has no annotations annotation_checker · 100%
info
Sandbox failed to start for behavioral verification behavioral_verifier · 100%
medium
Vulnerable dependency: mcp@1.0.0 (GHSA-3qhf-m339-9g5v) dependency_analyzer · 95%
medium
Vulnerable dependency: mcp@1.0.0 (GHSA-9h52-p55h-vw2f) dependency_analyzer · 95%
medium
Vulnerable dependency: mcp@1.0.0 (GHSA-j975-95f5-7wqh) dependency_analyzer · 95%
medium
Vulnerable dependency: mcp@1.0.0 (GHSA-jpw9-pfvf-9f58) dependency_analyzer · 95%
medium
Vulnerable dependency: mcp@1.0.0 (GHSA-vj7q-gjh5-988w) dependency_analyzer · 95%
medium
Vulnerable dependency: mcp@1.0.0 (PYSEC-2026-1616) dependency_analyzer · 95%
medium
Vulnerable dependency: mcp@1.0.0 (PYSEC-2026-1617) dependency_analyzer · 95%
medium
Vulnerable dependency: mcp@1.0.0 (PYSEC-2026-1618) dependency_analyzer · 95%
medium
Vulnerable dependency: mcp@1.0.0 (PYSEC-2026-3482) dependency_analyzer · 95%
medium
Vulnerable dependency: mcp@1.0.0 (PYSEC-2026-3483) dependency_analyzer · 95%
medium
Vulnerable dependency: pydantic@2.0 (GHSA-mr82-8j83-vxmv) dependency_analyzer · 95%
medium
Vulnerable dependency: pydantic@2.0 (PYSEC-2026-1812) dependency_analyzer · 95%
medium
Vulnerable dependency: python-dotenv@1.0 (GHSA-mf9w-mj56-hr94) dependency_analyzer · 95%
medium
Vulnerable dependency: python-dotenv@1.0 (PYSEC-2026-2270) dependency_analyzer · 95%
info
pyproject.toml metadata manifest_parser · 100%
info
Tool: ym_search manifest_parser · 90%
info
Tool: ym_execute manifest_parser · 90%
info
Tool: ym_execute_file manifest_parser · 90%
info
Tool: ym_counters manifest_parser · 90%
info
Tool: ym_counter manifest_parser · 90%
info
Tool: ym_stat_data manifest_parser · 90%
info
Tool: ym_stat_data_bytime manifest_parser · 90%
info
Tool: ym_goals manifest_parser · 90%
info
Tool: ym_segments manifest_parser · 90%
info
Tool: ym_grants manifest_parser · 90%
info
Tool: ym_log_requests manifest_parser · 90%
info
Tool: ym_labels manifest_parser · 90%
medium
Permission: network access detected permission_analyzer · 90%
low
Permission: filesystem access detected permission_analyzer · 80%
low
Permission: env_vars access detected permission_analyzer · 90%
info
No dependency files found for SBOM generation sbom_generator · 100%
medium
No build provenance detected (SLSA L0) slsa_assessor · 90%