Leclerc Drive MCP server
MCP server for E.Leclerc Drive — search products, manage cart, and order groceries from Claude
19 stars61 downloads/wk
Reviews
Write oneNobody has reviewed Leclerc Drive yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Leclerc Drive tools (8, 2 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
add_to_cartAjoute un produit au panier. Utilise l'id retourné par search_product.
find_storesRecherche les drives E.Leclerc proches d'un code postal ou d'une ville, triés
get_cartAffiche le contenu complet du panier avec le total.
get_storeAffiche le magasin actuellement sélectionné (id, host).
remove_from_cartwrite actionRetire complètement un produit du panier.
search_productRecherche des produits dans le catalogue Leclerc Drive du magasin configuré.
set_storeSélectionne le magasin actif (et le mémorise pour les prochaines sessions).
update_quantitywrite actionModifie la quantité d'un produit déjà présent dans le panier.
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- Code scan19 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 77 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
What the publisher says
From the Leclerc Drive repository's README, as published. We do not edit it. Read it on GitHub
mcp-leclerc-drive
The first open-source MCP server for E.Leclerc Drive — let Claude search products, manage a cart, and prepare grocery orders natively, instead of clicking through the website.
🟢 v0.3 — working & DataDome-proof. All eight tools are validated end-to-end against the live site. Requests run inside a real Chrome driven over CDP, so they pass DataDome's bot protection (which blocks headless clients and cookie-replay). You log into Leclerc Drive once in the window that opens; the session persists. See docs/api-capture.md for the reverse-engineered API.
Why
E.Leclerc Drive has no public API. Today the only way to automate it is browser automation — slow (~3–5 s per item) and fragile (blind clicks). This project exposes the underlying operations as proper MCP tools so any MCP client (Claude Desktop, Claude Code) can drive it directly.
Tools
Status
- [x] Reverse-engineer Leclerc Drive endpoints (search / cart / store locator — see docs/api-capture.md)
- [x] All 8 tools validated end-to-end against the live store
- [x] Runtime store selection with persistence (findstores / setstore)
- [x] v0.3: DataDome-proof via real-Chrome CDP driving (beats active bot-challenge that killed cookie-replay) ✅
- [x] Published to npm + MCP registry
- [ ] Checkout / delivery-slot booking
Requirements
- Node.js ≥ 22 (uses the built-in WebSocket)
- Google Chrome installed (the server drives it via CDP)
Install (development)
git clone https://github.com/skunkobi/mcp-leclerc-drive.git
cd mcp-leclerc-drive
npm install
npm run buildHow auth works (real Chrome via CDP)
Leclerc Drive is protected by DataDome, which blocks non-browser traffic (headless clients, cookie-replay) with HTTP 403 once it escalates to active challenge mode. The only thing that reliably passes is a real browser that executes the challenge. So that's what the server uses:
dedicated, persistent profile (~/.mcp-leclerc-drive/chrome) and a debug port — no automation flags, so navigator.webdriver stays false.
- On first request it launches your installed Google Chrome with a
profile keeps you logged in across restarts.
- A Chrome window opens. Log into Leclerc Drive once in it. The persistent
cookies, TLS fingerprint, and solved DataDome challenge — and passes.
- Every request runs inside that page via CDP, so it carries the browser's
No cookies are read or stored; there's no Keychain prompt. The server must run on the same machine as Chrome, and a window does open (headless is detectable by DataDome — don't enable it unless you know the risk).
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Install directly
Runs npx -y mcp-leclerc-drive on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add leclerc-drive -- npx -y mcp-leclerc-drive
Leclerc Drive: common questions
- Is Leclerc Drive MCP server safe?
- Mostly: it is graded B (78/100). Read the Leclerc Drive safety report
- How do I install Leclerc Drive?
- It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
- Does Leclerc Drive need an API key?
- Yes. The registry entry asks for
LECLERC_COOKIE. - Is Leclerc Drive maintained?
- The last commit was 77 days ago (2026-07-11). The latest release is v0.3.0.
- What can I use instead of Leclerc Drive?
- Servers from other publishers that do the same job: Shopware MCP server, WebCake Storefront MCP server and Yandex Lavka MCP server. Compare all Leclerc Drive alternatives.
Alternatives to Leclerc Drive
Same job from other publishers: the closest match first, then the best rated.
- ShopwareQuery and safely manage a Shopware 6 shop: products, orders, customers, stock, audits, reports.not reviewedEstablishedB
- WebCake StorefrontBuild pages and manage products, orders, and content on the WebCake/StoreCake storefront builder.not reviewedGrowingA
- Yandex LavkaUnofficial MCP server for ordering Yandex Lavka groceries: search, cart, checkout.not reviewedGrowingA
- A1 Yandex KIT MCPA1 Yandex KIT MCP server for the Yandex KIT e-commerce API: products, orders, discounts, webhooks.not reviewedGrowingB
- Cn CommerceRead-only merchant data from 8 Chinese e-commerce platforms: orders, products, after-sales, adsnot reviewedGrowingB