a207-meal-plan-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@a207-meal-plan-mcp Generate a 3-day CKD meal plan for a 7-year-old meeting PRNT targets"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
a207-meal-plan-mcp(M7 · 食谱生成)
儿童 CKD 食谱生成 MCP(营养师可调)。按 M3 的 PRNT 目标(能量/蛋白/钾/磷/钠)生成多日食谱(3 餐 + 加餐),并给出每项目标的达成率。纯计算、无跨包依赖。
工具清单
工具 | 读写 | 调用方 | 说明 |
| 读 | 营养师 | 按 PRNT 目标生成多日食谱 + 达成率 |
| 读 | 营养师 | 从已生成 plan 重新汇总平均每日营养素(校验) |
Related MCP server: ckd-meal-plan-mcp
输入来源
目标值(能量/蛋白/钾/磷/钠)来自 M3
calc_prnt_targets。食物数据:本包内置
data/foods_ckd.json(CKD 适宜食物子集,约 40 项)。
集成说明(重要):为满足「零跨包 import」工程纪律,M7 不调用 M5。生产环境应将内置子集替换为调用 M5
lookup_food_nutrients(1752 食物库)实时取数,使食谱养分与 M5 单一事实源一致。本内置子集数值为常见食物成分近似值,仅供离线演示。
回写约定
生成的食谱条目养分须经 M5 计算后,通过 M3 upsert_food_diary 回写 diet_diary_3d,才能被 M3 assess_intake_vs_target 校验(D 约定见 docs/05)。
运行与部署
与其他 4 个 MCP 一致,发 PyPI 后裸 uvx 可用:
python -m build
python -m twine check dist/*
python -m twine upload dist/* # 用同一个 NFYY 凭据
uvx --refresh a207-meal-plan-mcp测试
python tests/test_tools.py已知缺口(非阻断)
生成策略为确定性启发式(主食供 50% 能量、蛋白源供 70% 蛋白、蔬果固定 100g、油脂补能),非多目标优化求解;多样化仅通过每日轮换食物实现。
未做「食物相克 / 口味偏好 / 烹饪方式」约束,后续可由营养师 Skill 叠加。
未内嵌 M5 全量食物库(见上方集成说明)。
Available Tools
2 toolsgenerate_meal_planA
按 PRNT 目标生成多日食谱(3 餐 + 加餐),返回餐次明细、每日汇总与达成率。营养师调用。
Inputs: target_k_mg (required), target_p_mg (required), target_na_mg (required), target_protein_g (required), +4 more. Returns: object
get_meal_plan_nutrientsA
从已生成 plan 重新汇总整体平均每日营养素(校验用)。
Inputs: plan (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: one generates a new meal plan, the other aggregates nutrient data from an existing plan. There is no overlap or ambiguity between them.
Both tools follow a consistent verb_noun pattern: 'generate_meal_plan' and 'get_meal_plan_nutrients'. The naming style is uniform and predictable.
With only 2 tools, the server feels minimal. While the narrow scope is defensible, it sits at the borderline where 1-2 tools are typically considered thin for a functional domain.
The tool surface covers generation and nutrient validation, but lacks update/delete/list operations for meal plans. There are notable gaps in lifecycle management, though the core generation workflow is present.
Maintenance
Related MCP Connectors
Patient, meal plan, prescription, chart and anthropometry management for dietitians.
AI meal plans that fill your Kroger/Instacart cart - pantry-aware lists, all from chat.
Meal plans, USDA-based nutrition and Instacart groceries for every diet in your household.
Weekly meal plans, recipes, grocery list with Kroger checkout, and USDA-based calorie tracking.
Related MCP Servers
- AlicenseAqualityDmaintenanceGenerates personalized 7-day meal plans based on user profile and goals, and provides daily calorie catch-up suggestions when intake falls short.61MIT
- AlicenseAqualityBmaintenanceThis MCP server generates individualized meal plans for children with chronic kidney disease (CKD) based on KDIGO 2024/PRNT 2020/KRCP 2025 guidelines, incorporating patient age, CKD stage, allergies, dietary culture, and diet diary analysis. It provides deterministic nutrient computations and tools for meal plan generation, food database lookup, and risk analysis.13MIT
- AlicenseAqualityCmaintenanceProvides deterministic parental guidance for children with chronic kidney disease, including food safety checks, lab report interpretation, and nutrient-aware food substitutions based on authoritative guidelines and the Chinese Food Composition Table.12MIT
- FlicenseAqualityBmaintenanceMCP server for pediatric CKD nutrition and food calculations, enabling energy/protein targets, food nutrient lookup, substitutions, meal summaries, and drug-nutrient interaction checks.8-