AI assistants (MCP)

Connect Claude or another MCP client to Cargoboard with your API key.

With the Cargoboard MCP server, AI assistants such as Claude Code can work with Cargoboard for you: request quotes, book shipments, look up orders, check the shipment status and print labels. You only need your Cargoboard API key. MCP stands for Model Context Protocol, an open standard for connecting AI assistants to tools.

Requirements

Connect

Server URL:

https://mcp.cargoboard.com/mcp

To add the server to Claude Code, run this command once and replace YourKeyHere with your API key:

claude mcp add --transport http cargoboard https://mcp.cargoboard.com/mcp --header "Authorization: Bearer YourKeyHere"
📘

Different authentication header

The MCP server expects the key as Authorization: Bearer YourKeyHere, not in the X-API-KEY header of the REST API.

The command stores your API key in the MCP configuration. Keep it to yourself: don't share the command in chats or tickets.

Available tools

ToolWhat it doesKey inputs
create_quotationCreates a quotation (price request)Product, shipper and consignee (postal code, country code), one or more shipment lines, optional services
get_quotationReturns a quotationquotationId
create_orderBooks a transport orderProduct, complete shipper and consignee addresses, one or more shipment lines, optional services
get_orderReturns an orderorderId
get_trackingReturns the shipment status of an orderorderId
print_shipment_labelsGenerates shipping labels for an orderorderId, optional format A4 or A6
📘

Bookings are real

The MCP server works with your live Cargoboard account, so create_order books a real shipment. Ask your assistant to show you the order details before it books. Quotes, order lookups and tracking don't book anything.

Product values: STANDARD, EXPRESS, EXPRESS_8, EXPRESS_10, EXPRESS_12, EXPRESS_16, FIX, FIX_8, FIX_10, FIX_12, FIX_16 and DIRECT. See Products.

What quotations and orders support

create_quotation and create_order accept the same shipment details as the REST API:

DetailSee
Several lines per shipment, each with its own package type, dimensions, weight and contentPackage types
Stackability and pallet exchange. Both affect the price.Package types
Tail lift for pickup or deliveryShipper and consignee
Pickup time window, contact or driver call before delivery, delivery without the consignee present, notes for pickup and deliveryShipper and consignee
Dangerous goods (ADR) on the line that contains themDangerous goods

Additional services can change the price. Include them in the quotation so that the quoted price matches the booking.

Example prompts

  • "Get me a Cargoboard quote for 2 euro pallets, 120 × 80 × 150 cm, 400 kg each, from 10115 Berlin (DE) to 80331 Munich (DE)."
  • "Get me a quote for two shipment lines: 2 stackable euro pallets with pallet exchange, and 1 wooden crate. Pickup in Berlin between 8:00 and 14:00, delivery to Munich with a tail lift truck."
  • "Show me the details of order 123456."
  • "What is the current status of order 123456?"
  • "Print the A6 shipping labels for order 123456."

Troubleshooting

If the connection or a tool call fails, check:

  1. The configured URL is exactly https://mcp.cargoboard.com/mcp.
  2. The key is sent as Authorization: Bearer YourKeyHere.
  3. The key is valid and the API is activated for your account.
  4. All required tool fields are present and the values are valid, for example the product.
📘

Need help?

Write to Patrick, our integration specialist, at [email protected]. We reply quickly and help you set up the MCP server.