selver-mcp
This server provides tools to search Selver.ee and manage a server-side guest cart, with optional browser synchronization via chrome-devtools.
Search Selver.ee product catalog using Estonian terms; returns prices, nutrition per 100g, and stock status.
Add products to the Selver.ee guest cart by SKU and quantity, creating a cart if none exists.
View the current Selver.ee cart contents and total price.
Remove products from the Selver.ee cart by SKU.
Cart actions are server-side only; if a browser is open on selver.ee/cart, you must also dispatch cart/addItem or cart/removeItem via chrome-devtools-mcp to keep it in sync.
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., "@selver-mcp Add 2 black breads to my Selver cart and open it"
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.
selver-mcp
Let Claude shop at Estonian online grocery stores for you: Selver, Rimi, and Barbora. Search products, compare prices across stores, build a shopping cart in one or several stores, and open it in your browser ready for checkout - all from a conversation with Claude.
Coop is not included: its Tallinn, Tartu, and Pärnu e-shops run on Wolt and Bolt Food; only Haapsalu has its own web shop.
Works with: Claude Desktop, Claude Code, and any MCP-compatible client.
What you get
You tell Claude something like "add two loaves of bread and half a kg of cucumber to my Selver cart and open it" and Claude:
Searches the stores you name with each store's own search engine
Picks the best options and sizes quantities correctly (weight goods in kg, fixed steps)
Builds the cart: on Selver's servers as a guest cart; on Rimi and Barbora inside your browser tab
Opens Chrome with the cart visible, ready for you to log in and pay
Or ask "price this list in Selver and Rimi and tell me which is cheaper" and Claude runs the comparison before building anything.
No credentials leave your machine. selver-mcp never sees your store passwords. Barbora requires you to log in in the browser tab before items can be added.
Related MCP server: RappiMCP
A real example: Turkish high-protein meal prep
Once installed, you can chain selver-mcp with Claude's normal capabilities. A real session:
1. The prompt (in Estonian - works equally well in English):

Otsi netist 3 Türgi-pärast, valgurohket retsepti
Otsi Selverist vajaminevad koostisosad (kui täpne on puudu, siis asenda sobivaga)
Pane neid ostukorvi koguses, et saaksin iga rooga 5 portsionit, igas portsjonis ~50g valku
kirjuta lõplikud retseptid mulle siia chati
2. Claude's reply - real Estonian recipes with measured ingredients and steps:

3. The cart, populated and ready for checkout - opens automatically in Chrome after Claude finishes reasoning:

