{"repo":"ivorpad/mercadona-cli","free":true,"listed":false,"github":"https://github.com/ivorpad/mercadona-cli","clone":"git clone https://github.com/ivorpad/mercadona-cli.git","description":"Unofficial, agent-friendly Mercadona shopping CLI (Go) — search products, read prices, build a cart and prepare checkout from the terminal. BYO credentials.","language":"Go","stars":317,"topics":["ai-agents","claude-code","cli","command-line","golang","grocery-shopping","llm-tools","mercadona","shopping-cart","spain"],"license":null,"category":"cli-tools","readme_excerpt":"mercadona Unofficial, agent-friendly CLI for tienda.mercadona.es — search the catalog, read prices, build a cart, and check out. Single static Go binary, no runtime deps, structured --json output for programmatic/agent use. Unofficial. Mercadona has no public API. Bring your own credentials; use at a sane request rate. This talks to the same HTTP endpoints the website does. Install npm — downloads the prebuilt binary for your platform on install: curl (macOS / Linux): Override with MERCADONA VERSION=v0.1.0 (pin a tag) or MERCADONA INSTALL DIR=/path (install location; defaults to /usr/local/bin , else /.local/bin ). Manual — download a tarball for your OS/arch from the releases page, extract, and put mercadona on your PATH. From source (Go 1.26+) — clone, then: ( go install @latest isn't wired up yet: the module path is github.com/ivorjpc/mercadona , which doesn't match the repo URL.) Commands Read core (anonymous — no login) Common flags: --wh mad1 (warehouse), --lang es , --json — and they can go anywhere after the (sub)command, not just up front. Data goes to stdout , logs/errors to stderr , exit code 1 on error — friendly to scripts and agents. Location (warehouse) — set it from your postal code Product ids and prices are per-warehouse, and online checkout needs the cart's warehouse to match your delivery address — so pin it to the warehouse that serves your postal code (no login needed). Precedence: --wh flag config.toml [defaults] built-in mad1 . import-har also auto-det","default_branch":null,"files":null,"tree":[],"storefront":"/r/ivorpad","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ivorpad/mercadona-cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}