a207-nutrition-calc-mcp
Click on "Install 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-nutrition-calc-mcpCalculate daily energy and protein targets for a 4-year-old CKD patient, 16 kg."
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-nutrition-calc-mcp
儿童慢性肾脏病(CKD)营养与食物计算 MCP 包,供 CKDNutri 项目的医生、营养师、家长三类智能体共用(M5 营养/食物计算器)。
依据:PRNT 2020(儿童 CKD 能量与蛋白 SDI)、Schofield 方程、腹膜透析葡萄糖吸收折算。
单位口径
能量:kcal;蛋白/钾/磷/钠:g 或 mg(食物成分表以 mg/100g 计);血电解质:mmol/L
体重:kg;身高:cm;年龄:岁(内部按月龄插值)
Related MCP server: ckd-meal-plan-mcp
八个工具
工具 | 说明 |
| PRNT 2020 能量+蛋白目标;CKD3-5 非透析 0.8-1.0 g/kg/d,血透/腹透 1.0-1.2 g/kg/d;含 Schofield 交叉校验、水肿参考体重、腹透葡萄糖能量扣减 |
| 食物营养素查询,支持份量(碗/个/掌心/克)与烹饪降钾降磷处理,返回高钾/高磷/高钠警示 |
| 食物替换:低钾 / 低磷 / 低钠 / 低蛋白 / 等能量,优先同类食物候选 |
| 克 ↔ 家庭量具双向换算,附家长可感知锚点(鸡蛋/掌心瘦肉/牛奶/瓷勺油/碗饭) |
| 多日饮食汇总,对比目标给出能量/蛋白达成率与钾磷钠来源排序及建议 |
| 磷蛋白比(mg P/g 蛋白)计算,辅助低磷食物优选 |
| 腹膜透析葡萄糖吸收量(按留腹时长 × 转运特性),折算 kcal |
| 药物-营养素交互提示(磷结合剂、活性维 D、利尿剂、激素、铁剂等) |
目录结构
a207-nutrition-calc-mcp/
├── pyproject.toml
├── README.md
├── src/a207_nutrition_calc_mcp/
│ ├── __init__.py
│ ├── core.py # 8 工具门面(纯逻辑,无 MCP/pydantic 依赖)
│ ├── server.py # FastMCP >=2 服务定义(8 个 @mcp.tool)
│ ├── models.py # pydantic v2 入参模型(extra=forbid)
│ ├── constants.py # 参考表与阈值
│ ├── targets.py # 能量/蛋白目标与腹透葡萄糖
│ ├── fooddb.py # 食物数据访问与分级
│ ├── measures.py # 家庭量具解析
│ ├── foods.py # 查询/替换/换算/磷蛋白比
│ ├── diary.py # 饮食汇总
│ ├── pharma.py # 药物-营养素交互
│ └── data/food_data.csv
└── tests/test_tools.py设计约束
不依赖、不 import 任何其它
a207-*包(纯计算,无写权限)结果可解释:返回 guideline 引用与规则依据
仅正向/边界/超时分支齐全,错误以
{"ok": false, "error": ...}形式返回
运行与测试
# 编译(server.py/models.py 依赖 fastmcp/pydantic,仅做语法校验)
python -m py_compile src/a207_nutrition_calc_mcp/*.py
# 纯标准库自测(core 逻辑不依赖 fastmcp/pydantic,可独立运行)
python tests/test_tools.py返回非零退出码表示存在失败用例。
启动 MCP 服务
pip install -e .
python -m a207_nutrition_calc_mcp.server
# 或
fastmcp dev src/a207_nutrition_calc_mcp/server.py
# 或(已注册 console script 后)
uvx --from . a207-nutrition-calc-mcpMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceMock MCP server for pediatric CKD risk warning, enabling patient biochemical trend retrieval, deterministic risk rule evaluation, structured alert triggering, and clinical SOP lookup using simulated data.Last updated5MIT
- 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.Last updated13MIT
- Alicense-qualityCmaintenanceProvides 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.Last updatedMIT
- FlicenseAqualityCmaintenanceMCP server that provides food composition data from USDA FoodData Central, enabling search, nutrient lookups, and recipe nutrition calculations.Last updated4
Related MCP Connectors
MCP gateway federating 21 biomedical MCP servers behind one endpoint: gnomAD, ClinVar, HPO, VEP.
Patient, meal plan, prescription, chart and anthropometry management for dietitians.
MCP server for medicare-coverage
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ayeyouok/a207-nutrition-calc-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server