AI Diet Planning
Claude & ChatGPT Diet Plans with Real Nutritional Data
Claude and ChatGPT are great at planning your week — until they guess your calories and protein from memory. Connect Recipe API so every diet plan is built from 25,000+ real recipes with 32 per-serving nutrients calculated from USDA FoodData Central data.
Why AI diet plans need real nutrition data
Asking an AI assistant for “a 1,800-calorie high-protein diet plan” produces confident tables — but without a real food database, the model is guessing every number. Grounding Claude or ChatGPT in Recipe API turns those guesses into verifiable math:
Swipe table horizontally to compare →
| Question | Plain Claude / ChatGPT | Recipe API |
|---|---|---|
| Calorie & macro math | Predicted token-by-token from memory. Frequently off by 20–40%, and ingredients often don't add up to the stated total. | Calculated from USDA FoodData Central ingredient records and returned per serving across 32 fixed nutrients. |
| Micronutrients (iron, fiber, sodium, B12) | Rarely listed, or invented with plausible-looking round numbers. | All 32 per-serving nutrients included on every recipe, with nutrition_source attached to every ingredient. |
| Dietary & allergen safety | Easy to slip hidden allergens or dairy/gluten ingredients into a 7-day plan. | Filtered server-side with controlled dietary flags (Gluten-Free, Dairy-Free, Vegan, Nut-Free) plus not_suitable_for warnings. |
| Shopping list accuracy | Vague ingredient lines ('some spinach', 'a splash of oil') that don't merge cleanly across days. | Structured quantities, units, and stable ingredient UUIDs so Claude or ChatGPT builds one exact grocery list. |
1. Connect Claude or ChatGPT in two minutes
Paste one setup prompt into Claude or ChatGPT and it walks you through connecting Recipe API (free account, no card):
2. What Claude & ChatGPT actually receive
Instead of inventing calorie numbers, the assistant filters real recipes with GET /api/v1/recipes?max_calories=600&min_protein=30 and reads 32 USDA-backed nutrients per serving straight from the API:
{
"name": "Texas Chili con Carne",
"meta": { "yields": "4 servings", "yield_count": 4, "serving_size_g": 300 },
"dietary": {
"flags": ["Gluten-Free", "Dairy-Free", "Egg-Free", "Nut-Free", "Soy-Free"],
"not_suitable_for": []
},
"nutrition": {
"per_serving": {
"calories": 569.02,
"protein_g": 44.14,
"carbohydrates_g": 5.59,
"fat_g": 41.99,
"fiber_g": 1.97,
"sodium_mg": 350.75,
"iron_mg": 7.16,
"vitamin_b12_mcg": 6.14
},
"sources": ["USDA FoodData Central"]
}
}DAILY DIET PLAN — Target: 1,800 kcal · 150g protein (Gluten-Free) | Meal | Recipe (from Recipe API) | Srv | Cal | Protein | Fiber | Sodium | |-----------|---------------------------|-----|-------|---------|-------|--------| | Breakfast | Greek Yogurt Power Bowl | 1 | 410 | 32g | 6g | 145mg | | Lunch | Chicken Burrito Bowl | 1.5 | 690 | 54g | 11g | 520mg | | Dinner | Sheet-Pan Salmon & Greens | 1 | 510 | 41g | 7g | 390mg | | Snack | Cottage Cheese & Berries | 1 | 210 | 24g | 3g | 310mg | | TOTAL | USDA-backed per serving | | 1,820 | 151g | 27g | 1,365mg|
3. Prompts to try right away
Cooking and planning every week? Move from the free evaluation tier (50 lifetime requests) to the $9/month Personal plan (5,000 requests and 100 unique recipes every month, non-commercial). Building a commercial diet or food app? Developer starts at $29/month.
Frequently asked questions
Related guides
Stop guessing your macros
Start free (50 evaluation requests, no card), or run weekly diet plans year-round on Personal ($9/month).