Yandex MCP
Unofficial project, not affiliated with or endorsed by Yandex. "Yandex" and the names of
its services are trademarks of their owner and are used here only to describe which APIs the
servers talk to.
A monorepo of MCP (Model Context Protocol) servers for Yandex APIs. Provides AI assistants with access to Yandex Search, Wordstat, Webmaster, Metrika, and Direct through a unified interface.
Built for Russian and CIS market analysis -- keyword research, search analytics, site monitoring, web traffic insights, and ad campaign management.
Packages
94 tools total across all packages (counted by node scripts/smoke-tools.mjs).
Package names. The packages go to npm under the @stufently/* scope
(@stufently/yandex-webmaster-mcp and so on), starting with v2.2.0. The unscoped names — yandex-search-mcp,
yandex-wordstat-mcp, yandex-webmaster-mcp, yandex-metrika-mcp — belong to a
different publisher on the public registry (altrr2,
altrr2/yandex-tools-mcp, first published
2025-12-20, three months before this repo existed). Never npx an unscoped name with your
Yandex tokens in the environment: that hands your credentials to unrelated code. Always type
the @stufently/ prefix.
Install
Paste this into a terminal. It starts the Webmaster server on stdin; the same npx command is what every client block below runs.
YANDEX_WEBMASTER_TOKEN=your-oauth-token npx -y @stufently/yandex-webmaster-mcp
Node.js >= 22 is the only prerequisite — no clone, no Bun, no build step. Swap the package and the variables for another server:
| Server | Command | Variables it needs |
|---|
| Search | npx -y @stufently/yandex-search-mcp | YANDEX_SEARCH_API_KEY, YANDEX_FOLDER_ID |
| Wordstat | npx -y @stufently/yandex-wordstat-mcp | WORDSTAT_API_KEY, WORDSTAT_FOLDER_ID |
| Webmaster | npx -y @stufently/yandex-webmaster-mcp | YANDEX_WEBMASTER_TOKEN |
| Metrika | npx -y @stufently/yandex-metrika-mcp | YANDEX_METRIKA_TOKEN |
| Direct | npx -y @stufently/yandex-direct-mcp | YANDEX_DIRECT_TOKEN (+ optional YANDEX_DIRECT_CLIENT_LOGIN, YANDEX_DIRECT_SANDBOX) |
All five servers start without their variables and fail only on the first tool call, with an
error that names the missing variable.
Append a version (@stufently/[email protected]) to pin it instead of taking the
latest release on every start. The OAuth helper runs the same way:
npx -y @stufently/yandex-webmaster-mcp auth (and @stufently/yandex-metrika-mcp auth).
Do not npx the unscoped names — they belong to a different publisher (see the note
above).
Verified clients and platforms
Only what has actually been run is listed as verified. Everything else in
Client Configuration is a documented config that nobody has
checked end to end.
| Client / runtime | OS | How it runs | Status | Evidence |
|---|
| Claude Code 2.1 | Ubuntu 26.04 LTS, x86_64 | Node.js 24 from a checkout, stdio: yandex-direct, yandex-wordstat, yandex-webmaster | Verified | Daily use on the maintainer's host |
| Codex CLI 0.162 | Ubuntu 26.04 LTS, x86_64 | Node.js 24 from a checkout: yandex-wordstat, yandex-webmaster | Configured, not checked separately | Maintainer's host config |
| Node.js 22 + Bun | Ubuntu (ubuntu-latest) | Unit tests; all five servers answer tools/list over stdio | Verified in CI | ci.yml (node --test, scripts/smoke-tools.mjs) |
yandex-metrika, yandex-search with a real token | any | — | Not verified in a client | CI smoke test only |
npx @stufently/* from npm | Ubuntu, node:24-alpine | npx -y @stufently/yandex-*-mcp, stdio | Verified | All five answer tools/list from the published 2.2.0 packages (2026-10-15) |
Claude Desktop (.mcpb), Claude Code plugin | any | Desktop Extension, plugin | Not verified | Bundles are built in CI, never installed in a real Desktop or as a plugin |
| Cursor, Windsurf, Zed | any | Configs below | Not verified | Documented only |
| macOS, Windows | — | Any client | Not verified | No CI runner on these systems |
Client Configuration