Container Loading Calculator

io.github.CindyLiao1106由 GitHub 帳號 CindyLiao1106 發布v1.0.0更新於 Oct 25, 2026

Work out how many flat-pack units fit in a 20ft or 40HQ container: layers, weight and utilisation.

發布方自己的服務:Calculator Tools MCP

已驗證Streamable HTTP可網頁執行資料與分析商業與電商

概覽

AI 產生的概覽

一個遠端 MCP 伺服器,估算 20 呎或 40 呎高櫃貨櫃能裝多少平板包裝單元,並提供層數、重量限制與利用率。

可以做什麼
依單一單元計算裝櫃:每層單元數、依高度可裝層數,以及 20GP 或 40HQ 貨櫃的總裝量,輸入為一個單元的包裝尺寸與重量。回報限制裝載的因素是體積還是載重,並給出體積利用率與載重利用率百分比。可選擇限制堆疊層數,並嘗試將單元旋轉 90 度以增加每層裝量。當缺少包裝尺寸或單元重量時拒絕給出數字,並列出缺少的輸入。
適用情境
適合在為平板包裝貨物、板材或木箱報價或安排運輸時,快速判斷在訂艙前是體積還是重量會成為裝載上限。
執行需求
遠端端點;未宣告需要本機安裝、帳號或 API 金鑰。助理需提供貨櫃類型以及單一單元的包裝長、寬、高與重量。
安裝前請注意
貨櫃尺寸與載重為常見公開資料,未經承運人確認,訂艙前應核對承運人資料與實際裝箱單。結果高度依賴包裝高度與單元重量,兩者取決於工廠包裝方式。體積利用率依包裝外形計算,而非產品淨體積。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Container Loading Calculator,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.CindyLiao1106%2Fcontainer-loading/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "container-loading-calculator": {
      "type": "http",
      "url": "https://buildextechnology.com/api/mcp"
    }
  }
}

README

Container loading calculator

How many flat-pack units — or panels, or crates — fit in a 20ft or 40HQ container, and what limits the load: volume or payload. No dependencies, one file.

python3 container_loading.py 40hq 2900 2200 600 900
json
{  "container": "40ft high cube",  "units_per_layer": 4,  "layers": 4,  "units_by_volume": 16,  "units_by_payload": 31,  "units": 16,  "limited_by": "volume",  "volume_utilisation_pct": 80.2,  "payload_utilisation_pct": 50.3}

The same unit in a 20ft, with a heavier unit, is weight-limited instead:

python3 container_loading.py 20gp 1000 1000 500 5000# units_by_volume 40 · units_by_payload 5 · units 5 · limited_by "weight"

Options

flagwhat it does
--max-layers Ncaps the number of layers when the packing method limits stacking
--rotatetries rotating each unit 90° and uses whichever fits more per layer

Why it refuses to calculate

If the packed length, width, height or the unit weight is missing, the tool raises an error listing exactly what is missing instead of returning a number. A guessed loading plan is how deposits get lost — the packed height and the unit weight are the two inputs that move the answer most, and both come from the factory packing method.

Container data used

Typical published internal dimensions and payloads. Confirm against the carrier's own data and the actual packing list before booking.

containerinternal L × W × H (mm)payload (kg)
20ft GP5898 × 2352 × 239328,200
40ft HQ12032 × 2352 × 269828,600

Volume utilisation is calculated on the packed envelope (length × width × height of one unit), not on the net product volume.

Web version

Same logic, in the browser, no install: container loading calculator — the tool we use ourselves when quoting flat-pack buildings and aluminium ceiling systems.

Tests

python3 tests/test_loading.py

License

MIT

來源:README.md,提交 96de5ed

工具

1

container_loading

Container loading plan

Work out how many flat-pack units or panels fit in one 20ft (20GP) or 40ft high cube (40HQ) container. Returns units per layer, layers that fit the height, units limited by volume and by payload, the binding constraint, and the volume/payload utilisation. Use the packed size and weight of ONE unit. It does not estimate: if a dimension or the weight is missing it returns what is missing instead of a number.

輸入參數container必填maxLayersunitWidthMm必填unitHeightMm必填unitLengthMm必填unitWeightKg必填allowRotation

版本歷史

1
  1. v1.0.0最新Oct 15, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Calculator 整合