Inspiration

I am the maker of this project and its first user. I am a mother on a very tight budget: about four hundred dollars a month for everything after rent. Every feed I open tells me the baby needs a $45 calming oil or a $120 sound machine, and when you are tired it is hard to tell marketing from need. At the same time there was real help I qualified for and did not know how to claim. MamaPal comes out of my own months of counting diapers and dollars: I built it because I needed it, and I have been living with it since the first day it ran.

What it does

MamaPal is an AI pal, not a dashboard. Home is a conversation: Pal answers in a sentence or two plus a small card, and a card opens in a panel beside the conversation only when there is something to look at. The tools she manages herself (this month, budget, claims, records) sit in a sidebar with her past conversations. She can type, or tap the mic and talk; when she asks by voice, Pal reads the answer back.

Hand Pal the month. One button: "keep the baby covered until the month ends, on what is left." Pal works it in steps and shows each one as it finishes, with its time and AI cost: take stock (money free, a small cushion kept aside, when diapers, wipes and formula run out), plan (what to buy now, what later and by which day, what waits), find real prices with links, then a checker that is not the AI opens every link, recomputes every number, and checks that supplies reach month end and that later buys land before something runs out. Plan problems go back to be redone; anything still open is listed for her, never dropped. Every step is saved, so a timeout resumes where it stopped. In one real run the plan put the next formula can a week after the baby's formula would run out; the checker caught it twice and the third plan bought it now. She pays the final cart in PayPal herself; Pal never pays.

Pal cares. Tell Pal once who the baby is, how many diapers a day, how much formula, what you earn and where you live. From a 505-item catalog (pregnancy through school age, the mother's own items included) Pal lays out what this month should cost in Maslow order: must-haves first, growth and learning second, joy and outings third. Every item opens into a plain-language guide: what it is, which size, how much, the traps, and today's prices from real stores. Pal keeps a pantry: every pack paid through Pal adds diapers, formula or wipes; daily use drains it; when a week is left, Pal says so.

Pal cuts. Say what you were told to buy. Claude returns a verdict per item (buy / swap / skip / defer) with a store-brand twin, a realistic price and a one-line reason. Money is recomputed server-side, never trusted from the model. "Check prices across stores" searches the web for the same item at Walmart, Target, Amazon, Costco, Aldi, dollar stores and pharmacies, and the server opens every listing before showing it. One PayPal button pays for exactly the approved cart; the server captures the order, writes the capture id to the ledger, drops the budget bar and updates the pantry.

Pal claims. From ZIP, household size and income, Pal checks official sites and lists the programs you likely qualify for (WIC, SNAP under the state's name, Medicaid/CHIP, the nearest diaper bank, Head Start, LIHEAP, Lifeline, EITC/CTC, 211, pantries, free-goods groups) with the one rule that decides each program, what it is worth per month, the steps, the documents to bring and the official link. Every rule carries the official page it came from and the deciding words copied verbatim; the server opens the page and looks for those words, marks whether the source is a government site, and drops dead application links. Weak sources are sent back once for a search that only accepts official pages. Twenty-second brand micro-surveys pay back into the mother's PayPal through Payouts.

The ledger across months lives in an AG Grid table (sort, filter, search, totals, CSV). Three fictional demo households (codes MAYA-DEMO, ROSA-DEMO, KEISHA-DEMO) each open a private copy. Bilingual: English and 简体中文.

How we built it

  • Next.js 16 (App Router), Tailwind 4, TypeScript, deployed on Vercel.
  • PayPal: Orders v2 (create + capture) for the approved cart, Payouts v1 for survey rewards, PayPal JS SDK buttons; all against the sandbox REST API from a thin client.
  • Claude (claude-opus-5): structured outputs with Zod for verdicts, month plans and item guides; the web search tool for prices and the benefits finder; one persona prompt (hard on products, warm and plain toward the mother).
  • The month run: code-controlled steps with checkpoints, Claude for the plan and the price search, and a verifier with no model in it that opens links, finds quoted rules on official pages and recomputes money; per-step time, tokens, searches and cost.
  • Voice through the browser's own speech recognition and speech synthesis.
  • State: one Supabase row per household, chosen by a cookie. AG Grid Community for the ledger; the Pal mascot generated with Tongyi Wanxiang.
  • Built with Claude Code as my pair programmer; the demo video was recorded automatically with Playwright against the real app.

Challenges we ran into

  • Reading our own runs found defects the checker had missed, and each became a rule: an 80-count pack passed as the price of a 720-count box; the model's note said "$23 left" when the real figure was $51 (prose may no longer state money); fresh produce searched three times with no listing; a household with two children made the plan too long and it was cut off. The runs and fixes are in docs/evidence in the repo.
  • Keeping money honest: the model proposes, the server computes every total, and only a PayPal id counts as paid.
  • Long AI calls on a serverless host: one step per request, every step saved, so nothing has to finish in one call.
  • Store and government sites often refuse robots; the cards say "couldn't read" instead of pretending.

Accomplishments that we're proud of

  • The full loop runs for real in sandbox: a feed-driven wish becomes a store-brand cart, is paid through PayPal, and lands in the ledger and the pantry.
  • The month run: eight full runs across five households, $0.59 to $1.95 of AI time and two to five minutes each, with the evidence saved step by step.
  • The benefits finder found about $2,264 a month of help for a Houston household on $1,650 a month, and confirmed the deciding rule on the official page wherever a robot can read it (10 of 12 in Ohio, fewer in Texas and California, and the cards say so).
  • A 505-item knowledge base that gives a tired parent concepts, not just prices.

What we learned

Mothers on a tight budget do not want a SaaS; they want a pal. Tone is a feature. An agent earns trust when something that is not the AI checks its work, and when it shows what it could not check. And the cheapest sensible pick is usually the store brand, which an AI can say because it has no sponsor.

What's next for MamaPal

Real accounts with sign-in; reminders when a scheduled "later" buy comes due; a brand survey marketplace that pays mothers for honest answers; sharing a month's plan with a partner or a caseworker; Spanish.

Built With

Share this project:

Updates

Submission history