io.github.ArvtekEarn/mirakl-seller-mcp
# mirakl-seller-mcp
<!-- mcp-name: io.github.ArvtekEarn/mirakl-seller-mcp -->
**Ask Claude about your seller shop on any Mirakl-powered marketplace**: Decathlon, Carrefour,
Leroy Merlin, Fnac / Darty, Conforama, Castorama, Maisons du Monde, La Redoute and hundreds more.
One local connector for all of them, **read-only**, and **buyer personal data is removed before
anything reaches the AI**.
> "Which orders are still waiting to ship on Decathlon and Leroy Merlin?"
> "Compare my price on EAN 3608439000000 with the other sellers on Carrefour."
> "Which customer messages have I not answered since Monday?"
> "How much did I sell this month on each marketplace, and how much is still unpaid?"
French below. / Version française plus bas.
## Why this one
- **All your Mirakl marketplaces at once.** Configure 1 or 10; `orders_overview` sums them up.
- **Read-only by design.** Only GET calls. It cannot accept, ship, refund, reprice or change stock.
- **Privacy first.** Names, street addresses, postcodes, e-mails, phones and buyer company details
are stripped inside the process (city and country are kept). Your API key stays on your machine;
nothing goes through a third-party server.
- **Free and open source** (MIT). Official Mirakl seller (shop) API only.
## Tools (13)
| Tool | Mirakl API |
|---|---|
| `list_marketplaces` | your configuration |
| `shop_info` | A01 shop information, grade, state |
| `list_orders`, `get_orders` | OR11 orders (states, dates, incidents) |
| `orders_overview` | OR11 on every marketplace: count and value per state |
| `list_offers`, `get_offer` | OF21 / OF22 your offers |
| `competing_offers` | P11 all offers on a product (price comparison) |
| `list_returns` | RT11 returns |
| `list_message_threads`, `get_message_thread` | M11 / M10 customer & operator messages |
| `list_accounting_documents`, `list_billing_cycles` | IV01 / SBC11 invoices, payouts |
## Install
You need [uv](https://docs.astral.sh/uv/) (or pip) and, for each marketplace, its **Mirakl URL**
and your **shop API key**: in the marketplace's seller back office, open *My user settings*
(top right) > *API key*. The URL is the address of that back office without the path,
e.g. `https://xxxx.mirakl.net`.
Test the connection first:
```bash
MIRAKL_URL=https://xxxx.mirakl.net MIRAKL_API_KEY=your-key uvx mirakl-seller-mcp --check
```
### Claude Desktop (one marketplace)
```json
{
"mcpServers": {
"mirakl": {
"command": "uvx",
"args": ["mirakl-seller-mcp"],
"env": {"MIRAKL_URL": "https://xxxx.mirakl.net", "MIRAKL_API_KEY": "your-key"}
}
}
}
```
### Several marketplaces
```json
"env": {
"MIRAKL_MARKETPLACES": "decathlon,leroy-merlin",
"MIRAKL_DECATHLON_URL": "https://...", "MIRAKL_DECATHLON_API_KEY": "...",
"MIRAKL_LEROY_MERLIN_URL": "https://...", "MIRAKL_LEROY_MERLIN_API_KEY": "..."
}
```
Names are free; `-` and spaces become `_` in the variable names. Optional: `MIRAKL_<NAME>_SHOP_ID`
if your user manages several shops. `MIRAKL_KEEP_PII=1` turns the privacy filter off (not advised).
Claude Code: `claude mcp add mirakl -e MIRAKL_URL=... -e MIRAKL_API_KEY=... -- uvx mirakl-seller-mcp`
## Status
v0.1. Built and tested against Mirakl's published seller API reference (every tool is checked
against the spec's GET operations and query names, plus an end-to-end test over stdio against two
fake marketplaces). **Not yet tested on a live shop**: if something fails on yours, please open an
issue with the marketplace name and the error (never paste your key).
Some operators turn off parts of the API (e.g. messages, or IV01 when they use Enhanced Seller
Invoicing): the tool then returns the operator's error or an empty result.
Unofficial; not affiliated with Mirakl or any marketplace. Provided as is (MIT).
---
## En français
Un connecteur MCP **gratuit, local et en lecture seule** pour interroger Claude sur votre boutique
vendeur sur les marketplaces Mirakl (Decathlon, Carrefour, Leroy Merlin, Fnac / Darty, Conforama,
Castorama, Maisons du Monde, La Redoute…). Les **données personnelles des acheteurs** (nom, adresse,
code postal, e-mail, téléphone) sont **supprimées avant d'arriver à l'IA**, la ville et le pays sont
gardés. Votre clé API reste sur votre ordinateur.
**Clé API** : dans le back-office vendeur de la marketplace, *Paramètres utilisateur* (en haut à
droite) > *Clé API*. **URL** : l'adresse du back-office sans le chemin (`https://xxxx.mirakl.net`).
Tester : `MIRAKL_URL=https://xxxx.mirakl.net MIRAKL_API_KEY=votre-cle uvx mirakl-seller-mcp --check`
Plusieurs marketplaces : `MIRAKL_MARKETPLACES=decathlon,leroy-merlin` puis
`MIRAKL_DECATHLON_URL`, `MIRAKL_DECATHLON_API_KEY`, etc. L'outil `orders_overview` donne le nombre
et le montant des commandes par état sur toutes vos marketplaces.
Exemples : « Quelles commandes restent à expédier sur Decathlon ? », « Compare mon prix sur
l'EAN … avec les autres vendeurs de Carrefour », « Quels messages clients sont sans réponse ? ».
Non officiel, sans lien avec Mirakl ni les marketplaces. Fourni tel quel (licence MIT).
TDQS
Scored across 13 tools
Most tools target a distinct resource+action pair (list_offers vs get_offer vs competing_offers is clear), and orders_overview is explicitly framed as a cross-marketplace aggregate versus list_orders/get_orders which are per-order reads. The only real overlap risk is list_accounting_documents vs list_billing_cycles, which is disambiguated only by a conditional sentence about Enhanced Seller Invoicing.
Nine of thirteen tools follow a clean verb_noun snake_case pattern (list_orders, get_offer, list_message_threads). However, four deviate into noun_noun/adjective forms (orders_overview, shop_info, competing_offers), and the get_/list_ prefix is not applied uniformly to the same resources (get_orders is plural, get_offer singular).
Thirteen tools is well within a healthy scope for a multi-domain marketplace seller API, and each tool maps to a distinct Mirakl endpoint family (OR11, OF21, RT11, M11, IV01, SBC11). No obviously redundant or filler tools are present.
The read surface is broad — marketplaces, shop, orders (list/get/summary), offers, competitors, returns, messages, and accounting — with no obvious read gaps. But the set is entirely read-only: there is no way to update offer price/quantity, accept or ship an order, reply to a message thread, or handle a return, which are core seller workflows.