Raw to Cooked Weight MCP

io.github.theluckystrike由 GitHub 账号 theluckystrike 发布v1.0.0更新于 Nov 3, 2026

根据USDA烹饪产出数据,按部位和烹饪方式列出的肉类和禽类生重与熟重。

AI 翻译由 AI 模型根据下方的原文描述翻译,可能有误。

原文描述

Raw to cooked weight of meat and poultry by cut and cooking method from USDA cooking yields.

已验证Streamable HTTP可网页运行

概览

Raw to Cooked Weight 的托管 MCP 服务(raw-to-cooked-weight-mcp.lipmichal.workers.dev);无需登录;Streamable HTTP;5 个工具。

暂无 AI 概览:以下信息来自注册中心条目和服务本身。

端点
raw-to-cooked-weight-mcp.lipmichal.workers.dev
最近检查

安装

在 SourceWeft 中

  1. 打开 控制台中的 Raw to Cooked Weight MCP,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.theluckystrike%2Fraw-to-cooked-weight-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "raw-to-cooked-weight": {
      "type": "http",
      "url": "https://raw-to-cooked-weight-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

README

raw-to-cooked-weight-mcp

Raw to cooked weight for meat and poultry, for AI assistants, by cut and cooking method, from the USDA Table of Cooking Yields for Meat and Poultry.

This is a Model Context Protocol (MCP) server. It converts raw weight to cooked weight and cooked weight back to raw weight with the cooking yields USDA measured for 173 cut and method pairs of beef, pork, chicken, turkey, lamb, veal, bison and game. It needs no API key.

Tools

ToolWhat it returns
convert_raw_to_cookedCooked weight of a raw cut (chicken thigh, 80/20 ground beef, pork tenderloin, bacon) in g, oz, lb and kg, the range seen across USDA samples, the weight lost and the USDA row used.
convert_cooked_to_rawRaw weight behind a cooked portion, for logging food against raw nutrition labels or scaling a recipe written in cooked weight.
calculate_raw_weight_to_buyHow much raw meat to buy for a number of cooked servings (default 3 oz cooked).
find_cooking_yieldUSDA cooking yield percent, sample range, moisture change and fat change for a cut and method, with close alternatives and their yield_id.
list_cooking_yieldsAll rows of the USDA table by category (beef, pork, poultry, chicken, turkey, lamb, veal, game, sausage) and method.

Every result has structured JSON, a one-paragraph summary, as_of, source and more (the raw to cooked weight calculator on recipetool.net).

What it knows that your model does not

  • Yields differ by cut, fat level and method. A flat "meat loses 25%" rule is wrong for most cuts. USDA measured bacon at 29 to 32% of its raw weight, 80/20 ground beef crumbles at 67%, a grilled bone-in rib eye steak at 85.7% and a boneless cured ham at 94 to 96%.
  • The exact USDA number, its sample count and its range. Roast chicken thigh is 69%, but USDA samples ran from 58% to 79%. The tools return both.
  • Ground meat lean ratios. "80/20", "93% lean" and "73/27" map to the USDA low, medium and high fat classes for beef (under 12%, 12 to 22%, over 22% fat) and pork (under 10%, 10 to 27%, over 27%).
  • What is not covered. Fish, seafood, rice, pasta and vegetables are not in the USDA table. The tools say so instead of guessing.

Install

Hosted (Claude.ai custom connector, ChatGPT developer mode)

Paste this URL. No token, no sign-up.

https://raw-to-cooked-weight-mcp.lipmichal.workers.dev/mcp

Claude Code

claude mcp add --transport http raw-to-cooked https://raw-to-cooked-weight-mcp.lipmichal.workers.dev/mcp

Or run it locally over stdio:

claude mcp add raw-to-cooked -- npx -y github:theluckystrike/raw-to-cooked-weight-mcp

Claude Desktop

Add to claude_desktop_config.json:

json
{  "mcpServers": {    "raw-to-cooked": { "command": "npx", "args": ["-y", "github:theluckystrike/raw-to-cooked-weight-mcp"] }  }}

Cursor

Add to ~/.cursor/mcp.json:

json
{  "mcpServers": {    "raw-to-cooked": { "url": "https://raw-to-cooked-weight-mcp.lipmichal.workers.dev/mcp" }  }}

VS Code

Add to .vscode/mcp.json:

json
{  "servers": {    "raw-to-cooked": { "type": "http", "url": "https://raw-to-cooked-weight-mcp.lipmichal.workers.dev/mcp" }  }}

Node 20 or newer is needed for the local stdio version.

Example prompts

  • "I weighed 150 g of cooked chicken thigh. What was the raw weight for my macro log?"
  • "How much does 2 lb of raw 80/20 ground beef weigh after browning?"
  • "How much raw brisket do I buy to serve 12 people 4 oz cooked each?"
  • "What percent of its weight does bacon lose in the microwave?"
  • "Which pork cuts keep the most weight when grilled?"

Data sources

Full list with fetch dates and checksums in DATA_SOURCES.md.

  • USDA Agricultural Research Service, Nutrient Data Laboratory. USDA Table of Cooking Yields for Meat and Poultry, Release 2, September 2014. PDF and Excel. The Excel file is in data/ and scripts/build_data.py rebuilds the table from it.
  • Pound and ounce from NIST SP 811 (1 lb = 453.59237 g exactly).

Limitations

  • USDA yield is hot cooked weight over raw weight of the same piece, cooked to USDA research protocols. Doneness, trim, bone, brines and how much of the pan juice you keep move your result. The tools return the USDA range when there is one.
  • Rows with a 1975 release year come from USDA Agriculture Handbook 102. They have no sample count, moisture or fat change.
  • A bone-in cut keeps its bone in both weights. Boneless skinless chicken breast and grilled chicken breast are not in the table; the tools return the closest row and say so.
  • Fish, seafood, duck, eggs, rice, pasta and vegetables are not covered.

More

The raw to cooked weight calculator and recipe nutrition tools are on recipetool.net.

Part of the Zovo MCP collection: https://mcp.zovo.one

Development

npm installnpm test                       # builds, then runs the fixture testsnode scripts/smoke-stdio.mjs   # stdio check, one real call per toolpython3 scripts/build_data.py data/USDA_CookingYields_MeatPoultry02.xlsx data/cooking-yields.jsonpython3 scripts/gen_ts.py data/cooking-yields.json src/data.tsnpx wrangler deploy            # Cloudflare Worker, Streamable HTTP at /mcp

License

MIT

来源:README.md,提交 ce60e18

工具

5

convert_raw_to_cooked

Convert raw to cooked weight

Cooked weight of raw meat or poultry using the USDA measured cooking yield for that cut and cooking method (USDA Table of Cooking Yields for Meat and Poultry). Returns the expected cooked weight in g, oz, lb and kg, the range seen across USDA samples, the weight lost, and the USDA row used. Understands ground beef lean ratios such as 80/20 or 93% lean.

输入参数foodunitmethodyield_idraw_weight必填

convert_cooked_to_raw

Convert cooked to raw weight

Raw weight that a cooked portion of meat or poultry came from, using the USDA measured cooking yield. Use it to log a cooked portion against raw nutrition data (labels and most databases list raw meat) or to scale a recipe written in cooked weight. Returns raw weight in g, oz, lb and kg, and the raw weight if the yield was at the USDA high or low end.

输入参数foodunitmethodyield_idcooked_weight必填

calculate_raw_weight_to_buy

Calculate raw meat to buy

How much raw meat or poultry to buy for a number of cooked servings, from the USDA cooking yield for that cut and method. Default cooked serving is 3 oz (85 g).

输入参数foodunitmethodservings必填yield_idcooked_serving_size

find_cooking_yield

Find USDA cooking yield

Look up the USDA cooking yield percent for a cut of meat or poultry and a cooking method, with the yield range, sample count, moisture change and fat change measured by USDA, plus up to 4 close alternative rows with their yield_id.

输入参数food必填limitmethod

list_cooking_yields

List USDA cooking yields

List rows of the USDA Table of Cooking Yields for Meat and Poultry, filtered by category (beef, pork, poultry, chicken, turkey, lamb, veal, game, sausage) and cooking method.

输入参数methodcategory

版本历史

1
  1. v1.0.0最新Nov 3, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分