Yandex Lavka Uzbekistan MCP
This server lets you browse Lavka storefronts, manage a cart, and handle login, addresses, cards, order previews, submission, reconciliation, and cancellation with safety checks.
Select a region and set or detect delivery coordinates; check storefront service status.
Suggest addresses, count saved addresses, and list saved addresses with private details and selection indexes.
Search products and read carts/checkout quotes at specific coordinates, using the UZ session or anonymous RU/KZ storefronts.
Edit cart item quantities absolutely, including removal with quantity 0, and list saved cards by masked suffix only.
Read authenticated order history and the active order-tracking feed.
Stage an exact checkout preview using a saved-address index and card suffix, then submit a paid order only after explicit confirmation of that preview.
Reconcile an uncertain checkout and cancel an exact order only after explicit confirmation.
Start, poll, and cancel QR login, and verify the Lavka session without revealing credentials.
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., "@Yandex Lavka Uzbekistan MCP Search for milk and eggs near my Tashkent address, then show my cart total."
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.
What is it
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.
Related MCP server: wegmans-mcp
Stuff you do with it
Say where once. "Deliver home" — the assistant picks your saved address and remembers it next time.
Ask what's on the shelf. "Is there milk at Chilonzor?" — milk and its price at your Lavka.
Shopping list in one message. "Milk, bread, six eggs" — all of it lands in the cart in one go. It takes what you bought before; for anything new it shows the options and asks which one.
Browse the shelves. "What's in the dairy section?" — categories and shelves with prices, like in the app.
Same as last time. "Repeat my last order" — everything from your last order goes back into the cart at today's prices, minus what's sold out.
Read the label. "How many calories are in this bread?" — calories, protein, fat, carbs, ingredients and shelf life from the product card.
Say yes. The assistant shows address, items, total and card; you agree, the order goes out, and if the bank wants 3-D Secure you get the link.
Check on orders. "What did I order last time?", "Cancel my order."
Peek at Russia and Kazakhstan. Browse the RU and KZ storefronts and search their products.
Three little stories
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
✅ 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 |
Getting started
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 moneyThen 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),RUorKZ.select_countrychanges 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.
Tools
Twenty-six tools with plain verb + noun names, so the assistant picks the right one on the first try.
Tool | What it does |
| Pick the delivery address by its saved name ("Home", "Work"); remembered next time |
| Find products and prices |
| The catalog: groups and categories |
| Shelves and products in one category |
| Product card: price, pack, nutrition, ingredients, shelf life |
| Add a whole shopping list in one go |
| Put a past order back into the cart |
| What's in the cart, delivery and total |
| Change or remove one item |
| Address, card, items and total before ordering |
| Place the order |
| Payment status and 3-D Secure link |
| Past orders with their items |
| One past order in full |
| Cancel an order |
| Whether any orders are currently tracked |
| Your saved addresses |
| Your saved cards |
| Sign in with a QR code |
| Find an address by text |
| How many addresses are saved |
| Is Lavka open, delivery time |
| Switch between UZ, RU and KZ |
| Unblock ordering after a dropped connection |
Under the hood
flowchart LR
C[MCP client] -- stdio --> S[server.py<br>tools · country gate]
S --> A[auth/<br>QR login]
S --> K[cart · payment]
S --> R[region.py<br>RU/KZ anonymous]
S --> 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/.
src/better_lavka_mcp/
server.py— the toolsauth/— QR sign-incart.py,payment.py,region.py— cart, saved cards, RU/KZ storefrontsorders/— preview, submit, cancel, trackingconstants.py,errors.py— shared bits
What it is not
Not official. Not affiliated with or endorsed by Yandex. The API is undocumented and may change.
Not a payment processor. It never sees full card numbers.
Available Tools
21 toolsactive_ordersA
Read the active tracking feed; an empty feed is not order history or reconciliation.
Inputs: no named parameters.
cancel_orderB
Cancel the exact order once only after explicit user confirmation. Refund status is unknown.
Inputs: order_id (required), explicit_confirmation (required).
checkout_previewB
Read a cart quote only; no address/card selection, confirmation, order or payment.
Inputs: latitude (required), longitude (required).
delivery_locationB
Choose coordinates for subsequent calls; no account or server state is changed.
Inputs: country (required), latitude (required), longitude (required).
detect_delivery_locationC
Use a single saved favorite or explicitly indexed favorite; coordinates are private.
Inputs: country (required), address_index.
get_cartB
Read the cart for these coordinates; does not select an address.
Inputs: latitude (required), longitude (required).
login_startA
Start login and return a QR image plus its short-lived link. Share only with the intended user; client logs may contain the link. Set replace_existing only with approval.
Inputs: replace_existing.
order_historyC
Read authenticated order history; older_than is a timezone-aware ISO timestamp.
Inputs: count, older_than.
order_previewA
Stage an exact checkout preview for a saved-address index and four-digit card suffix. Not an order.
Inputs: card_suffix (required), address_index (required).
qr_login_cancelA
Cancel pending login and delete its QR image, regardless of selected region.
Inputs: no named parameters.
qr_login_statusA
Poll QR login and verify Lavka session; never reveals credentials.
Inputs: no named parameters.
reconcile_checkoutA
Acknowledge an uncertain checkout after checking official history and payment. This cannot rule out delayed processing or duplicates; never retries or places an order.
Inputs: history_checked (required), payment_checked (required), explicit_confirmation (required), no_request_in_progress (required), +1 more.
saved_address_countA
Count saved favorite addresses without exposing their details.
Inputs: no named parameters.
saved_addressesA
List saved addresses with selection indexes; includes private address details.
Inputs: no named parameters.
saved_cardsA
List available saved cards by masked suffix only; this does not select one.
Inputs: latitude (required), longitude (required).
search_productsC
Search at supplied coordinates. RU/KZ use isolated anonymous storefronts; UZ uses the existing session.
Inputs: query (required), limit, country, latitude, +1 more.
select_regionB
Select the region for this stdio server session; does not place orders.
Inputs: country (required).
service_statusC
Get homepage storefront status. Does not confirm a specific address.
Inputs: country.
set_cart_itemB
Change cart item to an absolute quantity (0 removes). Explicit cart write; price must be from current search. Never retries ambiguous writes.
Inputs: price (required), latitude (required), quantity (required), longitude (required), +1 more.
submit_orderA
Place one paid order only after explicit user confirmation of the exact preview; never retries. Outcomes may be uncertain.
Inputs: preview_token (required), confirmed_total_uzs (required), explicit_confirmation (required).
suggest_addressC
Suggest addresses; never changes the account's delivery address.
Inputs: query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 21 tools
Most tools target distinct lifecycle steps, but several pairs blur: checkout_preview vs order_preview, get_cart vs checkout_preview, and delivery_location vs detect_delivery_location. Detailed descriptions resolve these for a careful agent, but the names alone are not fully distinct.
All names use snake_case, but the convention is mixed: verb-first names such as submit_order, get_cart, and search_products coexist with noun-first names such as order_preview, saved_addresses, and qr_login_status. The pattern is readable but not predictable.
At 21 tools, the surface is on the heavy side for a grocery-ordering MCP. The multi-step flow justifies many operations, but tools like saved_address_count and the separate location-detection tools feel consolidatable, making the count borderline rather than clearly well-scoped.
Coverage is strong across authentication, region/location, saved addresses, cards, product search, cart, checkout preview, order submission, cancellation, reconciliation, and order history. Minor gaps remain around saved-address/card management and order-detail retrieval, but core workflows have no obvious dead ends.
Maintenance
Related MCP Connectors
Search multi-merchant supply, checkout, and track orders via MCP.
Remote MCP for Living Stack offer discovery and buyer-authorized checkout preparation.
Remote MCP for Universal Cart merchant readiness MCP, structured receipts, audit logs, and reviewer-
Real-time data APIs for 50+ commerce, grocery, social and maps platforms over one OAuth MCP server
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables users to search grocery products and stores, manage a cart, sync purchase history, and predict needed items through MCP tools. It also stores food preferences as server instructions so connected agents can respect them automatically.1MIT
- AlicenseNot gradedqualityBmaintenanceEnables product search and authenticated grocery shopping-list management, including adding items, setting quantities, removing items, emptying the list, and reading purchase history.1MIT

PurchasePlus MCPofficial
AlicenseNot gradedqualityCmaintenanceEnables MCP-capable clients to sign in with OAuth and perform purchaser tasks such as browsing catalogues, checking inventory, managing stocktakes and recipes, drafting requisitions, updating buy lists, exporting reports, and processing invoices. It also supports supplier access for listing and inspecting connections, catalogues, products, purchase orders, invoices, and entitled reports.MIT- AlicenseNot gradedqualityBmaintenanceEnables AI agents to search, compare, and create orders for daily consumer goods through MCP, with a handoff checkout flow where users complete payment themselves.MIT