Hansatic MCP Server

Give your AI agent the ability to pack trucks and shipping containers. This MCP server wraps the Hansatic packing API: submit a cargo manifest, get back a physically valid layout — placements with…

Local serverstdioMIT

What is the Hansatic MCP Server?

Hansatic is an MCP project maintained in the 1aleksa/hansatic-mcp repository. The maintainer describes its purpose as “Give your AI agent the ability to pack trucks and shipping containers. This MCP server wraps the Hansatic packing API: submit a cargo manifest, get…”. Read the project documentation for the complete scope.

Installation

The documented npm package is hansatic-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares HANSATIC_API_KEY. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
pack_cargoOptimize a cargo manifest into a vehicle. Async under the hood; returns the finished layout + metrics in one call (typically 5–30s). Production accounts get…
list_vehiclesAll built-in trucks, trailers and containers with interior dimensions and payload — the valid vehicle codes.
check_jobPoll a job by id (only for very large manifests that outlive the tool timeout).

How to install the Hansatic MCP Server

{
  "mcpServers": {
    "hansatic": {
      "command": "npx",
      "args": [
        "-y",
        "hansatic-mcp"
      ],
      "env": {
        "HANSATIC_API_KEY": "YOUR_HANSATIC_API_KEY"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
HANSATIC_API_KEYDeclared in the maintainer’s client configuration.Check documentation