Mercadona dumps algolia for ai blitz, cuts costs by 90%
Mercadona, the Spanish supermarket giant, has made a startling shift in its tech strategy, abruptly severing ties with Algolia – the search and discovery platform previously powering its online operations – in favor of Anthropic’s Claude Code. The move, spearheaded by CTO José Ramón Pérez Agüera, represents a dramatic cost-saving measure and a bold embrace of artificial intelligence, fundamentally reshaping how shoppers interact with the retailer’s digital presence.

A three-day miracle?
Pérez Agüera, in a frankly blunt LinkedIn post, revealed the astonishing speed of implementation. “To be completely honest, and I know this will sound cliched, but it’s the truth. 70% of the work – implementing the search, improving search quality, and laying the groundwork – took just three days. A weekend and an extended Monday,” he stated. This level of operational agility is a significant departure from the lengthy and often cumbersome deployments typical of large-scale tech integrations. The speed suggests a strategic decision driven by a clear understanding of the value proposition offered by Claude Code.
The platform, which handles a staggering 4.4 million searches weekly and approximately 25,000 orders daily, previously relied on Algolia, a company also serving giants like Sephora and LVMH. But Mercadona’s assessment concluded that Algolia’s pricing model – escalating with usage – was no longer sustainable, particularly given the explosive growth of its online sales. The savings are projected to be between 90 and 94 percent, depending on monthly traffic volume.
Claude Code’s ability to perform hybrid searches – combining keyword and semantic understanding – proved to be a decisive factor. Furthermore, Mercadona’s team leveraged Claude’s training capabilities to optimize search rankings and, crucially, eliminate the persistent issue of “no results” pages, which previously accounted for 4% of all web and app searches. This targeted improvement addresses a core pain point for online shoppers and directly impacts conversion rates.
The shift isn’t just about cost; it’s about efficiency. Mercadona’s continued growth necessitates a scalable and adaptable search solution. Algolia’s inflexibility, coupled with rising operational costs, presented a clear bottleneck. Pérez Agüera highlighted the platform’s capacity to analyze 479MB of data – encompassing product catalogs, code, and analytics – in just three days, demonstrating its powerful analytical capabilities. The transition is now underway, with Mercadona aiming to completely decommission Algolia.
Meanwhile, in Mexico, the desperate search for a missing woman – whose digitally altered photos, generated by AI, failed to accurately represent her – highlights the darker potential of this Technology. Mercadona’s strategic pivot underscores a pragmatic approach to leveraging AI, prioritizing operational efficiency and bottom-line impact. The retailer isn’t chasing hype; it’s deploying a tool that delivers tangible results. This isn’t just about saving money; it’s about staying ahead of the curve.”n
