All ideasMore in Food

Optimize my family's weekly basket by unit price, cart stays mine

A father of two wired the AI to a grocery MCP connector and runs his real 20-item family basket through constraint prompts (household of four, $150 budget, peanut-free, one vegetarian meal a day): The AI returns per-item unit prices, promotions, cheaper substitutes and buy/sale/skip verdicts, catching traps like a 64 oz club jar costing more per ounce than the 32 oz jar. Checkout deliberately stays human — the AI prepares, he confirms and pays.

This only partly worked. Read what happened before you try it.

How it works

  1. Authorize a grocery MCP connector and verify one item's price against the store app
  2. Paste the 20-item family basket with a parameters block (budget, household size, dietary rules, substitution rules)
  3. The AI computes unit prices and ranks options
  4. The AI flags promotions and BOGO traps
  5. The AI returns buy, only-if-on-sale or skip per item with an estimated total
  6. He reviews, confirms the cart and pays himself

Why it’s worth knowing

The agent does the per-ounce math across the whole basket and tells him to skip deals that would raise his total.

Where it’s from

Summarized from a public post on docs.bswen.com. See the original ↗

Upgraded prompt

A ready-to-use prompt for this idea, built from research on what makes AI agents do the job right: who the AI should be, the exact steps, and a check to make sure it was done the way you wanted.

1Who the AI should be
2The prompt, with the steps
3The check when it’s done
Upgraded prompts are coming soon.

Try next

Every idea is a real post from someone who tried it, summarized in our words, with a link to the original. App names are swapped for plain words.