# FreightUtils MCP Server

A reference and calculation layer for freight: your agent works out chargeable weight, LDM, duty and ADR eligibility, with a source citation on every answer.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 8
- Author: SoapyRED
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/SoapyRED/freightutils-mcp
- Updated: 2026-10-19
- HTML: https://affpapa.org/en/nevibecode/mcp/freightutils-mcp-server

## What it does

The server exposes 25 tools spanning road, air and sea. Calculators cover loading metres, cubic metres, air chargeable weight, box-on-pallet fitting, ISO container specs, unit conversion and a consignment calculator that handles multi-item CBM, LDM and mode-specific chargeable weight. `emissions_calculator` returns CO2e using the ISO 14083 / GLEC distance-based method with open DEFRA, EPA and ADEME factors.

Dangerous goods and customs sit in their own group. `adr_lookup` searches 2,939 UNECE ADR 2025 entries, `adr_exemption_calculator` checks the 1.1.3.6 small load exemption, and `adr_lq_eq_check` covers Limited and Excepted Quantities. Tariff work runs through `hs_code_lookup` (6,940 HS 2022 codes), `uk_duty_calculator` on live GOV.UK Trade Tariff data and `incoterms_lookup`. Reference tools resolve airlines, airports, UN/LOCODE locations and ULD types; `validate` scans free text for ISO 6346 containers, AWB and IMO numbers and checks their check digits.

Answers are deterministic and carry a `_source` block naming the authority, edition, licence and verification status. This is reference material, not filing or legal advice: a clean `ics2_check` does not mean an ENS was accepted, and `validate` only does structural check-digit work. Anonymous calls are capped at 25 requests per day per IP, so steady use needs a key in `FREIGHTUTILS_API_KEY` — the package reads it from `process.env` and sends `Authorization: Bearer <key>` with each request.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://www.freightutils.com/api/mcp`

## Install

### Claude Code (native platform)

1. **Platform CLI: remote server**
```bash
claude mcp add --transport http freightutils https://www.freightutils.com/api/mcp
```

2. **Platform CLI**
```bash
claude mcp add freightutils-mcp-server -- npx -y freightutils-mcp
```

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add freightutils-mcp-server --url https://www.freightutils.com/api/mcp
```

2. **Platform CLI**
```bash
codex mcp add freightutils-mcp-server -- npx -y freightutils-mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "freightutils-mcp-server": {
            "url": "https://www.freightutils.com/api/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "freightutils-mcp-server": {
            "command": "npx",
            "args": [
                "-y",
                "freightutils-mcp"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "freightutils-mcp-server": {
            "type": "http",
            "url": "https://www.freightutils.com/api/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "freightutils-mcp-server": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "freightutils-mcp"
            ]
        }
    }
}
```

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http freightutils-mcp-server https://www.freightutils.com/api/mcp
```

2. **Platform CLI**
```bash
gemini mcp add freightutils-mcp-server npx -y freightutils-mcp
```

## When to use it
- work out loading metres for a European or US trailer
- compare volumetric and actual weight for an air shipment
- check whether a consignment qualifies for the ADR 1.1.3.6 small load exemption
- find the HS code and estimate UK import duty and VAT
- catch container, AWB and IMO numbers with a bad check digit in a booking line

## Example prompts
- Calculate chargeable weight for a 120×80×100 cm box at 45 kg, air freight
- Check whether UN 1789 can ship as a small load under ADR
- Look up the HS 2022 code for a coffee grinder and estimate UK import duty

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119160
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47392
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43872

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
