Can ChatGPT plan meals safely for a child with a food allergy?
What AI meal plans get wrong with food allergies, how to prompt and check them, and what no app can check for you.
7 min read
Who it is for: Parents of a child with a peanut, tree nut, egg, milk, sesame or gluten allergy, or coeliac disease, who want help with the week's meals but are afraid of a mistake
ChatGPT and Claude can help plan meals for a child with a food allergy, but they make mistakes. In a 2023 study in the journal Nutrition, ChatGPT built 56 diets for people with food allergies, and one of its nut-free diets included almond milk. Use the assistant for ideas and the shopping list, state each allergy plainly every time, and check every dish, ingredient and label yourself. An assistant only knows the ingredients it was told or shown, and no assistant or app can see into a restaurant kitchen.
It is six in the evening. Your four-year-old is allergic to peanuts and tree nuts, and your father, who has coeliac disease, is coming for Sunday lunch. You type "plan this week's dinners, nut free" into a chat. Seven good dinners appear. Then you see Thursday: chicken korma, a sauce often thickened with ground almonds or cashews. Now you have to read the other six just as carefully.
This is general food guidance, never medical advice. Your child's allergist or an allergy dietitian decides what is safe for your child.
Is it safe to use ChatGPT for an allergy meal plan?
It can help with ideas and lists. It cannot be your checker. In the Nutrition study, a qualified dietitian reviewed the diets. Most left out the allergen, and the commoner errors were calories and portions. But one nut-free diet still included almond milk. The study tested ChatGPT as of January 2023, and models have changed since. The failure to plan for has not: a plausible plan with one wrong ingredient.
What mistakes does AI make with food allergies?
- A swap from the same allergen family. Almond milk for a child with a nut allergy, pesto made with cashews, a "dairy-free" cheese made from nuts.
- A carrier hidden in a sauce or a ready-made part. Soy sauce in a gluten-free stir fry, fish sauce in a curry paste, tahini in hummus, egg in fresh pasta.
- A rule that drops out of the conversation. The allergy you mentioned on Monday may not be in Thursday's new chat, and a long chat can lose track of it too.
- A brand or dish called safe. The assistant only knows the ingredients it was told or shown, not the label on your packet. A photo of the label helps, but read it yourself too.
How do I write an allergy-safe meal plan prompt for ChatGPT or Claude?
Leave it less room to guess:
- Name each allergy, who has it and every guest. Spell out the foods.
- Say whether "may contain" counts.
- Ask for every ingredient, including sauces, stock and oils, with packaged ones marked.
- Repeat it in every new chat.
For example, with your own details in the brackets:
Plan this week's dinners and Sunday lunch for our family of [number]. [Child], age [x], is allergic to peanuts and all tree nuts, including almonds, cashews, hazelnuts, pistachios, pecans and walnuts. Treat "may contain nuts" as unsafe. Grandpa joins for Sunday lunch and has coeliac disease, so that meal must have no gluten for anyone. List every ingredient of every dish, including sauces, stock and oils. Mark every packaged ingredient "read the label". Do not tell me any brand is safe.
Then ask for a second pass:
Go through the plan again, one dish at a time. For each ingredient, say whether it can contain peanuts, tree nuts or gluten, and why.
A second pass catches some errors, but the same model made the plan.
What does "may contain" mean on a food label?
A "may contain" line warns that an allergen could get into a food by accident, for example on a shared factory line. The UK Food Standards Agency says there is "no specific legal requirement" to use it, even though the 14 main allergens must be declared when they are ingredients. In the US, the FDA recognises nine major food allergens, with sesame added from 1 January 2023 under the FASTER Act. FARE points out that "may contain" statements are voluntary and no law sets their wording, and that a missing warning does not mean a product is safe.
Whether your child avoids "may contain" foods is a question for your allergist. If you do, tell the assistant so it flags every packet.
How do I check an AI meal plan for hidden allergens?
Before you shop:
- Read the ingredients, not the dish names.
- Look hardest at sauces, stock, dressings, toppings and spice mixes.
- Read every label in the shop and again before you cook. FARE advises reading labels every time you buy, because ingredients can change without warning.
- Think about your own kitchen: shared boards, the toaster, frying oil.
| Allergy | Often hides in |
|---|---|
| Tree nuts | pesto, korma and other curry sauces, nut milks, marzipan, praline, granola |
| Peanuts | satay, groundnut oil, some Asian sauces, cereal and snack bars |
| Sesame | tahini, hummus, sesame oil, seeded buns, Asian dressings |
| Gluten | soy sauce, breadcrumbs, couscous, bulgur, beer, malt, some stock cubes, flour in sauces |
| Milk | butter, ghee, cream, parmesan in pesto, whey, casein |
| Egg | mayonnaise, fresh pasta, batter, meringue, baked goods |
Can ChatGPT or Claude remember my child's food allergy?
Only partly, and only inside that one assistant's memory. Claude planned our dinners well, but the plan lived in my chat. My wife plans in ChatGPT, so she couldn't see it, change it or tick off the list with me. That is why I built Droklo. An allergy has the same problem: it lives in one chat, and the next chat, or the other parent's assistant, may not know it. We have no food allergy at home, so I will not pretend to know your evenings. But an allergy should be stored once and checked every time, whoever plans, and Droklo does that for the assistant you already use. You say it once:
[Child] is allergic to peanuts and tree nuts. "May contain" counts.
The assistant saves it on your child's profile. On the web it shows under Household, People, with the option "May contain" counts. With it on, packaged foods in your child's meals are flagged for a label read.
- Every planned meal is checked against everyone eating it. Guests count too, up to 12 per meal, each with their own restrictions: "Grandpa comes Sunday, he is coeliac" puts him on that meal with gluten as his restriction. The assistant gets each finding back and is told to fix it or tell you about it. Nothing is blocked.
- Recipes keep allergy markers on their ingredients. When the assistant makes a dish safe, for example gluten-free tamari instead of soy sauce for coeliac disease, the safe version is saved as the recipe and each swap is recorded.
- Search can leave out marked recipes. "Find a quick dinner we saved with no nuts" searches your saved recipes and skips any with a nut marker on an ingredient.
- Eating out gets the exact question. The assistant tells you what to ask the staff, and says plainly that only the kitchen can confirm.
The limits are real. Droklo's checks match words in dish, recipe and ingredient names. They cannot read a label or see inside a ready-made product, and a dish with no recipe is checked by its name alone. No finding is not proof that a meal is safe. Droklo is free right now, and you can connect it to Claude or ChatGPT in about two minutes. The rest of the week is in family meal planning with ChatGPT.
What should I ask a restaurant about my child's allergy?
Ask someone who can go to the kitchen:
- Does this dish contain peanuts or any tree nuts, including in the sauce, dressing, oil or garnish?
- Is it cooked in the same oil, pan or surface as anything with nuts?
- Can the chef check the ingredients of the sauces and anything bought in?
If the answer is unsure, choose another dish or place. For a serious allergy, call ahead. Your assistant can help:
We are going to a Thai restaurant on Saturday. [Child] is allergic to peanuts and tree nuts. What usually hides in Thai food, and what exactly should I ask the staff?
It can name satay, curry pastes and crushed nut toppings, but not what this kitchen does tonight.
What can't an AI meal planner check for a food allergy?
- What is in a packet it was never shown, and whether the recipe changed since the last label you read.
- Cross-contact in a factory, a restaurant or a grandparent's kitchen.
- A dish that was never written down.
- How sensitive your child is, and what to do in a reaction. That belongs to your allergist; the NIAID food allergy guidelines show how doctors approach it.
An assistant can take on the thinking work of a week, and the last look at each label stays with you. If your child also refuses half of what is safe, read dinners for picky eaters.