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 分