SuperAPIAI Directory

mcp-yandex-webmaster

github.com · AI developer platforms

mcp-yandex-webmaster is an MCP server for Yandex Webmaster (Яндекс Вебмастер) that connects AI applications such as Claude, Cursor, and Codex to Yandex Webmaster data. Users can query in natural language how a site performs in Yandex search, including whether pages are indexed, impressions and clicks, diagnostic issues, sitemaps, and external links. The project provides 20 tools covering site lists, diagnostics, search queries, indexing, sitemaps, backlinks, and account connection. It handles only organic search data and does not include Metrica, Wordstat, or advertising data. Connection can be completed within the conversation without creating a token in advance; the server is based on the Yandex Webmaster API v4, requires Node.js 20+, and can be run via npx.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Purpose

mcp-yandex-webmaster is an MCP (Model Context Protocol) server for connecting AI applications (such as Claude, Cursor, Codex, etc.) to Yandex Webmaster data. Users can ask in natural language about a site's status in Yandex search, for example which pages are indexed or not indexed, changes in impressions and clicks, issues detected by Webmaster diagnostics, sitemap structure, and external link status.

Main capabilities

The project provides 20 tools covering the following areas:

  • Site list and status: view sites accessible under the account, ИКС, number of indexed pages, number of excluded pages, and issue counts by severity.
  • Site diagnostics: read current Webmaster diagnostic results, distinguishing critical issues from recommendations.
  • Search queries: view impressions, clicks, and average position, with dynamics comparable by date and device type.
  • Indexing and crawling: view HTTP errors encountered by the Yandex robot during crawling, indexing status of important pages, sitemap status, and the recrawl queue.
  • External links: view examples of external links pointing to the site.
  • Account connection: complete Yandex OAuth connection within the conversation.

Most tools only read data. A few tools change state in Webmaster, such as adding a site or sitemap, starting verification, or adding pages to the recrawl queue; raw_request may include delete operations and is marked as a potentially irreversible operation.

Usage

Requires Node.js 20+. On first launch, npx downloads the server, so no separate package installation is needed. Usually no token needs to be obtained in advance: after adding the server in the AI application, send "Подключи Яндекс Вебмастер" to log in to Yandex and verify site access permissions as guided.

In Codex, you can add the server via Settings → Plugins → MCP servers with the name yandex-webmaster and the argument -y mcp-yandex-webmaster@latest; you can also add it via the command line and check it with codex mcp list. In Claude Desktop, edit claude_desktopAdd the configuration to _config.json; it takes effect after a restart. In Cursor, you can edit ~/.cursor/mcp.json or the project's .cursor/mcp.json.

For CI and automated installation, you can configure it via environment variables, for example YANDEX_OAUTH_TOKEN, YANDEX_WEBMASTER_OAUTH_CLIENT_ID, YANDEX_WEBMASTER_HOST_ID. The conversational connection uses PKCE, the one-time code is valid for 10 minutes, and the token is stored in ~/.config/mcp-yandex-webmaster/credentials.json (permissions 0600) and renewed automatically.

Use cases

  • Quickly understand the overall status of a site in Yandex search.
  • Analyze changes in impressions, clicks, and average ranking for search queries.
  • Check crawl errors, sitemap issues, and external links.
  • Prepare operations such as adding a sitemap, submitting a recrawl, or verifying site permissions in the conversation.

Limitations

  • Only organic search data is handled; it does not include Metrica, Wordstat, or advertising data.
  • Only sites that the token has access to are visible; statistics and diagnostics require site permissions to be confirmed in Webmaster, otherwise HOST_NOT_VERIFIED is returned. HOST_NOT_LOADED and HOST_NOT_INDEXED mean there is no data yet, not zero values.
  • Recrawling is limited by the site's daily quota and returns quota_remainder; if you encounter 429 QUOTA_EXCEEDED, you need to wait until the next day.
  • Popular queries are limited by Webmaster data: at most 3000 queries in the last week, and a single request returns at most 500 rows.
  • The server runs only when called by an AI application and does not provide continuous monitoring; if the client supports scheduled tasks, periodic queries can be configured.
  • Anonymous technical telemetry is sent by default and can be disabled via an environment variable.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools