Xmlriver Mcp
io.github.artgas1Published by GitHub account artgas1v0.2.3Updated Oct 24, 2026
Google/Yandex SERP parsing and Yandex Wordstat keyword frequency via XMLRiver XML API
Overview
Local MCP server that lets an assistant query XMLRiver for Google and Yandex search results, Yandex Wordstat keyword data, index checks and account balance.
- What you can do
- Parse Google and Yandex search results pages with country, region, language, device, page and date filters, plus extra blocks such as ads, FAQ, knowledge graph and AI Overview, and the official Yandex Search API v2 mode via XMLRiver. Retrieve Yandex Wordstat keyword frequency, similar queries and demand dynamics by month, week or day. Pull Google or Yandex search-box autocomplete suggestions, and look up Google Maps places around a coordinate. Check whether a URL is indexed in Google or Yandex. Read XMLRiver account balance, tariff, tariff expiry and cost per 1000 requests.
- When to use it
- Useful for SEO and keyword research, especially for Russian-speaking markets: tracking Yandex or Google rankings, validating demand with Wordstat, finding long-tail phrases, monitoring indexation, and comparing results across regions before spending on bulk queries.
- Requirements
- Runs locally as a Python package via uvx (Python 3.10+). Needs an XMLRiver account with a topped-up balance, and the XMLRIVER_USER (numeric ID) and XMLRIVER_KEY (40-character hex key) environment variables set in the MCP client configuration. Network access to the XMLRiver API is required.
Installation
In SourceWeft
- Open Xmlriver 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
xmlriver-mcp
MCP server for XMLRiver — Google/Yandex SERP parsing and Yandex Wordstat keyword frequency data via XML API.
mcp-name: io.github.artgas1/xmlriver-mcp
[Add to Cursor] [Add to VS Code] [Add to Claude Desktop]
[PyPI] [Downloads] [License: MIT] [Python 3.10+]
What it does
Gives Claude / Cursor / Windsurf direct access to:
- Google SERP parsing (organic, ads, FAQ, knowledge graph, AI Overview) for any country / region / device
- Yandex SERP parsing (Russian-speaking markets — primary use case)
- Yandex Wordstat keyword frequency, history, similar queries (Yandex's keyword volume tool)
- Indexing check — is this URL in Google/Yandex index?
- Account ops — balance, tariff, cost per 1k requests
First MCP for XMLRiver — fills a gap for Russian SEO research and Yandex-aware analysis. Pay-as-you-go (~25 ₽ / 1000 requests on Basic tariff).
Demo
[xmlriver-mcp wordstat demo in Claude]
Claude queries wordstat_query and parses real frequency data from Yandex. Same flow works for google_search, yandex_search, indexing checks, and account ops.
Quickstart
Configuration
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Claude Code
Add to project .mcp.json:
Cursor
Edit ~/.cursor/mcp.json (global) or .cursor/mcp.json (project):
Tools
All tools are read-only (annotated with readOnlyHint: true). No destructive operations.
⚠️ google_maps_search is unverified against a live response. Every setab=maps request
answered code 500 while it was written (2026-08-04), including a deliberately invalid one that
should have returned code 108 — plain Google and Yandex searches worked in the same minutes, so
the mode appears unavailable service-side. The request shape and response parsing follow the
documentation and are covered by unit tests; both still need a live check.
Deliberately not wrapped: raw=page (returns the full HTML page — bypasses parsing and
returns megabytes into the model's context) and the deferred-response mode (delayed / req_id)
— an MCP call is synchronous, so a request id the caller must poll for has nowhere useful to go.
Authentication
- Register at https://xmlriver.com
- Top up balance (minimum ~100 ₽ to start)
- Get your
user(numeric ID) andkey(40-char hex) from the dashboard - Set
XMLRIVER_USERandXMLRIVER_KEYenv vars in your MCP client config
Security note: XMLRiver API is HTTP-only (not HTTPS). The key is rotatable from the dashboard if compromised.
Pricing context
Use get_balance and get_cost to monitor spend before bulk operations.
Common use cases
- SEO position tracking —
yandex_search(query="...", region=213)for own/competitor ranking - Keyword research —
wordstat_query(query="купить iphone", history_period="monthly")for demand validation + seasonality - Featured snippet hunting —
google_search(additional_blocks="faqsnippet,knowledge_graph,zeroposition")to see what owns the answer box - Long-tail discovery —
search_suggestions(phrases=[...])with a prefix sweep (seed + each letter of the alphabet) pulls phrasings Wordstat never reports - Indexation monitoring —
check_url_indexed(url="https://your-site.com/new-page")after publishing - Cross-region comparison — same query, different
region/countryfor Yandex/Google to see geographic variance
Local development
Architecture
- Stack: Python 3.10+ / FastMCP / httpx / tenacity / pydantic
- Transport: stdio (default)
- No external SDK dependency — direct REST via httpx + custom XML parser
- Retry strategy: 3 attempts with exponential backoff on network errors (not on HTTP 4xx)
- Logging: stderr only (stdio protocol requires stdout for JSON-RPC)
License
Contributing
PRs welcome. Open an issue first for substantial changes.
Acknowledgements
- XMLRiver — for the underlying API
- Anthropic MCP — for the protocol
Source: README.md at commit cf86481
Tools
0Version history
2- v0.2.3LatestSep 23, 2026
- v0.2.0Sep 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