dns-shop-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@dns-shop-mcp Find iPhone 16 128GB price and availability in Moscow"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
dns-shop-mcp
English · Русский
An MCP server that gives LLM agents live, honestly-labelled data from DNS (dns-shop.ru), a large Russian electronics and home-appliance retailer: search with real pages, sorting, price windows and stock filters; the full product card for one city; per-store stock that separates packaged units from showcase samples; per-product ratings and reviews; weekly price history.
Buyer side, anonymous: no DNS account is used. Nothing is added to a cart and nothing is ordered.
Why this server
DNS's own numbers are easy to misread. The server is built around not doing that:
DNS pitfall | What this server does |
Every dynamic page answers 401 with a Qrator proof-of-work challenge | A headless Chromium visit (≈1.5–2 s) earns the |
The city depends on the client (geo-IP or Moscow by default); prices and stock differ by city | The city is set explicitly on every call (default Екатеринбург) and checked against the city each page and availability widget echoes; a mismatch is an error, not data |
The rating on a card or tile merges all variants of a "multi-card" — colours, memory sizes, even different hardware models (iPhone 16: 2 268 reviews on the card, 452 for the black 128 GB A3287) |
|
Tiles round review counts: "2.3k отзывов" | Parsed as ≈2300 with |
"В наличии в 13 магазинах" counts stores that hold only a showcase sample |
|
"доп. скидка 1 600 ₽" applies only when paid online (СБП); the checkout total stays 15 999 ₽ |
|
Products DNS no longer sells still carry a price: the last sale price |
|
Marketplace ("DNS Селлер") items sit in the same search: another seller, 100 % prepayment, not in DNS stores |
|
Search silently narrows a query to one category and drops the order, price window and page on that redirect; some queries go to a catalog or brand page instead | The server repeats the request with every parameter; |
"Cheapest first" is not strictly monotonic | Items re-sorted by price within the page, DNS's order kept in |
Different products share one name; "Модель" in characteristics can be generic ("Apple iPhone 16") |
|
A stale page token makes DNS answer "no states" — which looks like "no price" | Refreshed once, then an error; never reported as "no price" |
Delivery cost is computed only in the cart |
|
Every answer carries fetched_at (UTC) and city — the city id, name, where the
choice came from and which part of DNS's answer confirmed it.
Related MCP server: wildberries-mcp
Tools
Tool | What it returns |
| 24 items per page (fixed by DNS); sort |
|
|
|
|
| DNS's weekly average selling prices (≈24 weeks) next to the live price; |
| Up to 24 products: one price request and one availability request for all, plus one review-statistics request each. Price fields, not-sold/prepayment flags, availability, this product's rating and the multi-card flag |
Questions & answers are deliberately not fetched: they live on club.dns-shop.ru, whose rules forbid automated scripts.
Requirements
Measured on 2026-09-25 (Linux, home Russian IP, Playwright 1.63, Chromium 1243):
Python | ≥ 3.10, with uv (or pip) |
Browser | Playwright's Chromium, downloaded automatically on first run into |
Memory | Peak ≈500 MB (PSS of the server plus Chromium, during a Qrator pass); ≈75 MB between passes (the Python server alone) |
Cold start | MCP |
Call duration | Requests are paced 2 s apart: search 7–10 s (4–5 requests), |
Re-pass | After ~15 min without calls the cookie expires (Max-Age 1000 s); the next call passes Qrator again (+1.5–2 s) |
Display | Not needed: everything runs headless |
Docker | Not needed |
System libraries | Present on desktop Linux, macOS and Windows. On a minimal Debian/Ubuntu server install them once (root): |
Network | A Russian IP without VPN: Qrator blocks foreign, VPN and datacenter addresses. Or set |
Tested on | Linux (CachyOS). macOS and Windows are supported by Playwright but untested |
Install
Claude Code:
claude mcp add dns-shop -- uvx --from git+https://github.com/SZhukovWork/dns-shop-mcp dns-shop-mcpAny MCP client (claude_desktop_config.json, .mcp.json, …):
{
"mcpServers": {
"dns-shop": {
"command": "uvx",
"args": ["--from", "git+https://github.com/SZhukovWork/dns-shop-mcp", "dns-shop-mcp"]
}
}
}From a checkout: uv venv && uv pip install -e . && .venv/bin/dns-shop-mcp.
Configuration (environment variables)
Variable | Default | Meaning |
| Екатеринбург | Default city: name as on the site, |
|
| Seconds between requests to DNS; values below 1.5 are raised to 1.5 |
| — | Proxy URL for HTTP and the browser, e.g. |
|
| Session (cookie, city cookies, page tokens; file mode 0600, directory 0700) and the city directory (refreshed daily) |
|
|
|
What the numbers mean
price_rub: the price on dns-shop.ru in the reported city for a guest (not logged in) — the big price on the card.price_before_discount_rubis the struck-through price.online_payment_discount_rub: the "доп. скидка" line. DNS applies it only when the order is paid online on the site (the badge says СБП); the card's "Итого" shows the regular price.price_if_paid_online_estimate_rub= price − discount, an estimate under that condition.credit_monthly_rub: a loan or instalment payment — not a price.not_sold/last_sale_price_rub: DNS does not sell the product now; the number is the last price it was sold at.prepayment_required: 100 % prepayment (marketplace sellers).Ratings:
rating.shown_on_cardis what the card shows and may merge all variants of a multi-card;rating.this_productcounts only this product. Search tiles show the card rating (scope: "card").Stock:
stores_with_any_unitincludes showcase samples;stores_with_packaged_unitscounts stores with a unit in its factory package;showcase_only_storeshold only a showcase sample. Pickup times are local time of the city as DNS sends them.Reliability: DNS's own statistic of units sold in its stores without a service claim; not a manufacturer figure.
Price history: weekly average selling price ("За прошедшие недели отображается средняя цена продажи"); the last week is the current, partial one. Whether past weeks are city-specific is not confirmed (in a comparison of Moscow and Yekaterinburg past weeks matched while the current prices differed).
Limitations
Unofficial: relies on the site's internal endpoints and markup; DNS can change them any time. Parsers are isolated in
parse.pyand tested on recorded answers; when markup changes, fields go missing rather than being guessed.robots.txtof dns-shop.ru disallows/search/and URLs with?for all robots; search cannot work without them. Keep the request rate human (the default pace is one request per 2 s) and use it for personal research only.Qrator can change its challenge; a Playwright build that passes today may fail later. Qrator may bind the cookie to the IP (not verified).
No personal prices, ProZaPass bonuses or cart: no account is used.
Delivery cost is not available (only in the cart); only the courier ETA text.
Used/discounted units (
/catalog/markdown/) are not supported:get_productrefuses their URLs. Their card shows the rating of the new product. The markdown catalog ignores the search phrase, so a search tool needs more research.Bundles ("Выгодные комплекты") and accessories/analogs sliders are not covered.
Questions & answers are not fetched (club.dns-shop.ru rules forbid scripts).
iPhones: buyers report units activated before sale; this server only passes such reviews on — it cannot check a unit.
DNS's "best rated" search order is its own ranking, not a strict sort by the shown rating;
get_reviews(sort="best")means highest stars first.
Roadmap
Optional account mode (personal prices, bonuses) and cart — later.
Used/discounted units search — needs more research of the markdown catalog.
Checkout, payment and address changes are deliberately out of scope.
Development
uv venv && uv pip install -e '.[dev]'
.venv/bin/pytest # offline tests on recorded, anonymised answers
.venv/bin/pytest -m live # end-to-end over MCP stdio against live dns-shop.ru (Russian IP, ~30 requests)Disclaimer
Not affiliated with DNS. The server uses the site's undocumented internal endpoints and passes its anti-bot check with a real browser. It is meant for personal price research at a human request rate; respect DNS's terms of use.
License: MIT.
Available Tools
5 toolscompare_productsARead-onlyIdempotent
Live side-by-side offers for up to 24 DNS products.
One price request and one availability request for all of them, plus one review-statistics request per product (≈2 s each). Per product: price, pre-discount price, online-payment discount (estimate), credit payment, not-sold flag, prepayment flag, availability summary, this product's own rating and whether its card merges several models.
Inputs: products (required), city. Returns: object
get_price_historyARead-onlyIdempotent
Weekly average selling prices DNS shows on the card (about 6 months), next to the live price.
Each point is one week's average selling price; the last point is the
current, possibly partial week — it is not the current price (see
current_price_rub). Whether past weeks are city-specific is not confirmed.
Inputs: product (required), city. Returns: object
get_productARead-onlyIdempotent
Full, live product card for one DNS product in one city.
Price block (price, pre-discount price, each discount with its condition, online-payment estimate, credit payment, paid warranty extensions), marketplace seller with INN, availability (stores with any unit vs with a packaged unit vs showcase-only, pickup points, courier ETA; delivery cost is only known in the cart), per-store stock, the card rating next to this product's own rating with star split, DNS's reliability statistic, characteristics incl. "Модель", variants of a multi-card with their specs, and a weekly price-history summary.
Inputs: product (required), city, include_stores, include_price_history, +1 more. Returns: object
get_reviewsARead-onlyIdempotent
Buyer reviews from dns-shop.ru: date, stars, pros, cons, comment, usage period, bought variant, votes.
Also returns the statistics for the chosen scope (average, star split, per-aspect grades, tag cloud) on unfiltered requests, and whether the card merges several models. Reviewer names are never returned.
Inputs: product (required), city, page, sort, +7 more. Returns: object
search_productsARead-onlyIdempotent
Search DNS like the site does: 24 items per page, sorting, price window, stock filter.
Per item: code, name, short specs, the live city price (with pre-discount
price, online-payment discount as a conditional estimate, credit payment),
not-sold flag with the last sale price, marketplace seller, availability
summary, the card's rating (may merge variants) and DNS's reliability label.
DNS narrows every query to one category (resolved_category);
total_found_in_category counts only there, other_categories lists the rest.
Confirm finalists with get_product.
Inputs: query (required), city, page, sort, +5 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool targets a clearly distinct aspect: search discovers products, get_product gives one full card, get_reviews covers opinions, get_price_history tracks pricing over time, and compare_products does side-by-side offers. There is no meaningful overlap in purpose, and the descriptions reinforce the boundaries.
All five tools follow the same verb_noun snake_case pattern: search_products, get_product, get_reviews, get_price_history, compare_products. The verbs are consistent and predictable, and the objects clearly indicate what each tool operates on.
Five tools is well-scoped for a product information server: search, detail, reviews, price history, and comparison cover the core browsing workflow without redundancy or bloat. This feels like a focused, intentional set.
The set covers the full lifecycle of product discovery and evaluation: finding products, inspecting one deeply, reading reviews, viewing price trends, and comparing multiple products. Availability and seller details are embedded in get_product and compare_products, so there are no obvious dead ends or missing core operations.
Maintenance
Related MCP Connectors
Live web search, scraping and crawling API for AI. Get structured, LLM-ready data from any site.
Live data for AI agents. Search the catalog, read the price, call the tool; keys stay server-side.
AI-agent product catalog: search, lookup & purchase routing over verified merchant data.
Agent-native product catalog: 300M+ products, 150,000+ stores, deliver_to ranking.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables querying DNS Shop product data via MCP: search, product details, reviews, specifications, variants, categories, brand catalogs, availability by city, and store listings.18MIT
- AlicenseAqualityBmaintenanceEnables LLM agents to query live Wildberries marketplace data — product search with pages, sorting, price filters, per-article ratings and reviews, weekly price history, and seller legal details — with honest, sanity-checked answers and automatic anti-bot handling.5MIT
- AlicenseAqualityCmaintenanceEnables LLM agents to retrieve live, accurately-labelled product data from Ozon's public storefront, including search with pagination and sorting, all price variants, delivery dates, seller legal details, variants, and SKU-specific ratings and reviews, all without an Ozon account.41MIT
- AlicenseAqualityCmaintenanceEnables LLM agents to access live aliexpress.ru storefront data, including variant-specific ruble prices, order-accurate coupons, delivery quotes to Russian cities, seller info, and paginated buyer reviews with filters.4MIT