
Yandex Webmaster Mcp
io.github.BoxLab-LtdPublished by GitHub account BoxLab-Ltdv0.1.1Updated Oct 24, 2026
Query Yandex Webmaster indexing, queries, diagnostics and backlinks, and recrawl, via an AI agent.
Overview
A local MCP server that lets an assistant query Yandex Webmaster data — hosts, search queries, indexing, diagnostics, sitemaps and backlinks — and request URL
- What you can do
- List the sites available to your token, with host IDs, verification state and optional SQI and page summaries, and use this as the starting point for other tools. Analyze search queries: top queries by traffic, time-series trends, impressions, clicks and average positions, filtered by device and date range. Inspect indexing: crawled pages by HTTP status class over time, example crawled URLs and pages currently in search. Review site diagnostics such as DNS, slow response, robots.txt and 4xx problems, and list known sitemaps with URL and error counts. Review inbound backlinks as sample links or counts over time, and check recrawl quota and task status. Submit a single URL for recrawl, which
- When to use it
- Useful when you work with sites registered in Yandex Webmaster and want to ask about search traffic, indexing health, site problems or backlinks in plain language, or to trigger a recrawl of one URL. It pairs well with a Yandex Metrica server for cross-referencing search queries with on-site behavior.
- Requirements
- Runs locally via npx, so Node.js 18 or newer is needed. A Yandex account with at least one site added in Yandex Webmaster. Authentication by interactive browser login (recommended), by the YANDEX_WEBMASTER_TOKEN environment variable, or by your own OAuth app with client ID and secret. Optionally set YANDEX_WEBMASTER_HOST_ID as a default host.
Installation
In SourceWeft
- Open Yandex Webmaster Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Yandex Webmaster MCP
Ask your Yandex Webmaster data in plain language — from Claude, Cursor, or any MCP client.
Read-only by design (plus URL recrawl), no secrets stored. Sign in with a built-in public OAuth client over PKCE — no app registration, no client secret.
Early development (v0.1). The tool surface is still growing.
A Model Context Protocol server that exposes Yandex Webmaster as a small set of
flexible, well-described tools instead of one-thin-wrapper-per-endpoint. Pairs
with yandex-metrica-mcp:
run both and an agent can cross-reference search queries from Webmaster with
on-site behavior and conversions from Metrica in a single conversation.
Quickstart
1. Add the server to your MCP client (Claude Desktop, Cursor, …):
2. Sign in — interactive, no secret needed:
Approve access in the browser, paste the code Yandex shows you. The token is
cached at ~/.config/yandex-webmaster-mcp/token.json (mode 0600).
3. Ask your agent — e.g. "List my Webmaster hosts and show the SQI for example.com."
Or install as a Claude Code plugin
Why
Existing community servers tend to be thin wrappers — one tool per API endpoint, dumping raw JSON into the model's context. This server aims to be well-engineered: fewer, smarter tools; compact, structured output; read-only by default so an agent can explore your Webmaster data safely.
Tools (v0.1)
get_hosts— list the sites available to your token with theirhost_id, URL and verification state; optionally a host summary (SQI, indexed/excluded pages, site problems). Read-only. Call this first.search_queries— search-query analytics from Yandex Search: impressions, clicks, average show/click position.report="top"ranks the queries bringing the most traffic;report="trend"returns a time series (per query or the site aggregate). Filter by device and date range. Read-only.get_indexing— how Yandex crawls and indexes the host.report="history"gives crawled pages by HTTP status class over time;report="crawled"lists example crawled URLs with their codes;report="in_search"lists example pages currently in search. Read-only.get_diagnostics— problems detected on the site (DNS, slow response, robots.txt, 4xx, …) with severity, active problems first. Read-only.list_sitemaps— the Sitemap files Yandex knows, with URL counts, error counts and where each was discovered. Read-only.get_external_links— inbound links (backlinks):report="samples"for example links with source/target,report="history"for the count over time. Read-only.recrawl_status— remaining daily recrawl quota plus recent recrawl tasks and their state; passtaskIdto check one task. Read-only.recrawl_submit— ask Yandex to recrawl a specific URL sooner. The one write tool; consumes one unit of the daily quota. Returns the task id.
Planned: write tools for sitemaps, original texts and feeds, deferred to a later, opt-in release.
Requirements
- Node.js >= 18
- A Yandex account with at least one site added in Yandex Webmaster
Authentication
Three ways, in priority order:
- Interactive login (recommended) —
npx @boxlab/yandex-webmaster-mcp auth. Uses the built-in public OAuth client over PKCE; the token is valid ~6 months. - Static token — set
YANDEX_WEBMASTER_TOKEN(e.g. for CI) to an OAuth token for an app with thewebmaster:hostinfoscope. - Your own OAuth app — set
YANDEX_OAUTH_CLIENT_ID(andYANDEX_OAUTH_CLIENT_SECRETto enable automatic token refresh). The app needs thewebmaster:hostinfoandwebmaster:verifyscopes.
See .env.example for all configuration.
Development
Bun-first:
The published package runs on Node; local development uses Bun.
License
MIT
Source: README.md at commit 5cd6513
Tools
0Version history
1- v0.1.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts