MCP server for Yandex Metrica that lets AI clients query web analytics data such as traffic, sources, behavior, and goal conversions. It finds counters and goals, fetches Reporting API statistics, and can make raw API requests with write operations gated by an explicit confirmation flag.
From the registry: MCP server for Yandex Metrica API: list counters, goals and pull web-analytics statistics.

Please install the `mcp-yandex-metrica` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Install Node.js 20+** — Node.js 20 or newer is required to run the server via npx.
- **Obtain a Yandex Metrica OAuth token** — Create or obtain a Yandex OAuth token with the metrika:read scope under an account that has access to the required counters. Set this token as YANDEX_METRIKA_TOKEN. (https://oauth.yandex.ru/)
Canonical MCP server config (stdio transport):
- command: `npx`
- args: ["-y","mcp-yandex-metrica"]
- required environment variables:
- `YANDEX_METRIKA_TOKEN`: Yandex Metrica OAuth token with scope metrika:read. (example: `<your-yandex-metrica-token>`)
- optional environment variables:
- `YANDEX_METRIKA_COUNTER_ID`: Default counter ID to use when a tool call does not specify counterId. (example: `<your-counter-id>`)
- `YANDEX_METRIKA_LANG`: Accept-Language header value used for API requests. (example: `<language-code>`)
- `YANDEX_METRIKA_API_BASE`: Base URL for the Yandex Metrica API. (example: `<your-api-base-url>`)
- `YANDEX_METRIKA_TIMEOUT_MS`: Request timeout in milliseconds. (example: `<timeout-ms>`)
- `YANDEX_METRIKA_MAX_RETRIES`: Maximum number of retries for 429/5xx responses. (example: `<max-retries>`)
Note: The README also mentions an alternative remote URL-based option via the Ask Ads Yandex Direct remote server, where Metrica tools are exposed with the prefix metrika_. The simplest portable installation path for this server itself is stdio via npx.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.YANDEX_METRIKA_TOKENrequiredOAuth token for Yandex Metrica with metrika:read access.Meta Ads MCP (Facebook + Instagram) - analyze performance, manage budgets, pause campaigns.