Nutrition Label Analyzer & Meal Logger
Analyzes nutrition facts from food items via Brave Search, logs daily meals with macros, and generates daily/weekly nutrition summaries with target comparisons. Prerequisites: brave-search MCP, python3.
MCP get_skill({ skillId: "nutrition-label-analyzer-meal-logger-bdad3e66" })Use this skill with your agent
Create a free account and connect via MCP
# Nutrition Label Analyzer & Meal Logger
Look up nutrition info for any food, log meals throughout the day, and get daily/weekly macro summaries compared to your targets.
## When to Use
- "How many calories in a chicken burrito bowl?"
- "Log my meals today and show macros"
- "Am I hitting my protein target this week?"
## Requirements
- **Brave Search MCP** for nutrition data lookup
- **python3** for macro calculations
## Workflow
### Step 1 — Set Nutrition Targets
If not already set:
```bash
python3 << 'PYEOF'
weight_lbs = {WEIGHT}
goal = "{GOAL}" # lose_weight, maintain, gain_muscle
# Simplified TDEE estimate
if goal == "lose_weight":
calories = weight_lbs * 12
protein_g = weight_lbs * 1.0
elif goal == "gain_muscle":
calories = weight_lbs * 16
protein_g = weight_lbs * 1.2
else:
calories = weight_lbs * 14
protein_g = weight_lbs * 0.8
print(f"Daily targets: {calories:.0f} cal, {protein_g:.0f}g protein")
PYEOF
```
### Step 2 — Look Up Food Nutrition
```
brave_web_search: "{FOOD_ITEM} nutrition facts calories protein per serving"
brave_web_search: "{RESTAURANT} {MENU_ITEM} nutrition information calories"
```
Extract: calories, protein, carbs, fat, fiber, sodium per serving.
### Step 3 — Log Meal
Append to daily log:
```bash
mkdir -p outputs/health/nutrition
cat >> "outputs/health/nutrition/{DATE}-food-log.md" << 'EOF'
### {MEAL_TIME} — {MEAL_NAME}
| Item | Serving | Cal | Protein | Carbs | Fat |
|------|---------|-----|---------|-------|-----|
| {Food 1} | {Amount} | {X} | {X}g | {X}g | {X}g |
| {Food 2} | {Amount} | {X} | {X}g | {X}g | {X}g |
| **Meal Total** | | **{X}** | **{X}g** | **{X}g** | **{X}g** |
EOF
```
### Step 4 — Daily Summary
```bash
python3 << 'PYEOF'
meals = [
{"name": "Breakfast", "cal": 0, "protein": 0, "carbs": 0, "fat": 0},
{"name": "Lunch", "cal": 0, "protein": 0, "carbs": 0, "fat": 0},
{"name": "Dinner", "cal": 0, "protein": 0, "carbs": 0, "fat": 0},
{"name": "Snacks", "cal": 0, "protein": 0, "carbs": 0, "fat": 0},
]
target_cal = {TARGET_CALORIES}
target_protein = {TARGET_PROTEIN}
total_cal = sum(m["cal"] for m in meals)
total_protein = sum(m["protein"] for m in meals)
remaining_cal = target_cal - total_cal
remaining_protein = target_protein - total_protein
print(f"Daily totals: {total_cal} cal, {total_protein}g protein")
print(f"Remaining: {remaining_cal} cal, {remaining_protein}g protein")
print(f"Status: {'On track ✅' if remaining_cal > 0 else 'Over budget 🔴'}")
PYEOF
```
Output:
```markdown
## Daily Summary — {DATE}
| | Consumed | Target | Remaining | Status |
|---|----------|--------|-----------|--------|
| Calories | {X} | {X} | {X} | ✅/🔴 |
| Protein | {X}g | {X}g | {X}g | ✅/🔴 |
| Carbs | {X}g | {X}g | {X}g | |
| Fat | {X}g | {X}g | {X}g | |
💡 Tip: You have {X} cal left — a {suggested snack} would hit your protein target.
```
## Important Rules
- Use Brave Search for real nutrition data — don't guess calorie counts
- Clearly state when portions are estimated
- Never provide medical dietary advice or diagnose deficiencies
- Suggest consulting a dietitian for medical nutrition therapy
## Example Prompts
- "How many calories in a Chipotle chicken bowl?"
- "Log my breakfast: 2 eggs, toast, coffee with cream"
- "Show my nutrition summary for today"Related Skills
More skills in Health & Wellness
Habit Tracker & Streak Builder
Creates a markdown-based habit tracker with daily checkboxes, streak counting, and weekly review prompts. Tracks habits in a file you update daily. Prerequisites: python3.
Sleep Schedule Optimizer
Calculates optimal sleep/wake times based on sleep cycles, creates a wind-down routine, tracks sleep patterns in a log, and researches sleep improvement tips via Brave Search. Prerequisites: brave-search MCP, python3.
Weekly Meal Planner & Grocery List
Generates a personalized weekly meal plan based on dietary preferences and calorie targets via Brave Search, then produces a consolidated grocery list with estimated costs. Prerequisites: brave-search MCP, python3.
Workout Routine Builder
Builds a personalized workout program based on fitness goals, available equipment, and schedule. Researches exercises via Brave Search, calculates progressive overload, and generates trackable workout logs. Prerequisites: brave-search MCP, python3.
Explore Other Categories
Skills from other categories with shared topics
Pet Care Planner & Tracker
Creates a pet care schedule with vet appointments, medications, feeding routines, and exercise plans. Researches breed-specific care via Brave Search and tracks medical history. Prerequisites: brave-search MCP.
Ablation Planner
Use when main results pass result-to-claim (`claim_supported = yes` or `partial`) and ablation studies are needed for paper submission. A secondary Codex agent designs ablations from a reviewer's perspective; the local executor reviews feasibility and implements.
Ablation Planner
Use when main results pass result-to-claim (claim_supported=yes or partial) and ablation studies are needed for paper submission.