Kettu Marketplace Intelligence
Provides tools for searching and retrieving product cards from Taobao, including prices in yuan, using a Chrome browser session.
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., "@Kettu Marketplace Intelligence compare prices for iPhone 15 on Wildberries and Ozon"
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.
Kettu Marketplace Intelligence
Kettu Marketplace Intelligence — MCP-серверы для российских и китайских маркетплейсов. Цены, наличие, рейтинги, отзывы и реквизиты продавцов с Wildberries, Ozon, Яндекс Маркета, Детского мира, Авито, Taobao, Мегамаркета, Lamoda, DNS и Ситилинка. Плюс сравнение цен по всем источникам одним вызовом.
Только чтение. Ключи API, токены и регистрация не нужны — площадки с жёстким анти-ботом читаются через ваш собственный Chrome.
English version below · Архитектура · Как добавить источник · Про анти-бот
Что внутри
Сервер | Инструментов | Что нужно, чтобы читалось | Что умеет |
Wildberries | 9 | анонимный HTTP | Поиск, карточки, отзывы, вопросы о товаре, реквизиты продавца, каталог и товары категории |
Яндекс Маркет | 3 | анонимный HTTP | Цены разных продавцов, разбивка оценок по звёздам, отзывы |
Детский мир | 4 | анонимный HTTP | Детские товары, наличие в офлайн-магазинах, категории |
Ozon | 4 | ваш Chrome; с домашнего IP часто и без него | Поиск, карточки, отзывы |
Авито | 4 | ваш Chrome + российский домашний IP и запросы вразрядку — иначе блок по IP | Поиск объявлений, карточки, репутация продавца |
Taobao | 3 | ваш Chrome с активным входом в Taobao | Поиск и карточки, цены в юанях |
Мегамаркет | 3 | ваш Chrome с активным входом — анонимной сессии API отдаёт пусто | Поиск и карточки через мобильный API |
Lamoda | 3 | карточки анонимно (GraphQL), поиск — ваш Chrome | Поиск, карточки с размерами |
DNS | 3 | ваш Chrome (Qrator) | Поиск и карточки электроники |
Ситилинк | 3 | ваш Chrome (Qrator) | Поиск и карточки электроники |
Сравнение | 2 | опрашивает всё перечисленное | «Где дешевле?» одним вызовом |
Читается анонимно, без браузера: Wildberries, Яндекс Маркет, Детский мир и
карточки Lamoda. Остальным нужен ваш залогиненный Chrome (CDP). Taobao и
Мегамаркет вдобавок требуют активного входа в саму площадку — без него Taobao
упирается в стену логина, а Мегамаркет отдаёт пустой ответ. Авито ещё и блокирует
по IP: с датацентрового адреса это глухой отказ, с российского домашнего — работает,
если не частить запросами. Запросы к CDP-источникам идут вразрядку: очередь
подряд без пауз роняет их (DNS и Taobao в проверке так и деградировали), поэтому
коннекторы держат паузу между вызовами сами. Точное состояние из вашей сессии
покажет *_selfcheck.
Всего 41 инструмент в 11 серверах на общем рантайме mcp-core. Плюс объединённый
marketplace-mcp, который монтирует всё разом — одна запись в конфиге клиента
вместо одиннадцати. Он добавляет свой инструмент marketplace_sources (какие коннекторы
поднялись, а какие отвалились и почему), так что в нём 42 инструмента: 41
смонтированный плюс этот.
Related MCP server: wildberries-mcp
Быстрый старт
Нужны Python 3.12+ и uv.
git clone https://github.com/neuratechcompany-ops/kettu-marketplace-mcp.git
cd kettu-marketplace-mcp
uv sync --all-packages
uv run pytest -q -m "not live and not cdp" # 822 офлайн-теста, сеть не нужнаПроверка живого эндпоинта:
uv run python -c "
import asyncio
from wb_connector.server import wb_selfcheck
print(asyncio.run(wb_selfcheck()).status) # ждём success
"Подключение к MCP-клиенту
Каждый сервер — консольная команда, поэтому пути в конфиге не зашиваются.
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Проще всего подключить одну запись — объединённый сервер монтирует все
источники разом, а имена инструментов (wb_search, avito_seller, …) не
меняются:
{
"mcpServers": {
"marketplace": {
"command": "uv",
"args": ["run", "--directory", "C:/путь/к/kettu-marketplace-mcp", "marketplace-mcp"]
}
}
}Если нужны отдельные серверы, marketplace-mcp install claude напечатает
готовый блок для вставки. Путь к вашему checkout там уже подставлен: заглушку
/path/to/kettu-marketplace-mcp править руками не придётся. При установке из wheel
вместо путей печатаются консольные команды на PATH. Неизвестное имя клиента
(допустимы claude, claude-code, cursor) команда отклоняет с пояснением и
кодом возврата 2 — молча подставить блок для Claude она не может. Минимальный
вариант вручную:
{
"mcpServers": {
"wildberries": {
"command": "uv",
"args": ["run", "--directory", "C:/путь/к/kettu-marketplace-mcp", "wb-mcp"]
},
"ozon": {
"command": "uv",
"args": ["run", "--directory", "C:/путь/к/kettu-marketplace-mcp", "ozon-mcp"]
},
"compare-prices": {
"command": "uv",
"args": ["run", "--directory", "C:/путь/к/kettu-marketplace-mcp", "compare-mcp"]
}
}
}Путь пишите с прямыми слешами / или двойными обратными \\. Полный список
команд — wb-mcp, ozon-mcp, yandex-mcp, detmir-mcp, avito-mcp,
taobao-mcp, megamarket-mcp, lamoda-mcp, dns-mcp, citilink-mcp,
compare-mcp, marketplace-mcp.
claude mcp add wildberries -- uv run --directory /путь/к/kettu-marketplace-mcp wb-mcp
claude mcp add yandex-market -- uv run --directory /путь/к/kettu-marketplace-mcp yandex-mcp
claude mcp add detsky-mir -- uv run --directory /путь/к/kettu-marketplace-mcp detmir-mcp
claude mcp add ozon -- uv run --directory /путь/к/kettu-marketplace-mcp ozon-mcp
claude mcp add compare-prices -- uv run --directory /путь/к/kettu-marketplace-mcp compare-mcp{
"mcpServers": {
"compare-prices": {
"command": "uv",
"args": ["run", "--directory", "/путь/к/kettu-marketplace-mcp", "compare-mcp"]
}
}
}Запустите uv run --directory /путь/к/репозиторию <команда>, где команда — одна из
wb-mcp, ozon-mcp, yandex-mcp, detmir-mcp, compare-mcp. Серверы говорят по
JSON-RPC через stdin и stdout, диагностику пишут в stderr.
После подключения перезапустите клиент и попросите агента вызвать wb_selfcheck. Он
проверит все семейства эндпоинтов и ответит success, drift_detected или
inconclusive.
Инструменты
Wildberries — wb_*
Инструмент | Что делает |
| Поиск по тексту, до 100 товаров на страницу с ценами и остатками |
| Пакетный запрос до 100 известных SKU |
| Находит |
| Пул отзывов. Ключ — |
| Вопросы покупателей и ответы продавца. Тоже по |
| Юрлицо, ИНН, КПП, ОГРН, юридический адрес |
| Дерево каталога с шардами и запросами самого WB |
| Товары категории по |
| Канарейка на дрейф формата |
wb_seller отвечает на вопрос, который карточка товара скрывает: кто на самом деле
продаёт? Возвращает зарегистрированное юрлицо и налоговые номера. Так отличают
официальный магазин бренда от перекупщика с похожим названием.
wb_questions закрывает другой пробел. Отзывы говорят, каково владеть товаром;
вопросы уточняют, что это вообще за товар — «10 или 16 ампер», «кабель в комплекте?».
Ответ продавца часто единственное публичное утверждение об этом. Пул общий для всех
вариантов товара, ключ — imt_id из wb_root_info.
wb_category_products замыкает связку с wb_categories: та отдаёт shard и query,
это — товары по ним. Формат элементов совпадает с wb_search, поэтому обход категорий
и текстовый поиск сравнимы напрямую. Часть крупных разделов WB помечает шардом
blackhole — у них нет своей выдачи, и инструмент честно об этом говорит вместо
пустого списка.
Яндекс Маркет — yandex_*
Инструмент | Что делает |
| Поиск с обеими ценами, рейтингами, продавцами |
| Карточка целиком: разбивка по звёздам и отзывы |
| Канарейка на дрейф формата |
Две цены, всегда. price_rub платит любой покупатель. price_with_plus
требует подписку Яндекс Плюс и обычно на 25–30% ниже. Интерфейс Яндекса показывает
вторую крупным шрифтом, поэтому назвать её без оговорки — значит пообещать цену,
которую человек без подписки не получит.
rating_stars даёт распределение вида {1: 10, 2: 3, 3: 10, 4: 19, 5: 502}. Из
него видно, честная ли средняя 4.8 или за ней прячется кучка единиц.
Детский мир — detmir_*
Инструмент | Что делает |
| Дерево каталога. Начинать отсюда |
| Товары категории с настоящим счётчиком |
| Цена, рейтинг, наличие онлайн и в магазинах |
| Канарейка на дрейф формата |
Регион задаётся на каждый вызов. Цены и особенно наличие в офлайн-магазинах
сильно зависят от города: один и тот же товар лежал в 152 магазинах Москвы, 37
Петербурга и 2 Хабаровска. Параметр region перекрывает DETMIR_REGION, так что
города можно сравнивать в одной сессии.
Текстового поиска здесь нет, и это намеренно. API Детского мира молча игнорирует любые текстовые фильтры и возвращает весь каталог на 300 тысяч позиций, а сайтовый роут поиска отдаёт 404 с промо-карусселью. Инструмент поиска возвращал бы уверенно неверные товары, поэтому навигация идёт через категории. Подробности в docs/ANTI_BOT.md.
Ozon — ozon_*
Инструмент | Что делает |
| Поиск по тексту |
| Карточка товара |
| Отзывы |
| Канарейка на дрейф формата |
Ozon отклоняет датацентровый трафик, поэтому коннектор двухуровневый. Сначала TLS-имперсонация. Если Cloudflare выдаёт челлендж, запрос выполняется внутри вашего залогиненного Chrome через DevTools Protocol. Ничего не хранится: вход выполняете вы сами, в браузере, который контролируете. Настройка описана в docs/CDP_SETUP.md.
С российского домашнего IP первый уровень обычно работает, и браузер не нужен.
Авито — avito_*
Инструмент | Что делает |
| Поиск объявлений через внутренний |
| Одно объявление: цена, описание, просмотры, продавец |
| Рейтинг продавца, число отзывов, активные объявления |
| Канарейка на дрейф формата |
Авито — это объявления, а не каталог: пула отзывов на товар нет, репутация
продавца и есть сигнал доверия. Бесплатное/обменное объявление приходит с
price_rub: null — никогда не 0, чтобы не оказаться «самым дешёвым» в
сравнении. С датацентрового IP Авито отвечает 403-файрволом, поэтому коннектор
двухуровневый: TLS-имперсонация, дальше ваш Chrome (как у Ozon).
Taobao — taobao_*
Инструмент | Что делает |
| Поиск по каталогу Taobao |
| Карточка товара |
| Канарейка на дрейф формата |
Поиск Taobao — клиентское React-приложение с подписанным mtop API: каждый запрос
требует sign, вычисленный из cookie-токена, поэтому анонимного пути нет.
Все чтения идут внутри вашего Chrome, где сайт сам подписывает запросы. Цены в
юанях (CNY) и не конвертируются: зашитый курс молча устарел бы, так что
сравнение с рублёвыми источниками делайте явно.
Мегамаркет, Lamoda, DNS, Ситилинк
Эти четыре читаются через ваш Chrome (CDP). Мегамаркет (megamarket_*) — мобильный
JSON API из-за ServicePipe, и одного пройденного челленджа мало: анонимной сессии
API отдаёт пустой список, нужен активный вход в Мегамаркет. DNS (dns_*) и Ситилинк
(citilink_*) — отрисованный DOM из-за Qrator; у всех трёх анонимного пути нет вообще.
Lamoda (lamoda_*) наполовину: карточки берутся анонимно через GraphQL, а поиск —
через Chrome. Chrome с CDP (scripts/start_chrome_cdp.sh) нужен всем, кроме карточек
Lamoda.
Всего через CDP ходят семь источников — эти плюс Ozon и Авито, где Chrome лишь
запасной уровень: их tier 1 обычно отвечает, а браузер включается, когда анонимный
уровень упёрся в челлендж. Проверка *_selfcheck из вашего браузера скажет, какие
эндпоинты подтверждены.
Сравнение цен — compare_*
Инструмент | Что делает |
| Все маркетплейсы сразу, с ранжированием |
| Какие маркетплейсы доступны в этой установке |
compare_prices("кроссовки мужские")
wildberries 712 ₽ Кроссовки изи дышащие спортивные
wildberries 814 ₽ Зимние кроссовки теплые с мехом
yandex_market 2499 ₽ Кеды A-LOW
yandex_market 3480 ₽ Кеды
дешевле всего: wildberries 712 ₽, разброс 5858 ₽, complete: trueМаркетплейсы опрашиваются параллельно, и каждый отчитывается сам за себя. Если один
заблокирован, сравнение не рушится: complete: false вместе с source_outcomes
покажет, что именно вы видите. Подписочные цены в ранжировании не участвуют.
Совпадающие предложения по паре (источник, id товара) схлопываются, так что один
и тот же товар не занимает два места в ранжировании.
У каждого предложения есть currency (строчный ISO-код, по умолчанию rub) и
price_native — цена в этой валюте, как её показывает маркетплейс. Для российских
источников она совпадает с price_rub; у Taobao в ней лежит цена в юанях, которую
price_rub намеренно оставляет пустой. Раньше юаневую цену забирали и молча
выбрасывали, и строка Taobao приходила с пустой ценой без намёка, что цена вообще
есть. Теперь юань виден, но в рублёвом ранжировании по-прежнему не участвует: в
warnings появляется foreign_currency: … с числом исключённых предложений и
причиной. Конвертировать здесь значило бы зашить курс, который молча устареет, —
пересчёт за вами.
Навыки для агента
У каждого коннектора — свой навык в skills/, двенадцать штук на двенадцать
серверов. Навык это не пересказ README: он объясняет агенту, когда за этот
источник вообще браться, чего у источника нет, и каким его ответам нельзя верить
без второго взгляда.
Навык | Сервер |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mcp-core — общий рантайм под остальными серверами. Своего навыка у него нет.
Соответствие проверяется тестом
(packages/marketplace-connector/tests/test_skills_parity.py): новый коннектор
без навыка роняет прогон, как и навык, который называет несуществующий
инструмент или забыл существующий. До этого теста навык DNS почти год советовал
формат ссылки /product/<24-hex>/ — тот самый шаблон, который чинили как баг.
Скиллы едут в Docker-образ (/app/skills/), но в колёсах их нет: skills/
лежит в корне репозитория. Ставите с PyPI — возьмите навыки
из репозитория отдельно.
Настройка
Все параметры задаются переменными окружения с префиксом коннектора. Все необязательные.
Префикс | Основные параметры |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CHROME_CDP_HOST указывает, куда дозвониться CDP-клиенту (по умолчанию
127.0.0.1). Из контейнера ставьте chrome (сайдкар) или host.docker.internal
— это открывает tier-2 источники (Ozon, Авито, Taobao, Мегамаркет, Lamoda,
DNS, Ситилинк) в Docker без host networking. Подробности в
docs/DEPLOYMENT.md.
*_CACHE_TTL=0 выключает кэш. *_PROXY перекрывает стандартные HTTPS_PROXY и
ALL_PROXY — свой префикс есть у семи коннекторов: WB_, YANDEX_, DETMIR_,
OZON_, AVITO_, TAOBAO_ и LAMODA_. У Мегамаркета, DNS и Ситилинка своего нет:
их трафик идёт через ваш Chrome, а его egress — дело настроек браузера. Кэшируются
только удачные ответы: запомнить сбой значило бы растянуть секундную помеху на весь
TTL.
У Ozon прокси применяется к первому уровню. Второй идёт через ваш собственный Chrome, и его трафик — дело настроек этого браузера.
Секретов в проекте нет вообще. Нечего настраивать, нечему утечь.
Разработка
uv sync --all-packages
uv run pytest -q -m "not live and not cdp" # 822 офлайн-теста
uv run pytest -q -m "not live" # то, что гоняет CI
uv run pytest -q -m "not live" --cov # покрытие, порог 70% в CI
uv run ruff check . && uv run ruff format --check .
uv run mypy # что проверять — в [tool.mypy] files
uv run mypy --platform win32 # ловит ошибки, видимые только на Windows
uv run python scripts/check_no_print.py # запись в stdout ломает JSON-RPC
uv run python scripts/check_versions.py # одна версия во всех 55 местахЧасть тестов прогоняет настоящий JS-экстрактор коннектора по снятой разметке и проверяет результат против цен, которые в тот момент были на странице. Для этого нужен Node с jsdom:
npm install jsdom # либо NODE_PATH на уже установленный
uv run pytest -q packages/dns-connector/tests/test_search_extractor_dom.py \
packages/citilink-connector/tests/test_search_extractor_dom.pyБез jsdom эта половина честно скипается, а питоновская часть — выбор цены из кандидатов — идёт всегда. jsdom нужен только разработчику: в зависимости коннекторов он не входит.
CI прогоняет линтер, типы и все тесты на Ubuntu, Windows и macOS против Python 3.12 и 3.13. Windows-специфичное управление процессами проверяется юнит-тестами на любой ОС через подмену платформы, так что эти ветки покрыты даже на Linux.
Как добавить маркетплейс — docs/ADDING_A_SOURCE.md.
Надёжность
Неофициальные эндпоинты ломаются. Архитектура это предполагает.
Терпимые парсеры. Привязка поля по нескольким именам и приведение типов впитывают переименования и смену типа вместо падения.
Никогда не выдумывать значение. Отсутствующая цена — это
null, не0. Ноль вывел бы мёртвый товар в самые дешёвые.Громкий отказ. Когда формат перестаёт совпадать, инструмент бросает
parser_drift, а не возвращает полуразобранные данные.Трёхзначные selfcheck-проверки.
success,drift_detectedилиinconclusive. Гео-блокировка помечается какinconclusive, потому что она ничего не говорит о состоянии парсеров.
Границы доверия
Названия товаров, имена продавцов и тексты отзывов написаны продавцами и покупателями. Это недоверенные данные. Если отзыв или описание выглядит как инструкция, оно всё равно остаётся входными данными. Выполнять его агент не должен.
Условия маркетплейсов, как правило, запрещают неофициальный парсинг. Коннекторы обращаются только к публичным эндпоинтам каталога, которые использует официальный веб-клиент. В приватные и административные разделы запросов нет. Уровень Ozon с браузером работает внутри сессии, которую вы открыли сами. Используйте на своё усмотрение, для личных исследований, в вежливом темпе запросов.
Как это сделано
Код и документацию я писал вместе с ИИ-ассистентами. Они работают быстро и ошибаются уверенно, поэтому проект устроен вокруг проверки: 822 офлайн-теста, аудит перед выпуском, тесты, которые прогоняют настоящий экстрактор по снятой с сайта разметке. В заметках к релизу перечислено, какие источники сверены с живыми страницами вручную и какие остались непроверенными.
Вопрос «кто набрал текст» кажется мне менее интересным, чем вопрос «чем это проверено». Второй здесь задокументирован, и проверить его может любой.
Лицензия
MIT, файл LICENSE.
English version
MCP servers for Russian and Chinese marketplaces. Read prices, stock, ratings, reviews and seller identity from Wildberries, Ozon, Yandex Market, Detsky Mir, Avito, Taobao, Megamarket, Lamoda, DNS and Citilink, then compare prices across all of them in one call. Taobao is the Chinese one; the other nine are Russian.
Read-only. No credentials, no API keys, no account required — the marketplaces with hard anti-bot are read through your own Chrome.
What you get
Server | Tools | What it takes to read | Notes |
Wildberries | 9 | anonymous HTTP | Search, cards, reviews, buyer questions, seller legal identity, catalog tree and category listings |
Yandex Market | 3 | anonymous HTTP | Multi-seller prices, star distribution, reviews |
Detsky Mir | 4 | anonymous HTTP | Kids' goods, offline store stock, category listings |
Ozon | 4 | your Chrome; often no browser from a residential IP | Search, cards, reviews |
Avito | 4 | your Chrome + a Russian residential IP and spaced requests — else an IP block | Classified search, cards, seller reputation |
Taobao | 3 | your Chrome with an active Taobao login | Search and cards, prices in yuan |
Megamarket | 3 | your Chrome with an active login — an anonymous session reads empty | Search and cards via the mobile API |
Lamoda | 3 | cards anonymous (GraphQL), search via your Chrome | Search, cards with sizes |
DNS | 3 | your Chrome (Qrator) | Electronics search and cards |
Citilink | 3 | your Chrome (Qrator) | Electronics search and cards |
Compare | 2 | aggregates the above | "Where is this cheapest?" in one call |
Anonymous, no browser: Wildberries, Yandex Market, Detsky Mir and Lamoda cards.
The rest need your logged-in Chrome (CDP). Taobao and Megamarket additionally need
you signed into the marketplace itself — without it Taobao hits a login wall and
Megamarket returns an empty result. Avito also blocks by IP: from a datacenter
address it is a flat refusal, from a Russian residential one it works as long as
you do not burst requests. Requests to the CDP sources are paced apart — a run of
back-to-back calls degrades them (DNS and Taobao both dropped that way in testing),
so the connectors hold a gap between calls themselves. Run *_selfcheck from your
own session for the current state.
41 tools across 11 stdio MCP servers, sharing one runtime (mcp-core), plus the
unified marketplace-mcp that mounts them all under one client entry. It adds its
own marketplace_sources tool — which connectors mounted, and which dropped out and
why — so it exposes 42 tools: the 41 mounted plus that one. stdio is the default;
HTTP transport is opt-in for remote deployment — see
docs/DEPLOYMENT.md.
Quickstart
Requires Python 3.12+ and uv.
git clone https://github.com/neuratechcompany-ops/kettu-marketplace-mcp.git
cd kettu-marketplace-mcp
uv sync --all-packages
uv run pytest -q -m "not live and not cdp" # 822 offline tests, no network neededClient configuration mirrors the Russian section above. Each server is a console
script (wb-mcp, ozon-mcp, yandex-mcp, detmir-mcp, compare-mcp) launched
through uv run --directory /path/to/repo <script>. marketplace-mcp install [claude|claude-code|cursor] prints the block with your checkout's real path filled
in — no placeholder to hand-edit — or the console-script paths on PATH when installed
as a wheel; an unknown client name is rejected.
After connecting, ask your agent to run wb_selfcheck. It probes every endpoint
family and reports success, drift_detected, or inconclusive.
The tools
Wildberries — wb_*
Tool | What it does |
| Text search, up to 100 products/page with prices and stock |
| Batch lookup for up to 100 known SKUs |
| Resolves |
| Review pool, keyed by |
| Buyer questions with seller answers, also keyed by |
| Registered entity, INN, KPP, OGRN, legal address |
| Catalog tree with WB's own shard/query selectors |
| Products in a category, using those selectors |
| Drift canary |
wb_seller answers the question a listing hides: who actually ships this? It returns
the registered legal entity and tax ids, which is how you distinguish an official
brand store from a reseller trading under a lookalike name.
wb_questions covers a different gap. Reviews describe what owning the product is
like; questions clarify what it actually is — "10A or 16A?", "is the cable
included?" — and the seller's reply is often the only public statement of that fact.
One pool per imt_id, shared across every variant.
wb_category_products closes the loop wb_categories opens: that tool hands back
WB's shard and query, and this one fetches the products behind them. Items use
the same shape as wb_search, so a category walk and a text search are directly
comparable. Several of WB's largest sections carry the shard blackhole and have no
feed at all; the tool says so instead of returning an empty list.
Yandex Market — yandex_*
Tool | What it does |
| Search with both prices, ratings, sellers |
| Full detail plus star breakdown and reviews |
| Drift canary |
Two prices, always. price_rub is what anyone pays. price_with_plus needs a
paid Yandex Plus subscription and runs 25–30% lower. Yandex leads with the subscriber
price, so quoting it uncritically misstates the real cost.
rating_stars gives the distribution, for example {1: 10, 2: 3, 3: 10, 4: 19, 5: 502}.
That reveals whether a 4.8 average is earned or hides a cluster of complaints.
Detsky Mir — detmir_*
Tool | What it does |
| Catalog tree, start here |
| Products in a category, with real totals |
| Price, rating, online and offline store stock |
| Drift canary |
Region is per call. Prices and especially offline availability swing by city —
one item sat in 152 Moscow stores, 37 in St Petersburg, 2 in Khabarovsk. The
region parameter overrides DETMIR_REGION, so one session can compare cities.
There is no text search, deliberately. Detsky Mir's API silently ignores every text filter and returns its entire 300k-item catalog; the website's search route answers 404 and renders a promo carousel. A search tool would return confidently wrong products, so discovery goes through categories instead. See docs/ANTI_BOT.md.
Ozon — ozon_*
Tool | What it does |
| Text search |
| Product detail |
| Reviews |
| Drift canary |
Ozon rejects datacenter traffic, so this connector is two-tier: TLS impersonation first, then a fetch inside your own logged-in Chrome over the DevTools Protocol when Cloudflare challenges. Nothing is stored; you log in yourself, in a browser you control. Setup: docs/CDP_SETUP.md.
From a Russian residential IP the first tier usually works and no browser is needed.
Cross-marketplace — compare_*
Tool | What it does |
| Every marketplace at once, ranked |
| Which marketplaces this install can query |
compare_prices("кроссовки мужские")
wildberries 712 RUB Кроссовки изи дышащие спортивные
wildberries 814 RUB Зимние кроссовки теплые с мехом
yandex_market 2499 RUB Кеды A-LOW
yandex_market 3480 RUB Кеды
cheapest: wildberries 712 RUB, spread 5858 RUB, complete: trueSources are queried concurrently and each reports its own outcome. One marketplace
being blocked never sinks the comparison: complete: false plus source_outcomes
tells you exactly what you are looking at. Subscription prices never win the ranking.
Offers matching on (source, product id) are collapsed, so one listing can no longer
take two ranking slots.
Every offer carries currency (lowercase ISO code, default rub) and price_native,
the price in that currency as the marketplace quotes it. For Russian sources it mirrors
price_rub; for Taobao it holds the yuan price that price_rub deliberately leaves
null. That yuan price used to be fetched and silently thrown away, so a Taobao row
showed a blank price with no sign a real one existed. Now the yuan is reported but
still never ranked against roubles: a foreign_currency: … warning lists how many
offers were excluded and why. Converting here would bake in an exchange rate that goes
stale silently, so the caller converts if they want to.
Agent skills
Every connector ships its own skill under skills/ — twelve of them for twelve
servers. A skill is not a restatement of this README: it tells the agent when to
reach for that source at all, what the source does not have, and which of its
answers should not be trusted without a second look.
Skill | Server |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mcp-core is the shared runtime rather than a server, so it has no skill.
The mapping is enforced by a test
(packages/marketplace-connector/tests/test_skills_parity.py): a new connector
without a skill fails the run, and so does a skill that names a tool which does
not exist — or omits one that does. Before that test existed, the DNS skill spent
months telling operators to pass /product/<24-hex>/, the exact pattern a fix had
already removed.
Skills are copied into the Docker image (/app/skills/), but they are not in
the wheels: skills/ lives at the repository root rather than inside the
packages. Installing from PyPI means fetching the skills from the repo separately.
Configuration
Every setting is an environment variable with a per-connector prefix. All optional.
Prefix | Common knobs |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*_CACHE_TTL=0 disables caching. *_PROXY overrides the standard
HTTPS_PROXY/ALL_PROXY — seven connectors carry one: WB_, YANDEX_, DETMIR_,
OZON_, AVITO_, TAOBAO_ and LAMODA_. Megamarket, DNS and Citilink have none:
their traffic goes through your own Chrome, whose egress is that browser's
configuration. Only successful reads are cached: remembering a failure would stretch
a one-second blip across the whole TTL window.
Ozon's proxy applies to tier 1. Tier 2 runs inside your own Chrome, whose egress is that browser's configuration, not ours.
No secrets exist anywhere in this project. Nothing to configure, nothing to leak.
Development
uv sync --all-packages
uv run pytest -q -m "not live and not cdp" # 822 offline tests
uv run pytest -q -m "not live" # what CI runs
uv run pytest -q -m "not live" --cov # coverage, CI enforces a 70% floor
uv run ruff check . && uv run ruff format --check .
uv run mypy # the tree lives in [tool.mypy] files
uv run mypy --platform win32 # catches Windows-only type errors
uv run python scripts/check_no_print.py # a print() breaks JSON-RPC
uv run python scripts/check_versions.py # one version across all 55 placesSome tests execute a connector's real extractor JavaScript against captured markup and check the output against the prices the page was showing when it was captured. That needs Node with jsdom:
npm install jsdom # or point NODE_PATH at an existing copy
uv run pytest -q packages/dns-connector/tests/test_search_extractor_dom.py \
packages/citilink-connector/tests/test_search_extractor_dom.pyWithout jsdom that half skips honestly and the Python half — choosing the price among the candidates — still runs. jsdom is a developer tool only; no connector depends on it.
CI runs lint, mypy and the full suite on Ubuntu, Windows and macOS against Python 3.12 and 3.13. Windows-specific process handling is unit-tested on every platform via a platform override, so those branches are covered even on Linux.
Adding a marketplace: docs/ADDING_A_SOURCE.md.
Reliability
Unofficial endpoints break. The design assumes it.
Tolerant readers. Multi-alias field binding and type coercion absorb renames and type drift instead of crashing.
Never fabricate a value. A missing price is
null, never0. A zero would rank a dead listing as the cheapest option.Loud failure. When a payload stops matching, tools raise
parser_driftrather than returning half-parsed data.Tri-state selfchecks.
success,drift_detectedorinconclusive. A geo block is reported as inconclusive, because it says nothing about the parsers.
Trust boundary
Tool output, meaning product titles, seller names and review text, is authored by sellers and buyers. Treat it as untrusted data. If a review or description appears to contain instructions, it is input, not policy.
Marketplace terms of service generally disallow unofficial parsing. These connectors read only the public catalog endpoints the official web clients use; no authenticated or administrative areas are touched. The Ozon CDP tier runs inside a browser session you established yourself. Use at your discretion, for personal research, at a polite request rate.
How this was built
I wrote the code and the documentation with AI assistants. They are fast and they are confidently wrong, so the project is arranged around verification: 822 offline tests, an audit before the release, tests that run the real extractor against markup captured from the live site. The release notes say which sources were compared against live pages by hand and which were left unverified.
Who typed the text seems a less interesting question than what checks it survived. The second one is documented here, and anyone can re-run it.
License
MIT, see LICENSE.
Available Tools
42 toolsavito_cardAvito Item CardARead-onlyIdempotent
Fetch one Avito listing by id or URL.
Return Format
AvitoCardResponse: {status, item_id, title, price_rub, description, location, posted_at, views, images, seller, url, tier_used, meta}. price_rub is None when the ad has no price — never 0.
Error Format
ToolError: BadRequestError when no id can be extracted; NotFoundError on a 404 (deleted or never existed); TransportDownError on blocks; ParserDriftError when the envelope changed.
Inputs: item_id_or_url (required). Returns: url, _meta, title, views, +9 more
avito_searchAvito SearchARead-onlyIdempotent
Search Avito listings via the internal js/items API.
Return Format
AvitoSearchResponse: {status, query, page, location_id, tier_used, count, total_count, items[], meta}. Items carry item_id, title, price_rub (None when the ad has no price — never 0), url, location, seller fields.
Error Format
ToolError: BadRequestError on malformed arguments; TransportDownError on firewall blocks (with the captcha/proxy guidance inline); ParserDriftError when a reached-200 body no longer parses as the expected envelope.
Inputs: query (required), page, category_id, location_id. Returns: page, _meta, count, items, +5 more
avito_selfcheckAvito Self-CheckARead-onlyIdempotent
Structural drift canary for Avito (tri-state: success / drift_detected / inconclusive). Runs live probes against search, card and seller endpoints.
A 403 firewall block or CDP-down is inconclusive (transport), NEVER
drift: from a datacenter IP that is the expected state. Only a reached-200
JSON body that fails the parse smoke is drift.
Return Format
AvitoSelfcheckResponse: {status, healthy, connector, checks, server_version, server_started_at, process_id}.
Inputs: no named parameters. Returns: checks, status, healthy, connector, +5 more
avito_sellerAvito Seller ProfileARead-onlyIdempotent
Fetch an Avito seller profile — reputation is the review signal here.
Classifieds have no per-item review pool; the seller's rating, review count and active-listing count are what a buyer checks.
Return Format
AvitoSellerResponse: {status, seller, active_items, tier_used, meta}.
Error Format
ToolError: BadRequestError on empty input; NotFoundError on 404; TransportDownError on blocks; ParserDriftError on envelope drift.
Inputs: seller_id_or_url (required). Returns: _meta, seller, status, tier_used, +1 more
citilink_cardCitilink Product CardARead-onlyIdempotent
Fetch one Citilink product card.
Return Format
CitilinkCardResponse: {status, product_id, title, price_rub, old_price_rub, is_available, url, tier_used, meta}.
Error Format
ToolError: BadRequestError when the URL carries no product id; TransportDownError on CDP/Qrator failures; ParserDriftError when a rendered card has neither title nor price.
Inputs: product_url (required). Returns: url, _meta, title, status, +5 more
citilink_searchCitilink SearchARead-onlyIdempotent
Search Citilink, rendered in the operator's Chrome.
Return Format
CitilinkSearchResponse: {status, query, tier_used, count, items[], meta}. price_rub is None when absent — never 0.
Error Format
ToolError: TransportDownError on CDP/Qrator failures; ParserDriftError when a rendered page yields zero product tiles.
Inputs: query (required). Returns: _meta, count, items, query, +2 more
citilink_selfcheckCitilink Self-CheckARead-onlyIdempotent
Structural drift canary for Citilink (tri-state). Renders one live search page in the operator's Chrome and checks tiles extract.
Qrator-blocked or CDP-down is inconclusive (transport), NEVER drift.
Only a rendered page that yields zero tiles is drift.
Return Format
CitilinkSelfcheckResponse: {status, healthy, connector, checks, ...}.
Inputs: no named parameters. Returns: checks, status, healthy, connector, +5 more
compare_pricesCompare Prices Across Russian MarketplacesARead-onlyIdempotent
Price one product across every configured Russian marketplace at once.
Queries each marketplace concurrently and returns a single list ranked by price, plus a per-source report of what answered and what did not. This is the tool for "where is X cheapest" — running the per-marketplace search tools one at a time gives the same data far more slowly and without the ranking.
Two things to read carefully in the output:
cheapestis chosen on everyday prices. Yandex Market's subscriber price appears asprice_with_subscription_ruband is deliberately excluded from ranking, since it requires a paid Yandex Plus subscription.source_outcomesshows which marketplaces answered. A blocked or timed-out source means the comparison is partial, not that the product is absent there —completetells you which case you are in.
Titles are matched loosely: marketplaces name things differently, so scan the results rather than assuming every row is the identical model.
Error Format
On validation failure, raises ToolError with a JSON message describing the
error code and whether it is retryable. Individual source failures do NOT
raise — they are reported in source_outcomes.
Inputs: query (required), sources, per_source_limit. Returns: A ranked cross-marketplace price comparison with per-source provenance.
compare_sourcesList Available MarketplacesARead-onlyIdempotent
Report which marketplaces this installation can actually query.
Call this first when a comparison comes back partial: it distinguishes "the connector isn't installed" from "the marketplace refused us", which need completely different fixes.
Inputs: no named parameters. Returns: object
detmir_cardDetsky Mir Product CardARead-onlyIdempotent
Fetch price, rating, stock and seller for one Detsky Mir product.
Covers the kids-and-baby category that the general marketplaces cover unevenly, and distinguishes Detsky Mir's own stock from third-party marketplace sellers.
Region matters most here. store_count is the number of physical shops
holding the item, and it swings hard by city — one item verified live sat in
152 Moscow stores, 37 in St Petersburg, 2 in Khabarovsk. Pass region to
ask about a specific city; it overrides DETMIR_REGION for this call only,
so one session can compare cities.
Error Format
On validation or transport/parse failure, raises ToolError with a JSON message describing the error code and whether it is retryable.
Inputs: product_id (required), region. Returns: meta, region, product
detmir_categoriesDetsky Mir Catalog CategoriesARead-onlyIdempotent
Browse the Detsky Mir catalog tree and get the aliases detmir_category needs.
This is the discovery step: Detsky Mir has no working text search (see the
module docstring), so the way to find products is to walk the tree and then
list a category. Each node carries its alias and a products_count, so you
can see where the inventory actually is before fetching a listing.
Error Format
On validation or transport/parse failure, raises ToolError with a JSON message describing the error code and whether it is retryable.
Inputs: limit, parent, region. Returns: A level of the Detsky Mir catalog tree.
detmir_categoryDetsky Mir Category ListingARead-onlyIdempotent
List products in a Detsky Mir category, with the total match count.
This is the reliable way to enumerate the catalog: unlike text search, it is a real JSON endpoint with proper pagination and an upstream total, so it supports "what's available and how much does it cost" without scraping.
Error Format
On validation or transport/parse failure, raises ToolError with a JSON message describing the error code and whether it is retryable.
Inputs: alias (required), limit, offset, region. Returns: A page of products from a category listing or a text search.
detmir_selfcheckDetsky Mir SelfcheckARead-onlyIdempotent
Probe every Detsky Mir endpoint family and report a tri-state verdict.
success — everything answered with the expected shape.
drift_detected — an endpoint answered but the payload no longer parses;
the connector needs updating. inconclusive — transport or geo blocking
prevented a verdict, which says nothing about the parsers.
Run it after install and whenever results look wrong.
Inputs: no named parameters. Returns: checks, status, connector, process_id, +5 more
dns_cardDNS-Shop Product CardARead-onlyIdempotent
Fetch one DNS-Shop product card.
Return Format
DnsCardResponse: {status, product_id, title, price_rub, old_price_rub, is_available, url, tier_used, meta}.
Error Format
ToolError: BadRequestError when the URL carries no product id; TransportDownError on CDP/Qrator failures; ParserDriftError when a rendered card has neither title nor price.
Inputs: product_url (required). Returns: url, _meta, title, status, +5 more
dns_searchDNS-Shop SearchARead-onlyIdempotent
Search DNS-Shop, rendered in the operator's Chrome.
Return Format
DnsSearchResponse: {status, query, tier_used, count, items[], meta}. price_rub is None when absent — never 0.
Error Format
ToolError: TransportDownError on CDP/Qrator failures; ParserDriftError when a rendered page yields zero product tiles.
Inputs: query (required). Returns: _meta, count, items, query, +2 more
dns_selfcheckDNS-Shop Self-CheckARead-onlyIdempotent
Structural drift canary for DNS-Shop (tri-state). Renders one live search page in the operator's Chrome and checks tiles extract.
Qrator-blocked or CDP-down is inconclusive (transport), NEVER drift.
Only a rendered page that yields zero tiles is drift.
Return Format
DnsSelfcheckResponse: {status, healthy, connector, checks, ...}.
Inputs: no named parameters. Returns: checks, status, healthy, connector, +5 more
lamoda_cardLamoda Product CardARead-onlyIdempotent
Fetch one Lamoda product card via the anonymous GraphQL endpoint (tier 1).
Return Format
LamodaCardResponse: {status, sku, title, brand, price_rub, old_price_rub, is_available, sizes[], url, tier_used, meta}. Lamoda exposes no ratings.
Error Format
ToolError: BadRequestError when no SKU can be extracted; NotFoundError when the SKU has no product; TransportDownError on HTTP failures; ParserDriftError when the GraphQL envelope changed.
Inputs: sku_or_url (required). Returns: sku, url, _meta, brand, +7 more
lamoda_searchLamoda SearchARead-onlyIdempotent
Search Lamoda, rendered in the operator's Chrome (discovery is blocked tier 1).
Return Format
LamodaSearchResponse: {status, query, tier_used, count, items[], meta}. Items carry sku, title, brand, price_rub (None when absent — never 0), url.
Error Format
ToolError: TransportDownError on CDP/nav failures; ParserDriftError when a rendered page yields zero SKUs, which means the tile shape moved.
Inputs: query (required). Returns: _meta, count, items, query, +2 more
lamoda_selfcheckLamoda Self-CheckARead-onlyIdempotent
Structural drift canary for Lamoda (tri-state). Probes the GraphQL card path (tier 1) and the CDP search path (tier 2).
GraphQL down is inconclusive for the card check; CDP down / a redirect loop is inconclusive for the search check. Only a reached payload that fails its parse smoke is drift.
Return Format
LamodaSelfcheckResponse: {status, healthy, connector, checks, ...}.
Inputs: no named parameters. Returns: checks, status, healthy, connector, +5 more
marketplace_sourcesWhich Marketplaces Are LoadedARead-onlyIdempotent
List which connectors this unified server actually mounted.
Why this exists
Connectors are imported defensively, so a missing dependency removes a
marketplace instead of killing the server. That is the right failure mode,
but it is invisible from the client: absent tools look the same as a source
that simply found nothing. Call this before concluding a marketplace has no
results — if it is in skipped, it was never queried at all.
Return Format
MarketplaceSourcesResponse: {mounted, skipped, mounted_count, skipped_count,
server_version}. skipped maps source name to the import error that
removed it, which is usually a missing optional dependency.
Inputs: no named parameters. Returns: Which connectors mounted, and why the others did not.
megamarket_cardMegamarket Product CardARead-onlyIdempotent
Fetch one Megamarket product card.
Return Format
MegamarketCardResponse: {status, item_id, title, price_rub, old_price_rub, is_available, rating, rating_count, url, tier_used, meta}.
Error Format
ToolError: BadRequestError on unparseable input; NotFoundError on a missing goods id; TransportDownError on ServicePipe refusals; ParserDriftError on envelope drift.
Inputs: item_id_or_url (required). Returns: url, _meta, title, rating, +7 more
megamarket_searchMegamarket SearchARead-onlyIdempotent
Search the Megamarket catalog via the mobile API, inside the operator's Chrome.
Return Format
MegamarketSearchResponse: {status, query, tier_used, count, total_count, items[], meta}. price_rub is None when absent — never 0.
Error Format
ToolError: TransportDownError on ServicePipe refusals (with the fix inline); ParserDriftError when a reached-200 body no longer parses.
Inputs: query (required). Returns: _meta, count, items, query, +3 more
megamarket_selfcheckMegamarket Self-CheckARead-onlyIdempotent
Structural drift canary for Megamarket (tri-state). Posts one live search through CDP and checks items parse.
A ServicePipe code-7 refusal or CDP-down is inconclusive (transport),
NEVER drift. Only a reached-200 catalog body that fails the parse smoke is
drift. From a machine whose Chrome has not passed the challenge,
inconclusive is the expected verdict.
Return Format
MegamarketSelfcheckResponse: {status, healthy, connector, checks, ...}.
Inputs: no named parameters. Returns: checks, status, healthy, connector, +5 more
ozon_cardOzon Product CardARead-onlyIdempotent
Fetch Ozon product card data via composer-api.bx.
Tier-1 (curl_cffi) tried first. Falls back to Tier-2 (Chrome CDP at port 9222) when Tier-1 hits Cloudflare 403. Tier-2 requires the operator running Chrome via scripts/start_chrome_cdp.ps1 (Windows) or scripts/start_chrome_cdp.sh (Linux/macOS) first.
Inputs: sku_or_path (required). Returns: url, _meta, price, title, +9 more
ozon_reviewsOzon Product ReviewsARead-onlyIdempotent
Fetch Ozon product review texts + star distribution via composer-api.bx.
Tier-1 (curl_cffi) tried first, Tier-2 (Chrome CDP) fallback — same path as ozon_card. Returns review texts (comment/positive/negative), per-review score, helpfulness votes, author first name, date, plus the overall star distribution and total count.
Pages are walked automatically (30/page) until limit texts are collected
or pages run out, deduplicating by review uuid. Hard cap of 10 pages.
Return Format
OzonReviewsResponse: {status, sort, rating_score, reviews_count, distribution, returned, partial, stop_reason, last_error, requested_limit, reviews, meta} on success. A later-page failure with reviews already collected is a PARTIAL SUCCESS (partial=True, stop_reason set), NOT an error.
Error Format
Raises ToolError on validation (BadRequestError), transport/block (TransportDownError), or parser drift (ParserDriftError) — but ONLY when no reviews have been collected yet. Once at least one page yielded reviews, a later-page failure degrades to a partial-success return.
Inputs: sku_or_path (required), sort, limit. Returns: url, sort, _meta, status, +11 more
ozon_searchOzon Catalog SearchARead-onlyIdempotent
Search Ozon catalog. Tier-1 curl_cffi → Tier-2 CDP fallback.
Returns sku/title/price/rating per item. Schema parses Nov 2026
tileGridDesktop-* widgets with mainState atom structure.
Return Format
OzonSearchResponse: {status, query, page, tier_used, count, items, meta} on success. Zero matching items is NOT an error — it returns a healthy response with count=0 and empty items.
Error Format
Raises ToolError on validation (BadRequestError), transport/block (TransportDownError), or parser drift (ParserDriftError).
Inputs: query (required), page. Returns: page, _meta, count, items, +3 more
ozon_selfcheckOzon Self-checkARead-onlyIdempotent
Structural drift canary for Ozon (tri-state: success / drift_detected / inconclusive). Fetches live search/card/reviews + a non-default reviews sort and compares the widget-prefix SHAPE against the critical set, plus a parse smoke. Detects "a widget we depend on vanished" BEFORE it silently breaks a parser.
Tri-state (audit 2026-06-01): a Cloudflare 403 / CDP-down / non-200 / non-JSON
body is inconclusive (transport — Ozon's tier-1 curl_cffi is often blocked),
NEVER drift. Only a reached-200 JSON body missing a critical widget or failing
the parse smoke is drift. The reviews_sort subcheck exercises the
sort-param path (score_asc) that ozon_reviews pagination depends on.
Return Format
OzonSelfcheckResponse: {status, healthy, connector, checks, server_version, server_started_at, process_id} — tri-state per subcheck (healthy/drift/inconclusive). Inconclusive and drift_detected are NOT errors; they are valid canary verdicts returned as a normal response.
Error Format
Raises ToolError (TransportDownError) ONLY on an unexpected internal bug that prevents the canary from producing any verdict. Transport/block/parse failures of individual sub-checks map to inconclusive entries, not errors.
Inputs: no named parameters. Returns: checks, status, healthy, connector, +5 more
taobao_cardTaobao Item CardARead-onlyIdempotent
Fetch one Taobao item card.
Return Format
TaobaoCardResponse: {status, item_id, title, price_cny, shop_name, sales, description_images, url, tier_used, meta}. price_cny is None when the page hides it or prices by variant — never 0.
Error Format
ToolError: BadRequestError when no id can be extracted; NotFoundError when the item page reports itself gone; TransportDownError on login walls and CDP failures; ParserDriftError when a rendered card has neither title nor price.
Inputs: item_id_or_url (required). Returns: url, _meta, sales, title, +6 more
taobao_searchTaobao SearchARead-onlyIdempotent
Search Taobao listings, rendered in the operator's Chrome.
Return Format
TaobaoSearchResponse: {status, query, page, tier_used, count, items[], meta}. Items carry item_id (string), title, price_cny (None when hidden — never 0), shop_name, sales label, url.
Error Format
ToolError: TransportDownError when Chrome/CDP is unreachable or the page lands on a login wall (log into taobao.com in the scraping profile, then retry); ParserDriftError when a rendered page yields zero items, which means the DOM shape moved.
Inputs: query (required), page. Returns: page, _meta, count, items, +3 more
taobao_selfcheckTaobao Self-CheckARead-onlyIdempotent
Structural drift canary for Taobao (tri-state). Renders one live search page in the operator's Chrome and checks the extractor still finds items.
CDP down or a login wall is inconclusive (transport/session), NEVER
drift. Only a rendered page that yields zero items is drift.
Return Format
TaobaoSelfcheckResponse: {status, healthy, connector, checks, server_version, server_started_at, process_id}.
Inputs: no named parameters. Returns: checks, status, healthy, connector, +5 more
wb_cardWB Product CardsARead-onlyIdempotent
Fetch product card data from WB v4 API.
Returns prices in rubles, brand, supplier, supplier_rating, review_rating, feedbacks count, total_quantity for up to 100 SKUs.
Inputs: nm_ids (required), dest. Returns: dest, meta, count, items
wb_categoriesWB Catalog CategoriesARead-onlyIdempotent
Browse the Wildberries catalog tree.
Use this to discover what exists before searching: wb_search needs a query
string, but a shopper's question is often "what categories of humidifiers are
there?". Each node carries WB's own shard and query selectors, which are
the addressing needed to pull a category feed.
The live menu is ~800 KB, so responses are always a bounded slice — start at 'top', then expand the branch you care about.
Error Format
On validation or transport/parse failure, raises ToolError with a JSON message describing the error code and whether it is retryable.
Inputs: root, max_depth. Returns: A slice of the WB catalog tree. The full menu is ~800 KB, which is far too larg…
wb_category_productsWB Category Product ListingARead-onlyIdempotent
List the products in a catalog category, using the shard and query from wb_categories.
This closes the loop wb_categories opens. That tool hands back WB's own
shard and query selectors — the address of a category feed — and this is
the tool that fetches it. Browsing "what humidifiers exist" no longer requires
inventing a search phrase and hoping WB's relevance ranking agrees with you.
Items come back in the same shape wb_search and wb_card return, so a
category walk and a text search are directly comparable.
Not every category has a feed. WB marks those with the shard
blackhole, and several of its largest sections (smartphones, laptops, TV and
audio) are among them: they exist as navigation, not as a listable endpoint.
Asking for one raises a clear error naming the alternative rather than
returning an empty list, because an empty list here would read as "this
category has no products", which is false.
Inputs: query (required), shard (required), dest, page, +1 more. Returns: A page of products from one catalog category. ``items`` uses the same shape as…
wb_questionsWB Buyer Questions by imt_idARead-onlyIdempotent
Fetch buyer questions and seller answers by imt_id (root_id from wb_root_info).
Answers this tool exists for: buyers ask what a listing omits — "does it fit a 60cm opening", "is the cable included", "is this the 10A or the 16A model" — and the seller's reply is often the only public statement of that fact. Reviews describe the experience of owning the product; questions clarify what it actually is.
Keyed by imt_id, exactly like wb_reviews: every colour and size variant
shares one question pool. Passing an nmId returns an empty pool with no error,
so resolve the root id via wb_root_info first.
Inputs: imt_id (required), skip, limit, answered_only. Returns: meta, skip, imt_id, has_more, +4 more
wb_reviewsWB Reviews by imt_idARead-onlyIdempotent
Fetch reviews by imt_id (root_id from wb_root_info).
All product variants share one review pool, indexed by imt_id NOT nmId.
The WB feedbacks endpoint returns a fixed pool (~1000 most-recent reviews,
newest-first) and IGNORES server-side order params (verified Nov 2026), so
sort is applied CLIENT-SIDE over that pool. To surface complaints, "worst"
reorders the returned pool by lowest rating first.
Inputs: imt_id (required), sort, limit. Returns: meta, sort, imt_id, feedbacks, +5 more
wb_root_infoWB Root Info (imt_id)ARead-onlyIdempotent
Fetch full card metadata from basket CDN. Returns imt_id (root_id) for review pool.
All variants of one product share imt_id. Reviews indexed by imt_id, NOT by nmId.
Error Format
On validation or transport/parse failure, raises ToolError with a JSON message describing the error code and whether it is retryable.
Inputs: nm_id (required). Returns: meta, colors, imt_id, options, +4 more
wb_searchWB Catalog SearchARead-onlyIdempotent
Search WB catalog by text query.
Uses the lightweight search-goods.wildberries.ru/search endpoint which
returns just product IDs (no PoW protection, very high rate limit). Then
enriches via wb_card for full details.
Inputs: query (required), dest, page. Returns: result
wb_selfcheckWB Self-check (drift canary)ARead-onlyIdempotent
Structural drift canary for WB (tri-state: success / drift_detected / inconclusive). Probes EVERY endpoint family the tools depend on:
card — card.wb.ru v4 (wb_card / wb_search enrich): critical fields + price extract.
reviews — feedbacks2.wb.ru pool (wb_reviews): texts + productValuation.
search_goods— search-goods.wildberries.ru (wb_search STEP 1): the id list must still be a non-empty list of recoverable ids on a broad evergreen query, else wb_search silently returns no_results.
root_basket — basket-NN.wbbasket.ru (wb_root_info): imt_id must resolve, else wb_root_info AND wb_reviews (indexed by imt_id) break.
Tri-state (audit 2026-06-01): an http!=200 / network error / OOS baseline is
inconclusive (transport/baseline rot), NEVER drift. Only a reached-200 body
whose parser-critical anchor is gone is drift. Run on demand before trusting
a batch.
Inputs: no named parameters. Returns: checks, status, healthy, connector, +5 more
wb_sellerWB Seller Legal InfoARead-onlyIdempotent
Look up the registered legal entity behind a WB seller.
Answers "who actually ships this?" — the question a marketplace listing is worst at. Returns the registered name, tax ids (INN/KPP/OGRN) and legal address, which is how you tell an official brand store from a reseller trading under a lookalike name, and how you spot several storefronts sharing one entity.
Chain from wb_card: its supplier_id field feeds straight into this tool.
Error Format
On validation or transport/parse failure, raises ToolError with a JSON message describing the error code and whether it is retryable.
Inputs: supplier_id (required). Returns: Legal identity behind a WB supplier id. WB publishes the registered entity for…
yandex_cardYandex Market Product CardARead-onlyIdempotent
Fetch full detail for a Yandex Market product: prices, rating breakdown, reviews.
Two things here are hard to get anywhere else. The star distribution
(rating_stars) shows whether a 4.8 average hides a cluster of one-star
complaints. And reviews arrive with the card in one request, complete with
pros, cons and helpfulness votes.
Reviews are capped at the ~13 Yandex renders server-side; the remainder load through an API this connector deliberately does not touch.
Error Format
On validation or transport/parse failure, raises ToolError with a JSON message describing the error code and whether it is retryable.
Inputs: product_id (required), include_reviews. Returns: Full detail for one product, including its rating breakdown and reviews.
yandex_searchYandex Market SearchARead-onlyIdempotent
Search Yandex Market and return products with both prices, ratings and sellers.
Yandex Market aggregates many sellers per product, which makes it the best single source for "what does this cost right now" across the Russian market — including goods Wildberries and Ozon do not carry.
Each result reports price_rub (what anyone pays) and price_with_plus
(requires a Yandex Plus subscription, typically 25-30% lower). Prefer
price_rub when quoting a price to a person.
Note rating_count counts star ratings, not written reviews; the written
count is available per product via yandex_card.
Error Format
On validation or transport/parse failure, raises ToolError with a JSON message describing the error code and whether it is retryable.
Inputs: query (required), page, limit. Returns: meta, page, items, query, +4 more
yandex_selfcheckYandex Market SelfcheckARead-onlyIdempotent
Probe Yandex Market's search and card pages and report a tri-state verdict.
success — the SSR state parsed as expected. drift_detected — pages
load but no longer parse, so the extraction rules need updating.
inconclusive — a transport block, geo restriction or captcha prevented a
verdict; that says nothing about the parsers.
This matters more here than for a JSON API: SSR extraction is inherently coupled to Yandex's front-end, so drift is a question of when.
Inputs: no named parameters. Returns: checks, status, connector, process_id, +5 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 42 tools
Most tools are clearly separated by marketplace prefix and action type (search, card, selfcheck), so an agent can generally pick the right one. A few pairs could still cause hesitation, such as wb_card vs wb_root_info (both return card-like data) and detmir_category vs detmir_categories, though the descriptions clarify the distinction.
The dominant pattern is marketplace_prefix + action, and it is applied predictably to search/card/selfcheck across nearly every marketplace. There are minor inconsistencies like detmir_category vs detmir_categories for tree-browsing vs product-listing, wb_root_info and wb_category_products using noun phrases, and cross-cutting tools (compare_prices, compare_sources) not following the prefix convention.
At 42 tools, the namespace is large and exceeds the 25+ threshold for a heavy tool surface. The count is systematic because each marketplace gets multiple tools, but it still forces agents to scan a long, repetitive list, especially with nine near-identical selfcheck tools.
For a read-only marketplace intelligence server, the core workflow is well covered: every marketplace has search and card retrieval, WB has reviews/questions/categories/seller, Avito has seller profiles, and compare_prices ties it together. Some depth is uneven — Ozon lacks categories and seller lookup, Yandex lacks seller lookup, and several marketplaces lack reviews — but these are workable gaps rather than dead ends.
Related MCP Connectors
Unified MCP server for 70+ eCommerce platforms: products, orders, customers, and more.
Scrape product catalogs from any e-shop and match the same products across shops, without EAN or GTIN. Hosted remote MCP with OAuth. Pay per result from prepaid credit.
17 data tools in one MCP server, run on Apify: Google Shopping, Flights, Hotels, News, Images, Videos, Ads Transparency, Jobs and Trends; YouTube transcripts; AI visibility checks; Google Maps leads; App Store and Google Play reviews. Pay per result. Sign in with Apify (OAuth) or an API token.
Your agent needs marketplace data — what a product costs on Amazon and Google Shopping, who the sellers are, what reviewers actually complain about. **What you can ask for** • "What is this ASIN's price history, rating and seller list?" • "Who else sells this product, and at what price?" • "Pull the reviews for this product and group the complaints." • "What comes up on Google Shopping for this query in the UK?" • "Compare these products across both marketplaces." **How to use it** Point any MCP client at https://mcp.aisa.one/seo-merchant/mcp and sign in with OAuth — there is no key to create or paste. 22 tools: Amazon products, ASIN detail and sellers; Google Shopping products, product info, sellers and reviews; live and queued forms, with raw HTML where you need it. **It is also a door to the rest** The same login reaches 26 sources and 580+ operations. Price the product here, then ask the same agent what the brand's site traffic or ad spend looks like — without adding a second server. **What it costs** Finding and inspecting an operation is free. Running one is billed per call at API prices, with no seat and no monthly minimum, and every call takes max_price_usd so an agent cannot overspend by accident. **Where else it reaches** https://mcp.aisa.one/seo/mcp for all of it at once — rankings, keywords, backlinks, site health and AI-answer visibility across DataForSEO, Semrush and Ahrefs.
Related MCP Servers
- FlicenseBqualityDmaintenanceProvides MCP tools for searching and comparing products on Wildberries (and Ozon planned), including product search, detailed card retrieval, and review fetching, normalized for LLM consumption.32-
- FlicenseNot gradedqualityDmaintenanceMCP server that turns Wildberries marketplace into a toolkit for LLM agents, enabling product search, detailed card inspection, price history, reviews, and cross-product comparison.-
- AlicenseDqualityBmaintenanceEnables product search and price comparison across Ozon and Yandex Market via a read-only MCP server, returning normalized data with source URLs.61MIT
- AlicenseAqualityAmaintenanceMCP server that reads product data from Russian and Chinese marketplaces (Wildberries, Ozon, Yandex Market, Avito, etc.) — prices, availability, ratings, reviews, and seller details — with price comparison across sources. Requires no API keys; some sources use your Chrome session for anti-bot access.391,083 PyPI205MIT