Clinical-grade nutrition analysis powered by medgemma:4b. Search 8,000+ foods from USDA FoodData Central. Pay per tool call with USDC on Base, Solana, or Ethereum via x402 protocol.
8,000+ foods from USDA FoodData Central with complete nutrient profiles including vitamins, minerals, and micronutrients.
Clinical nutrition AI powered by medgemma:4b. Get evidence-based advice aligned with DGA 2025-2030, AHA, and ADA guidelines.
Mifflin-St Jeor BMR/TDEE calculation with personalized macro targets based on your body stats, activity level, and goals.
Generate multi-day personalized meal plans with specific foods, portions, and macros. Supports keto, vegan, Mediterranean, and more.
Daily food diary with meal-type tracking. Get daily nutrition summaries with calorie/macro percentages vs your targets.
Pay-per-tool-call with USDC micropayments. Supports Base (low fees), Solana (fast finality), and Ethereum mainnet via x402 protocol.
Mifflin-St Jeor equation for accurate BMR and TDEE estimation
Search our database of 8,000+ foods with complete nutrition data
Type at least 2 characters to search
Connect any AI agent via Model Context Protocol (Streamable HTTP)
Search food DB by name/category/nutrients
Complete nutrient profile for a food
BMR/TDEE/macro targets (Mifflin-St Jeor)
Log food to daily diary
Search recipes by cuisine/diet/calories
Side-by-side nutrient comparison (2-5 foods)
Create user with body stats and goals
x402 payment options for all chains
Daily totals vs targets with micro gaps
Meal nutrient analysis with balance scoring
Multi-day deficiency analysis with severity
medgemma-powered nutrition Q&A
AI recipe from ingredients + constraints
Personalized multi-day AI meal plan
Connect via MCP (Streamable HTTP)
curl -X POST https://dietmeal.org/mcp/ \
-H "Accept: application/json, text/event-stream" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "initialize",
"params": {
"protocolVersion": "2025-03-26",
"capabilities": {},
"clientInfo": {"name": "my-agent", "version": "1.0"}
},
"id": 1
}'
Pay with USDC on Base, Solana, or Ethereum
28 endpoints — Base URL: https://dietmeal.org/api
/healthService status and stats/v1/foods?query=&category=Search foods/v1/foods/:idGet food by ID/v1/foodsAdd custom food/v1/foods/:idUpdate food/v1/foods/compareCompare 2-5 foods/v1/foods/import-usdaImport from USDA/v1/foods/categoriesList categories/v1/foods/usda-search?query=Proxy USDA search/v1/usersCreate profile/v1/users/:idGet profile/v1/users/:idUpdate profile/v1/users/calculate-macrosCalculate BMR/TDEE/macros/v1/meal-plansCreate plan/v1/meal-plans/:idGet plan with meals/v1/users/:userId/meal-plansList user plans/v1/meal-plans/:idUpdate plan/v1/meal-plans/:id/archiveArchive plan/v1/food-logsLog food entry/v1/users/:userId/food-logsGet logs by date/v1/users/:userId/daily-summaryDaily nutrition totals/v1/food-logs/:idDelete entry/v1/recipes?query=&cuisine=Search recipes/v1/recipes/:idGet recipe detail/v1/recipesSubmit recipe/v1/ai/nutrition-advice$0.05 — AI nutrition Q&A/v1/ai/generate-meal-plan$0.10 — AI meal plan/v1/ai/generate-recipe$0.05 — AI recipe/v1/billing/payment-schemesx402 payment options