Leclerc Drive logo

Leclerc Drive

Searches E.Leclerc Drive products and manages a selected store’s cart through Chrome over CDP.

Install Leclerc Drive

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "leclerc-drive": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-leclerc-drive"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 8 tools correctly (10d ago).

Overview

The leclerc-drive MCP server connects Claude-compatible MCP clients to E.Leclerc Drive for store lookup, product search, and cart management. It drives a real local Google Chrome session over CDP, using the browser’s authenticated session to handle DataDome protection. Select a store with postal-code or city search, then search products and add, remove, or update cart lines. Reach for it when you want personal grocery-shopping automation, but note that checkout and delivery-slot booking are not implemented.

Use cases

  • Find nearby E.Leclerc Drive stores
  • Search a selected grocery catalogue
  • Add products to a shopping cart
  • Adjust or remove cart quantities
  • Review the cart total

Key features

  • Store lookup by city or postal code
  • Persistent active-store selection
  • Product search with pricing and availability
  • Cart add, remove, and quantity updates
  • Real Chrome CDP session handling
  • Request throttling and retry backoff

Tools8

What Leclerc Drive lets your agent do. Expand a tool for its parameters.

Verified live~676 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

9/9 checks healthy over the last 45d

What it can do

From the 8 tools this server returned when we ran it.

Can delete or modify data · 1Read-only tools · 7
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age128 days
Maintainers1

Observed 2026-10-19 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · mcp-leclerc-drive (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars26Stargazers on the source repository.
npm downloads346Package downloads in the last 30 days.
Last commit3mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed8Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Leclerc Drive works

What leclerc-drive MCP server does

The leclerc-drive MCP server exposes eight MCP tools for working with E.Leclerc Drive. It can locate nearby drives from a postal code or city, select and remember an active store, inspect that selection, search the store catalogue, and manage cart contents.

Product search returns product identifiers along with information such as price, price per kilogram, Nutri-Score, and availability. Cart operations cover adding a product, removing a product, setting a quantity, and reading the complete cart with its total. The available operations stop before checkout: delivery-slot selection and order submission are not included.

How it works

Requests run inside an installed Google Chrome window rather than through a headless HTTP client. On first use, the server starts Chrome with a dedicated persistent profile and connects to it through the Chrome DevTools Protocol. You log into Leclerc Drive in that window once; the profile retains the session for later restarts.

The browser approach is used because E.Leclerc Drive’s DataDome protection can reject headless clients and replayed cookies. The server keeps requests in a single queue, spaces them with a minimum interval and jitter, and retries some temporary 403 or 429 responses with increasing delays.

Store selection is persisted in ~/.mcp-leclerc-drive/config.json. The selected store determines the backend host used for later searches and cart requests. A session is tied to one drive, so the active store should match the drive associated with the logged-in Chrome session.

Setup and configuration

The leclerc-drive MCP server requires Node.js 22 or newer and Google Chrome on the same machine. It can be installed for Claude Code with claude mcp add leclerc-drive -- npx -y mcp-leclerc-drive, or configured in Claude Desktop with an npx command and the mcp-leclerc-drive package. No environment variables are needed for the normal setup; the store can be chosen through find_stores and set_store.

Optional settings include LECLERC_STORE_ID and LECLERC_HOST for a fixed store, LECLERC_CHROME_PATH for a nonstandard Chrome location, and LECLERC_CHROME_PROFILE_DIR for the persistent profile path. LECLERC_CHROME_PORT changes the CDP port. Request pacing and retry behavior can be adjusted with LECLERC_MIN_INTERVAL_MS, LECLERC_JITTER_MS, LECLERC_MAX_RETRIES, and LECLERC_BACKOFF_BASE_MS.

Tools and capabilities

  • find_stores(query) locates drives near a city or postal code.
  • set_store(store_id) selects and remembers a drive.
  • get_store() reports the current drive.
  • search_product(query) searches the selected catalogue.
  • add_to_cart(product_id, quantity?) adds a product.
  • remove_from_cart(product_id) removes a cart line.
  • update_quantity(product_id, quantity) changes a line quantity; zero removes it.
  • get_cart() returns cart contents and the total.

Limitations and notes

The leclerc-drive MCP server is unofficial and intended for personal automation with the user’s own account. A visible Chrome window normally opens, and headless mode is detectable by DataDome and is not recommended. The server must run on the same machine as Chrome, and switching to a store unrelated to the current browser session can produce a session-expired error.

The implementation has been validated against the live store, but the service has no public API and its underlying endpoints may change. Checkout, delivery-slot booking, saved lists, and other capabilities are not currently provided. The project is licensed under MIT and is not affiliated with or endorsed by E.Leclerc.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Leclerc Drive

leclerc-drive is an MCP server that connects Claude-compatible clients to E.Leclerc Drive through a real local Chrome session. Its main tools find and select stores, search products, add or remove cart items, update quantities, and read the cart total. It does not submit checkouts or book delivery slots.

Install it with `npx -y mcp-leclerc-drive` in an MCP client configuration, or run `claude mcp add leclerc-drive -- npx -y mcp-leclerc-drive` for Claude Code. Node.js 22 or newer and Google Chrome are required; the first request opens Chrome for login.

Choose a store by calling `find_stores` with a city or postal code, then pass the returned store ID to `set_store`. The selection is persisted in `~/.mcp-leclerc-drive/config.json`, and the resolved backend host is remembered for later requests.

No, it does not support checkout or delivery-slot booking. The available tools cover store selection, catalogue search, and cart operations through `get_cart`, `add_to_cart`, `remove_from_cart`, and `update_quantity`.

It opens Chrome because E.Leclerc Drive’s DataDome protection can block headless clients and replayed cookies. The server uses a persistent real-browser profile over CDP, so you log in once and subsequent requests use that browser session.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewLeclerc Drive AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/leclerc-drive?style=directory)](https://allmcps.com/mcp/leclerc-drive)
HTML Embed
<a href="https://allmcps.com/mcp/leclerc-drive"><img src="https://allmcps.com/api/badge/leclerc-drive?style=directory" alt="Leclerc Drive on AllMCPs" /></a>