hansatic-mcp

v1.0.0
hansatic-mcp Checked 21 hours ago Published 4 months ago

MCP 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.

ParameterTypeDescription
items *arrayThe cargo manifest
vehicle *stringVehicle code, e.g. CURTAINSIDER_136 (13.6m curtainsider) or 40HC (40ft high-cube container). Get valid codes from list_vehicles.
ldm_limit_mnumberRestrict the load to the first N loading meters (trucks)
namestringPlan name (production mode)
objectivestringMinimize loading meters (default) or billed pallet positions
sandboxbooleanForce sandbox mode (nothing persisted). Omit to let the account tier decide: enterprise accounts create a real plan with a shareable link, others sandbox automatically.
unitsstringHow 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).

ParameterTypeDescription
job_id *stringThe job id returned by pack_cargo