Skip to main content
Glama
rpint

ckd-meal-plan-mcp

by rpint

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NFYY_MEAL_DBNoCustom path to the SQLite database. Defaults to ~/.nfyy-ckd-meal-plan/meal_plan.db.~/.nfyy-ckd-meal-plan/meal_plan.db

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_patientsA

列出全部模拟患儿(ID / 姓名 / 年龄 / CKD 分期 / 透析方式 / 饮食模式)。

get_patient_profileA

获取某患儿完整档案:年龄/体重/CKD 分期/透析/过敏原/地方饮食文化/3 天日记概况。

get_labsB

获取患儿化验记录(含血钾/血磷/白蛋白/BUN/尿量等)。

get_diet_diaryA

获取患儿最近 N 天饮食日记(餐次/食物/克重/烹饪方式)。

analyze_diet_diaryA

分析患儿最近 N 天饮食日记:识别高钾水果、老火汤、加工食品钠磷超标、蛋白不足/过量、隐藏过敏原。

compute_nutrition_targetsA

根据患儿档案 + 最新化验,输出 KDIGO 2024 / PRNT 2020 个体化营养目标(能量/蛋白/钠/钾/磷/钙/液体)。

generate_meal_planA

生成一日五餐可执行食谱(含克重/餐次/替代方案),并自动写入 SQLite。

save_meal_planA

把已生成的食谱 JSON 字符串写入 SQLite(plan_json 来自 generate_meal_plan 的原始输出)。

list_meal_plansB

列出某患儿已保存的食谱记录(日期/能量/蛋白)。

search_foodB

按名称关键词检索《中国食物成分表》食物,返回肾友分级(钾/磷/钠/嘌呤)。

get_food_profileA

查询某食物的完整营养素与肾友分级(含每 100g 能量/蛋白/钾/磷/钠/钙)。

get_alternativesA

给出某食物的同类等效替代(蛋白源按等蛋白、主食/油脂按等能量换算)。

knowledge_cardA

返回儿童 CKD 营养管理知识卡片(主题可选:限钾/限磷/限钠/蛋白/能量/液体/嘌呤/低蛋白淀粉)。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/rpint/ckd-meal-plan-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server