hansatic-mcp
v1.0.0MCP server for the Hansatic packing API — truck & container load optimization for AI agents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
pack_cargo
Optimize how cargo is loaded into a truck, trailer or shipping container. Returns a physically valid layout (placements with x/y/z and rotation, respecting stacking, fragility, weight and axle constraints) plus the freight billing metrics: LDM (loading meters), linear feet, EUR pallet positions and total weight. Submits an async job and waits for the result — typically 5-30 seconds. Use list_vehicles first if you are unsure of the vehicle code.
| Parameter | Type | Description |
|---|---|---|
items * | array | The cargo manifest |
vehicle * | string | Vehicle code, e.g. CURTAINSIDER_136 (13.6m curtainsider) or 40HC (40ft high-cube container). Get valid codes from list_vehicles. |
ldm_limit_m | number | Restrict the load to the first N loading meters (trucks) |
name | string | Plan name (production mode) |
objective | string | Minimize loading meters (default) or billed pallet positions |
sandbox | boolean | Force sandbox mode (nothing persisted). Omit to let the account tier decide: enterprise accounts create a real plan with a shareable link, others sandbox automatically. |
units | string | How item numbers are read AND returned: mm/kg (default) or in/lb |
list_vehicles
List all available trucks, trailers and shipping containers with their interior dimensions (mm) and max payload (kg). Use the returned codes as the "vehicle" argument of pack_cargo.
check_job
Check the status/result of a packing job by id (only needed if pack_cargo timed out on a very large manifest).
| Parameter | Type | Description |
|---|---|---|
job_id * | string | The job id returned by pack_cargo |