A-05
Madernoa
Architecture and construction materials in northwest Argentina. Astro landing page, WhatsApp bot and an MCP server that gives the bot the catalog.
| Client | Madernoa · Tucumán |
|---|---|
| Type | freelance |
| Platform | Astro · Cloudflare |
| Year | 2026 |
| Role | Full-stack, end to end |
| Stack | Astro 5 · CSS nativo (oklch) · Cloudflare Workers · Supabase Postgres · Hyperdrive · pg_trgm · Zod |
| Landing commits | 32 commits |
| MCP commits | 46 commits |

Context
Madernoa sells construction materials in northern Argentina. It needed two things that are usually treated separately: its own web presence and a WhatsApp bot that can answer about price and stock without someone copying and pasting from a spreadsheet.
Options
For the bot, the usual approach is to load a PDF of the catalog or paste the list into the prompt. It works on day one and ages badly: the price changes and the bot keeps stating the old one, just as confidently.
Decision
Separate the landing page from the data. The landing page is Astro 5 with native CSS and
oklch, no styling framework: it is a landing page, it does not need 40 KB of utilities.
The catalog lives separately, in Postgres on Supabase, and is exposed to the bot as an MCP server running on a Cloudflare Worker. The bot does not hold the catalog: it queries it. When a price changes in the spreadsheet, the bot answers with the new price without anyone touching the bot.
Two database details make the difference for search in Spanish:
unaccent so that «cemento» finds «Cemento», and pg_trgm so that a misspelled name still
finds the product. Hyperdrive sits between the Worker and Postgres, because opening a new
connection per query from the edge is expensive.
Verification
madernoa.com returns 200. Ingestion is a Node script that reads the client’s Excel file and normalizes it; types and Zod schemas are shared across the monorepo packages.
Consequences
There are three pieces instead of one, and you have to know which one failed when something does not respond. In exchange, the data has a single owner and the bot cannot be wrong because it is out of date.