Research

Build a Grocery Price Comparison with AI

Compare grocery prices across major retailers in your area, highlighting savings and weekly deals. Research Walmart, Kroger, Target, and Aldi prices to surface where your weekly staples cost the least — and keep it updated automatically every week.

Build Prompt

Copy this prompt into Claude Code
Build a static HTML grocery price comparison site. Dark theme: background #0a0a0f, surfaces #12121a, borders #1a1a2a, accent #0ea5e9 (sky blue). All data from inline JS constants: const ITEMS = [...] — each item: id, name, brand, category ("Produce"/"Dairy"/"Meat"/"Pantry"/"Frozen"/"Bakery"), unit, emoji, prices: { walmart, kroger, target, aldi, wholeFoods } (null if not carried), onSale: { store, salePrice, endsDate } or null, notes (e.g. "organic only at Whole Foods"). const STORES = ["Walmart","Kroger","Target","Aldi","Whole Foods"] — each with color hex and logo emoji. const WEEKLY_DEALS = [...] — top 8 deals this week: itemId, store, originalPrice, salePrice, savingsPercent, expiresDate. const BASKET = [...] — a sample "weekly basket" of 12 items showing total cost per store side-by-side. const LAST_UPDATED = "2024-01-15". Layout: header with site title, last-updated, search bar. Category filter pills (All / Produce / Dairy / Meat / Pantry / Frozen / Bakery). Weekly Deals strip (horizontal scroll cards showing item emoji, store, savings %). Main comparison table: rows = items, columns = stores, cells show price or "—", cheapest cell highlighted in sky blue, sale price shown in green with strikethrough original. "Basket Total" sticky footer row showing sum per store. Mobile: card view instead of table. Basket Builder sidebar (desktop) or bottom sheet (mobile): click items to add, see running total per store. Sort: cheapest overall, biggest savings, A-Z. Seed 25 items across all categories. Include a "This week's winner" callout card showing which store wins the basket total. Add cron comment: <!-- Schedule: Run 'claude -p "Research current grocery prices at Walmart, Kroger, Target, Aldi for [your item list]. Update ITEMS prices and WEEKLY_DEALS. Redeploy."' via crontab every Sunday at 6am --> Read the guide at https://accessagent.ai/api/guide and follow it to deploy the site to AccessAgent.ai. My email is [your@email.com].

Make It Yours

Custom Item List

Replace the seed items with your exact weekly shopping list for a hyper-personalized price guide.

Local Store Selection

Swap national chains for your regional grocers — HEB, Publix, Meijer, WinCo — wherever you actually shop.

Unit Price Normalization

Calculate price-per-oz or price-per-unit so different package sizes are compared fairly.

Dietary Filters

Add filters for organic, gluten-free, vegan, or kosher items to surface only relevant options.

Savings Calculator

Show a monthly/yearly savings estimate if users always chose the cheapest store for each item.

Store Loyalty Points

Factor in loyalty point value (Kroger fuel points, Target Circle cashback) into effective price calculation.

Update Prompt

Update Prompt — Refresh prices and weekly deals
Re-research current grocery prices at Walmart, Kroger, Target, and Aldi for the items in the ITEMS array. Find this week's sales and update WEEKLY_DEALS with current promotions. Recalculate which store wins the basket total. Update LAST_UPDATED to today. Redeploy.

SEO Tips

Monetization Ideas

Related Ideas

Ready to build your Grocery Price Comparison?

Copy the prompt above and paste it into Claude Code. Your grocery comparison tool will be live in minutes.

Get Started