The Yandex Metrica tool acts as a read-only Model Context Protocol (MCP) server, designed to bridge the gap between large language models and the Yandex Metrica Reporting and Logs APIs. It exposes both aggregated statistics (Reporting API) and raw event data (Logs API) as callable tools, enabling LLMs to directly query traffic sources, behavior metrics, goal conversions, or export row-level session data for custom analytics. It runs locally over stdio without web servers or persistent storage, making it suitable for secure, local AI environments.
주요 기능
0113 MCP tools for counter management, goals, reporting, and Logs API lifecycle
02Safe download behavior: logs parts default to 50KB preview + metadata
03Minimal transformation; responses stay close to Yandex API format
04Strict TypeScript with Zod validation and clean error messages
05Authentication via environment variable only (no interactive OAuth)
060 GitHub stars
사용 사례
01Generate aggregated traffic reports and compare performance across periods
02Programmatically manage Yandex Metrica counters and goals
03Export raw visit and hit data for custom analytics pipelines