Yarche MCP Server
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., "@Yarche MCP ServerНайди в Ярче гречку и покажи самую дешёвую"
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.
Yarche MCP Server
Сервер Model Context Protocol для интернет-магазина «Ярче!» (yarcheplus.ru). Даёт LLM доступ к каталогу: поиск товаров, цены, состав и КБЖУ. Регион по умолчанию — Томск.
Сервер использует неофициальный GraphQL API сайта, который может измениться без предупреждения. Проект не связан с «Ярче!». Доступ только на чтение: корзина и заказы не затрагиваются. Аккаунт и API-ключи не нужны, сервер сам получает анонимный гостевой токен.
Доступные инструменты
search_products— поиск товаров по тексту.query(string, обязательный): поисковый запросpage(integer, необязательный): номер страницы, с 1 (по умолчанию 1)limit(integer, необязательный): товаров на странице, максимум 48 (по умолчанию 20)
get_product— карточка товара: цена, наличие, рейтинг, состав, КБЖУ на 100 г, срок хранения и другие свойства.product_id(integer, обязательный): id товара из поиска или каталога
list_categories— дерево категорий каталога. У подкатегорий заполненparent_tree_id.get_category_products— товары категории.category_id(integer, обязательный): id категории изlist_categoriespage(integer, необязательный): номер страницы, с 1 (по умолчанию 1)limit(integer, необязательный): товаров на странице, максимум 48 (по умолчанию 20)
Состав и КБЖУ возвращаются, только если магазин заполнил их в карточке.
Установка
Требуется Python 3.10 или новее.
git clone https://github.com/shndo1337/yarche-mcp.git
cd yarche-mcp
python3 -m venv .venv
.venv/bin/pip install -r requirements.txtНа Windows используйте .venv\Scripts\ вместо .venv/bin/.
Проверить запуск можно командой .venv/bin/python server.py. Сервер работает через stdio и ждёт запросов клиента.
Related MCP server: Pyaterochka MCP Tool
Конфигурация
Во всех примерах укажите абсолютные пути к python из .venv и к server.py.
Claude Code
claude mcp add yarche -- /путь/к/yarche-mcp/.venv/bin/python /путь/к/yarche-mcp/server.pyClaude Desktop
Добавьте в claude_desktop_config.json и перезапустите приложение.
Linux:
~/.config/Claude/claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"yarche": {
"command": "/путь/к/yarche-mcp/.venv/bin/python",
"args": ["/путь/к/yarche-mcp/server.py"]
}
}
}Cursor, Cline и другие клиенты
Подойдёт тот же блок mcpServers.
Примеры запросов
«Найди в Ярче гречку и покажи самую дешёвую»
«Какой состав и сколько калорий в сгущённом молоке Волоконовское?»
«Что есть в категории Овощи?»
Как это работает
Сайт обращается к GraphQL API api.yarcheplus.ru. Гостевой токен выдаёт GET /api/auth/token?shop_code=yarche; при ответе 401 сервер запрашивает новый токен. Каталог привязан к региону по умолчанию (Томск).
Ограничения
Нет сортировки на стороне магазина.
Нельзя выбрать другой адрес доставки.
Лицензия
MIT, см. LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Merchant product catalogs for AI agents: price, availability, specs, variants, buy links. Read-only.
RU merchant catalog for AI agents: live price, stock, choices and controlled checkout. Not x402.
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
- AlicenseAqualityAmaintenanceEnables AI assistants to search products, manage a cart, and place orders with Yandex Lavka, requiring explicit human confirmation before charging.2222MIT
- AlicenseCqualityDmaintenanceEnables AI assistants and MCP clients to search Pyaterochka stores, browse categories, find products with filters for price, brand, and promotions, and retrieve product details, store hours, and promotion conditions through the exposed MCP tools.126MIT
- 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.25MIT
- AlicenseAqualityCmaintenanceEnables LLM agents to search and retrieve live product data from L'Etoile (letu.ru), including honest price breakdowns with Club Card discounts separated, per-city delivery and store stock, ratings and reviews, and seller legal details, via plain HTTP without a browser.5MIT