All in one conversation. Claude handles recipe research, ingredient mapping to real SKUs (substituting when exact matches are out of stock), weight-based quantity math, and the browser orchestration that shows you the cart ready to check out.
Easiest install: let your AI agent do it
If you already have an AI coding agent with shell and filesystem access - Claude Code works out of the box, Claude Desktop works if you have a filesystem or shell MCP installed - the fastest install is to paste this prompt:
Please install selver-mcp from https://github.com/martparve/selver-mcp following its README. Set up both MCPs (selver-mcp and chrome-devtools) for my client, and do the post-install step for getting the cart workflow into context (skill file for Claude Code, memory for Claude Desktop). Then tell me to restart.
The agent will clone the repo, run npm install && npm run build, wire up the MCPs in your config file, and handle the workflow-in-context step appropriate for your client.
If your agent doesn't have those permissions (browser-only ChatGPT, Claude.ai web, etc.), fall back to the manual steps below.
Prerequisites
You need Node.js 18 or newer. Check if you have it:
node --versionIf you see v18.x.x or higher, you're set. Otherwise:
macOS: easiest is Homebrew →
brew install nodeWindows / Linux / any OS: download from nodejs.org (pick the LTS version)
Install - Claude Code
1. Download selver-mcp
git clone https://github.com/martparve/selver-mcp.git ~/selver-mcp
cd ~/selver-mcp
npm install
npm run build2. Connect it to Claude Code
claude mcp add selver-mcp node ~/selver-mcp/dist/index.js3. Install the browser helper
selver-mcp builds your cart on Selver's servers, but to actually see and check out the cart, Claude needs a browser-control helper called chrome-devtools-mcp:
claude mcp add chrome-devtools --scope user -- npx -y chrome-devtools-mcp@latest4. Install the skill (optional)
The server already sends the workflow to Claude Code as MCP instructions. The skill adds examples and pitfalls on top.
mkdir -p ~/.claude/skills/selver-cart
cp ~/selver-mcp/skills/selver-cart/SKILL.md ~/.claude/skills/selver-cart/SKILL.md5. Restart Claude Code and try it
Lisa mulle Selverist 2 pätsi musta leiba ja ava cart
or
Add 2 black breads from Selver to my cart and open it in the browser
Claude should search, add, open a Chrome window showing your cart, and tell you to log in.
Install - Claude Desktop
1. Download selver-mcp
Same as Claude Code step 1.
2. Find your Claude Desktop config file
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
If the file doesn't exist, create it.
3. Add both MCPs to the config
{
"mcpServers": {
"selver-mcp": {
"command": "node",
"args": ["/Users/YOUR_NAME/selver-mcp/dist/index.js"]
},
"chrome-devtools": {
"command": "npx",
"args": ["-y", "chrome-devtools-mcp@latest"]
}
}
}Replace /Users/YOUR_NAME/selver-mcp with the actual path where you cloned the repo. On Windows this looks like C:\\Users\\YourName\\selver-mcp (double backslashes).
4. Restart Claude Desktop
That is all. The server tells Claude Desktop the full workflow itself (MCP server instructions), so no memory or skill file is needed.
5. Try it
Lisa mulle Selverist 2 pätsi leiba ja ava cart
The first time MCP tools are used, Claude Desktop will ask permission - click Allow.
How to verify it works
Ask Claude in a new chat:
What Selver tools do you have available?
Claude should list eight tools: search_products, get_products, compare_prices, add_to_cart, view_cart, remove_from_cart, clear_cart, get_browser_sync_script. Plus a bunch of chrome-devtools tools.
Usage examples
Build a shopping cart and open the browser:
Leia mulle Selverist 5 erinevat juustu ja ava cart brauseris.
Compare stores:
Pane see nimekiri kokku Selveris ja Rimis ja ütle, kus on odavam: 2 kanafileed, kilo tomateid, 2 täispiima.
Shop at Rimi:
Lisa Rimist 0,6 kg kurki ja 2 piima carti ja ava see.
Just search, don't commit:
Mis on praegu Selveris odavaim kreeka jogurt?
Remove items:
Võta kurk ostukorvist välja.
Start fresh:
Tühjenda mu Selveri cart.
Tips
Use Estonian search terms:
leib(bread),piim(milk),muna(egg),kanafilee(chicken fillet)The cart persists between conversations - pick up tomorrow where you left off
Weight goods (cucumber, meat, loose vegetables) are ordered in kg in fixed steps, usually 0.3 kg. Claude handles the math and the server snaps odd amounts up to the next valid step.
Troubleshooting
"The browser is already running" error
Left over from a previous session. Close any orphan Chrome windows manually, or run:
pkill -f 'chrome-devtools-mcp/chrome-profile'Cart is empty in the browser even though Claude added items
The browser step was skipped. Remind Claude: "call get_browser_sync_script and run the replay_script in the selver.ee cart tab".
"Toote samm on muutunud" error when adding weight goods
The quantity was not a multiple of the product's step. add_to_cart normally prevents this; if it appears, ask Claude to resend using the product's qty_step.
Items marked out of stock
in_stock comes from Selver's live stock service for the e-shop. Ask Claude for a substitute.
npm or claude command not found
Node.js (see Prerequisites) or the Claude Code CLI is not installed or not on your PATH.
Updating
cd ~/selver-mcp
git pull
npm install
npm run buildThen restart Claude Code or Claude Desktop. If you copied the skill file, copy it again.
Uninstall
Claude Code:
claude mcp remove selver-mcp
claude mcp remove chrome-devtools
rm -rf ~/selver-mcp
rm -rf ~/.claude/skills/selver-cartClaude Desktop: remove the selver-mcp and chrome-devtools entries from claude_desktop_config.json and delete ~/selver-mcp.
Your guest cart token lives at ~/.selver-mcp/cart.json. Delete that to start completely fresh.
For developers
Tools
Every tool takes a store (selver, rimi, barbora); search tools take stores.
Tool | Description |
| Search one or more stores with each store's own engine. Returns price, discount, unit price, |
| Same product record for a list of SKUs in one store. |
| Price a shopping list ( |
| Selver: puts lines in the guest cart server-side ( |
| Selver: lines and grand total. Rimi/Barbora: a read script for the tab. |
| Selver: server-side. Rimi/Barbora: returns a script for the tab. |
| Selver: steps and JavaScript that make the server cart visible in a browser. Rimi/Barbora: steps to open the store tab and read the cart. |
Store adapters
Store | Search | Cart | Notes (verified October 2026) |
Selver | Klevu + Vue Storefront catalog + live stock | Server-side guest cart, token held by the MCP, replayed into the SPA | Bag fee 0.50 €. Nutrition available. |
Rimi | Server-rendered search page parsed from HTML ( | Guest cart bound to an httpOnly Laravel session: in-page | Minimum order 20 €. Unavailable items show "Ei ole saadaval". |
Barbora | Product list embedded in the search page ( | No guest cart; in-page calls to | 4 € fee under 39.99 €. Many promo prices need the loyalty card. Rate-limits bursts with empty 200 pages, so requests are throttled to 2 in parallel with retries. Cart JSON shape unverified until a logged-in run. |
Coop | not supported | ecoop.ee redirects to Wolt/Bolt; Haapsalu runs WooCommerce (Store API, guest cart) and could be added on request. |
How Selver's stack works (verified October 2026)
Search: the website's search box uses Klevu (
POST https://eucs3v2.ksearchnet.com/cs/v2/searchwith a public client-side key). The Vue Storefront Elasticsearch proxy at/api/catalog/vue_storefront_catalog_et/product/_searchholds the full product records (nutrition, unit prices, discounts,product_weight_step) but itsq=ranking is poor, so selver-mcp uses Klevu for ranking and the catalog for details. The catalog is the fallback when Klevu is down.Stock: the catalog index's stock fields are stale. Live availability and ordering rules come from
GET /api/stock/list?skus=A,B,C(literal commas; one unknown SKU fails the whole call).Weight goods:
product_weight_stepis a string ("0.30"). Quantities are in kg and must be multiples of the step, otherwise Selver answersToote samm on muutunud (0.3).Cart:
/api/cart/{create,update,pull,delete,totals}.updatewithoutitem_idadds to an existing line; withitem_idit sets the quantity.pullprices exclude VAT;totalshas the real numbers and the packaging fee.Browser: the Vue 2 SPA keeps its own cart state and ignores a guest server cart. The replay script sets the token in
localStorageand the store (cart/cart/SRV_TOKEN), then replays/api/cart/pullitems throughcart/getProductVariant+cart/addItem {forceServerSilence: true}, fixes quantities withcart/updateQuantity, removes stale lines, and callscart/syncTotals. When the user logs in, Vue Storefront merges the guest cart into their account.
Build from source
npm install # install dependencies
npm run build # compile TypeScript to dist/
npm test # unit tests against captured API fixtures (tests/fixtures)
npm run dev # watch modeArchitecture
src/
├── index.ts # MCP server entry point (stdio transport)
├── core/
│ ├── types.ts # Product, StoreAdapter, ServerCartApi, BrowserCartApi
│ ├── qty.ts # quantity snapping and rounding
│ └── http.ts # throttled fetch with retries and bot-challenge detection
├── tools/
│ ├── search.ts # search_products, get_products, compare_prices
│ └── cart.ts # add_to_cart, view_cart, remove_from_cart, clear_cart, get_browser_sync_script
├── stores/
│ ├── registry.ts # store id → adapter
│ ├── selver/ # Klevu search, catalog hydration, live stock, guest cart, SPA replay script
│ ├── rimi/ # HTML search parser, in-page cart script
│ └── barbora/ # embedded-JSON search parser, in-page cart script
└── storage/
└── cart-token.ts # ~/.selver-mcp/carts.json (per-store server cart tokens)Available Tools
4 toolsadd_to_cartA
Add products to Selver.ee guest cart by SKU. Creates a new cart if none exists. Server-side only - if a browser is open on selver.ee/cart, you must ALSO dispatch cart/addItem via chrome-devtools-mcp to keep the browser in sync (see README).
Inputs: items (required).
remove_from_cartA
Remove products from Selver.ee cart by SKU. Server-side only - if a browser is open on selver.ee/cart, you must ALSO dispatch cart/removeItem via chrome-devtools-mcp to keep the browser in sync (see README).
Inputs: items (required).
search_productsA
Search Selver.ee product catalog. Returns products with prices, nutrition per 100g, and stock status. Use Estonian terms for best results (e.g. "kana" for chicken, "riis" for rice, "lohe" for salmon).
Inputs: query (required), limit.
view_cartA
View current Selver.ee cart contents and total price.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a singular, clear purpose: searching products, adding to cart, viewing cart, and removing from cart. There is no overlap or ambiguity between the tool names and their descriptions.
All tool names follow the consistent verb_noun snake_case pattern: search_products, add_to_cart, view_cart, remove_from_cart. This makes the toolset highly predictable and easy to navigate.
With only 4 tools, this is a tightly scoped server for product search and cart management. Each tool is essential and there are no redundant or superfluous additions.
The server covers the core cart lifecycle: search, add, view, and remove. However, it lacks an update quantity or clear cart operation, which would be a natural addition for full cart management, but the existing tools are sufficient for basic workflows.
Maintenance
Related MCP Connectors
Search live store shelves, verify delivery windows, and run instant AI agent checkouts.
Live product discovery for AI shopping agents, with shopper-approved retailer handoff.
Turn any shopping list into a ready-to-checkout grocery cart across 26 European supermarkets.
Live product search for AI agents across Shopify merchants and major retailers.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to search for products, manage shopping carts, and place grocery orders on Instacart using browser automation. It includes comprehensive tools for store discovery, product searching, and secure checkout with explicit user confirmation.1176 npm11MIT
- AlicenseAqualityDmaintenanceEnables Claude to browse stores, search products, manage the cart, and open checkout on Rappi Chile through natural language, automating grocery and delivery purchases.121MIT
- FlicenseNot gradedqualityDmaintenanceEnables shopping at Tiv Taam grocery store through Claude, including recipe parsing and cart population.-
- AlicenseNot gradedqualityBmaintenanceEnables Claude to search products, manage shopping carts, and compare prices across Continente, Pingo Doce, and Auchan, with optional skills for weekly meal planning and finding the cheapest basket.MIT