a207-nutrition-calc-mcp

v0.2.2
a207-nutrition-calc-mcp Checked 3 days ago Published 3 months ago

儿童 CKD 营养与食物成分计算器 MCP(M5),医生助手/营养师/家长助手三 Agent 共用

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add a207-nutrition-calc-mcp -- uvx a207-nutrition-calc-mcp==0.2.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "a207-nutrition-calc-mcp": {
      "args": [
        "a207-nutrition-calc-mcp==0.2.2"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "a207-nutrition-calc-mcp": {
      "args": [
        "a207-nutrition-calc-mcp==0.2.2"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "a207-nutrition-calc-mcp": {
      "args": [
        "a207-nutrition-calc-mcp==0.2.2"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.a207-nutrition-calc-mcp]
command = "uvx"
args = ["a207-nutrition-calc-mcp==0.2.2"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: lookup_food_nutrients, substitute_food, convert_to_household_measure, sum_diet_intake, calc_pnpr, calc_pd_glucose_absorption, check_drug_nutrient_interaction.
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json