@cododel/yandex-wordstat-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
@cododel/yandex-wordstat-mcp
Bun/TypeScript MCP server for the official Yandex Wordstat v2 API. It provides the same practical Wordstat surface as the upstream yandex-wordstat-mcp package and adds a shared typed architecture, local stdio and stateless Streamable HTTP transports, remote BYOK credentials, explicit server-owned credential opt-in, Docker packaging, cost metadata, and generic agent installation guidance.
Commands
# Local MCP child process; requires Yandex credentials in ENV
bun src/cli.ts stdio
# Remote stateless Streamable HTTP; BYOK headers required by default
bun src/cli.ts serve --host 127.0.0.1 --port 3000See INSTALL.md for MCP client, Docker, authentication, and upgrade instructions.
Related MCP server: Yandex Wordstat MCP
Tools
Tool | Wordstat method | Billing |
|
| free |
| cached | free |
|
| ~0.02 RUB/call |
|
| ~0.02 RUB/call |
|
| ~0.05 RUB/call |
Pricing is informational and can change. Source: Yandex Search API pricing.
Local credentials
Accepted aliases, in priority order:
YANDEX_WORDSTAT_API_KEY or YANDEX_SEARCH_API_KEY
YANDEX_WORDSTAT_FOLDER_ID or YANDEX_CLOUD_FOLDER_ID or YANDEX_FOLDER_IDRemote credential policy
Default serve behavior:
server ENV Yandex credentials are ignored;
every MCP request needs
X-Yandex-API-KeyandX-Yandex-Folder-Id;keys are transport headers and are absent from tool schemas;
loopback BYOK may omit
MCP_ACCESS_TOKEN, but non-loopback HTTP requires it;--allow-server-credentialsalways requires a non-emptyMCP_ACCESS_TOKEN;browser Origin and Host checks run before credential handling;
server credentials become available only with
--allow-server-credentials.
Serve behind HTTPS. The built-in server intentionally does not terminate TLS.
Billing safety and exact counts
top-requests,dynamics, andregionsare at-most-once billed operations. Clients must not retry them automatically after errors or unknown outcomes.Set
WORDSTAT_MAX_COST_RUB_PER_HOURandWORDSTAT_MAX_COST_RUB_PER_DAYtogether to enable a persistent SQLite budget guard. Amounts are parsed to integer kopecks; every dispatched paid attempt counts conservatively.WORDSTAT_LEDGER_PATHdefaults to./data/wordstat.sqlite; Docker uses the persistent/data/wordstat.sqlitevolume.Wordstat int64 count fields are returned as exact decimal strings, not JSON numbers.
Development
bun install --frozen-lockfile
bun test
bun run typecheckThe project uses native Bun TypeScript. There is no emitted dist/ directory.
Attribution
This project uses the MIT-licensed packages/yandex-wordstat-mcp implementation by Alternex as its functional baseline. See UPSTREAM.md and LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP servers for Yandex APIs: Wordstat, Search, Webmaster, Metrika, Direct. Open source, by Seyka AI.
Yandex Direct, Metrika & Wordstat MCP for Russian digital marketing.
Yandex rank tracking and bulk SERP data, billed per result, hosted MCP.
MCP server for querying and analyzing data from ad platforms, analytics tools, and spreadsheets
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server for Yandex Direct, Metrika, Wordstat, and Webmaster APIs, providing 132 tools to manage advertising campaigns, analytics, keyword research, and reporting through any MCP-compatible client.58MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for querying Yandex Wordstat via Yandex Cloud Search API. Enables checking phrase frequency, similar queries, regional demand, and seasonality trends.2MIT
- AlicenseAqualityDmaintenanceMCP server for Yandex Wordstat v2 API enabling keyword research and search trend analysis with in-memory caching, integrated via mcpo proxy with Open WebUI.5MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that enables keyword research and domain analysis for the Russian search market (Yandex/Google) via the Bukvarix API, exposing tools for keyword searches and domain comparisons.MIT