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 集成