by d3d0n
Order groceries from Yandex Lavka Uzbekistan by just asking your AI assistant. MCP server: shopping lists, repeat orders, catalog, checkout.
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/d3d0n/better-lavka-mcpGuides for using ai agents skills like better-lavka-mcp.
See how better-lavka-mcp compares with popular alternatives.
An MCP server for Yandex Lavka in Uzbekistan. Connect it to Claude, Codex, OpenCode or any other MCP client, and your assistant can find groceries, fill the cart and place the order for you.
You sign in once by scanning a QR code in the Yandex app. Everything runs on your computer.
Sunday restock. You type "repeat my last order, deliver home". Potatoes, chicken, cottage cheese and the rest go back in the cart; the flatbread is sold out today, and the assistant says so. It shows the total, you say "yes", and breakfast is on its way.
Recipe to cart. You paste a plov recipe and say "get everything for four people". The assistant turns it into a list and puts rice, carrots, lamb, oil and cumin in the cart in one request. Where there are several kinds and you haven't bought one before, it asks which; anything out of stock comes back with a suggestion to swap.
Label check. "How many calories are in this bread?" The assistant opens the product card: 240 kcal per 100 g, 7.7 g protein, three days of shelf life.
| ✅ Works today | 🚧 Not yet |
|---|---|
| Sign in with a QR code from the Yandex app | Live order tracking (courier, ETA) |
| Your address and card are remembered | Scheduled delivery slots |
| Product search, catalog by category, product cards with nutrition, shopping lists, cart editing | |
| Order history with items, repeat an order, order details | |
| Order with a chosen card, payment status and 3-D Secure link, cancel an order | |
| Browse the RU and KZ storefronts | Ordering in Russia and Kazakhstan |
You need uv. Add this to your MCP client:
{
"mcpServers": {
"lavka": {
"command": "uvx",
"args": ["better-lavka-mcp"]
}
}
}
Or with Claude Code: claude mcp add lavka -- uvx better-lavka-mcp.
Ask the assistant to call start_login, scan the QR in the Yandex app, and you're in. Per-client examples (Claude Code, Claude Desktop, OpenCode, Oh My Pi) are in docs/clients.md.
From source:
git clone https://github.com/d3d0n/better-lavka-mcp.git && cd better-lavka-mcp
mise trust && mise install
mise run install # Python 3.12 + deps from uv.lock
mise run test # offline suite, no network, no money
Then point the client at /absolute/path/to/better-lavka-mcp/.venv/bin/better-lavka-mcp.
Uninstall: uvx better-lavka-mcp uninstall deletes the sign-in, remembered address and card, and everything else the server stored, then prints how to remove the client entry and the package.
Settings:
YANDEX_LAVKA_REGION — startup country: UZ (default), RU or KZ. select_country changes it for this process only.YANDEX_SESSION_FILE — where the session cookies live.BETTER_LAVKA_MCP_OUTPUT=json — tools return raw JSON instead of the default short text. The text says what happened, lists the data, and tells the assistant what to do next; JSON is handy for scripts and debugging.Products, orders and categories show up as short ids like amber fox wave instead of 44-character hex — about 5 tokens instead of 23. The same product always gets the same words, and tools accept either form.
Twenty-six tools with plain verb + noun names, so the assistant picks the right one on the first try.
| Tool | What it does |
|---|---|
use_address |
Pick the delivery address by its saved name ("Home", "Work"); remembered next time |
search_products |
Find products and prices |
list_categories |
The catalog: groups and categories |
get_category_products |
Shelves and products in one category |
get_product |
Product card: price, pack, nutrition, ingredients, shelf life |
add_to_cart |
Add a whole shopping list in one go |
repeat_order |
Put a past order back into the cart |
get_cart |
What's in the cart, delivery and total |
set_cart_quantity |
Change or remove one item |
preview_order |
Address, card, items and total before ordering |
submit_order |
Place the order |
get_payment_status |
Payment status and 3-D Secure link |
list_order_history |
Past orders with their items |
get_order |
One past order in full |
cancel_order |
Cancel an order |
list_active_orders |
Whether any orders are currently tracked |
list_saved_addresses |
Your saved addresses |
list_saved_cards |
Your saved cards |
start_login · get_login_status · cancel_login |
Sign in with a QR code |
search_addresses |
Find an address by text |
count_saved_addresses |
How many addresses are saved |
get_storefront_status |
Is Lavka open, delivery time |
select_country |
Switch between UZ, RU and KZ |
reconcile_order_attempt |
Unblock ordering after a dropped connection |
flowchart LR
C[MCP client] -- stdio --> S[app.py<br>tools · text output · country gate]
S --> T[tools/<br>storefront · catalog · cart · account · orders]
T --> A[auth/<br>QR login]
T --> K[client.py · cart.py · payment.py]
T --> R[region.py<br>RU/KZ anonymous]
T --> O[orders/<br>preview · guard · submit · cancel]
O --> DB[(SQLite<br>tokens · guard)]
A --> F[(session file)]
K & O & R --> L[Lavka web API]
Session and order state live under ~/.local/share/yandex-lavka-mcp/ (on Windows, %LOCALAPPDATA%\better-lavka-mcp).
src/better_lavka_mcp/
app.py — the MCP server, text rendering hook, country and address statetools/ — the tools, grouped by storefront, catalog, cart, account and ordersclient.py — Lavka web API client and the session filerender.py, aliases.py — text output and short three-word idsauth/ — QR sign-incart.py, payment.py, region.py — cart writes, saved cards and payment status, RU/KZ storefrontsorders/ — preview, submit, cancel, guards, trackingpaths.py, preferences.py, uninstall.py — data folder, remembered choices, uninstallbetter-lavka-mcp is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by d3d0n. Order groceries from Yandex Lavka Uzbekistan by just asking your AI assistant. MCP server: shopping lists, repeat orders, catalog, checkout. It has 58 GitHub stars.
better-lavka-mcp's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/d3d0n/better-lavka-mcp" and add it to your Claude Code skills directory (see the Installation section above).
better-lavka-mcp is primarily written in Python. It is open-source under d3d0n on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh better-lavka-mcp against similar tools.
No comments yet. Be the first to share your thoughts!