CargoAI MCP Connector - Setup & Documentation

Connect Claude to CargoAI's air cargo platform using the Model Context Protocol (MCP).

In addition to direct API integration, CargoAi provides an MCP (Model Context Protocol) server that wraps these endpoints as tools consumable by AI assistants. The MCP server is available to Platform users with a Premium subscription.

Search live flight rates, track shipments by AWB number, look up airline contacts and ground handling agents, manage shipment tracking subscriptions, directly from your AI assistant.

  • MCP Server URL: https://api.cargoai.co/mcp
  • Authentication: OAuth 2.0 (CargoAI account required)
  • Access: CargoMART Premium or Ultimate plan

Prerequisites

1. A CargoAI account with a Premium or Ultimate plan

The CargoAI MCP connector requires a CargoMART Premium or Ultimate office plan. Free and Basic plans do not have access.

If you don't have an account yet:

  1. Go to cargoai.co and sign up
  2. Contact your CargoAI account manager to upgrade your office to a Premium or Ultimate plan
    If you already have a CargoAI account but are unsure of your plan, log in to CargoMART and check your office settings, or contact [email protected] .

2. Access to Claude.ai or Claude Desktop

A Claude.ai account (any plan) or Claude Desktop is required to use the connector.


Setup

Claude.ai (Web) and Claude Desktop

  1. Go to Claude.ai → Settings → Connectors
  2. Click Add connector
  3. Search for the CargoAI Connector among the list
  4. Click Connect — you will be redirected to CargoAI's login page
  5. Sign in with your CargoAI credentials
  6. The CargoAI connector is now active in your conversations

Available Tools

Track Shipment

Track a shipment by its Air Waybill (AWB) number. Returns current status, location, and full tracking event history.

ParameterTypeRequiredDescription
awb_numberstringYesAWB number (e.g. 020-12345678)

Example: "Track AWB 020-12345678"


Search Flight Rates

Search for available flight rates and schedules between airports. Returns flights with pricing, transit times, and carrier information. Searches may take a few seconds — if results are still loading, the tool will automatically retry to fetch completed results.

ParameterTypeRequiredDescription
destinationstringYesDestination airport IATA code (e.g. CDG)
originstringNoOrigin airport IATA code. Defaults to your office airport
departure_datestringNoDate in YYYY-MM-DD format. Defaults to tomorrow
shipmentobjectNoShipment details: pieces, weight (kg), volume (m³), product, special handling codes
airline_codesarrayNoFilter by airline IATA codes (e.g. ["AF", "QR"])
max_legsintegerNoMaximum number of legs. 1 = direct flights only
sorting_methodstringNocheapest_first (default) or shortest_first

Example: "Find the cheapest direct flights from CDG to JFK tomorrow for 100kg"


Get Airline Contact

Look up contact information for an airline at a specific location. Filter by country, origin airport, or airline name/IATA code.

ParameterTypeRequiredDescription
countryarrayNoCountry names (e.g. ["France"])
originarrayNoAirport IATA codes (e.g. ["CDG"])
airlinearrayNoAirline names or IATA codes (e.g. ["AF"])

Example: "Get Air France cargo contact at CDG"


Get Ground Handling Agent Info

Look up the Ground Handling Agent (GHA) responsible for cargo handling at a given airport for a specific airline.

ParameterTypeRequiredDescription
originarrayNoAirport IATA codes (e.g. ["CDG"])
airlinearrayNoAirline names or IATA codes (e.g. ["AF"])

Example: "Who handles Air France cargo at Frankfurt?"


Subscribe to Shipment Tracking

Subscribe one or more email addresses to receive tracking update notifications for a specific AWB.

ParameterTypeRequiredDescription
awbstringYesAWB with prefix (e.g. 020-12345678)
emailsarrayNoEmail addresses to subscribe. Defaults to your account email
include_account_emailbooleanNoAlso subscribe your account email alongside emails. Default: false

Example: "Subscribe me to tracking updates for AWB 020-12345678"


Unsubscribe from Shipment Tracking

Remove one or more email addresses from tracking update notifications for a specific AWB.

ParameterTypeRequiredDescription
awbstringYesAWB with prefix (e.g. 020-12345678)
emailsarrayNoEmail addresses to remove. Defaults to your account email
include_account_emailbooleanNoAlso remove your account email alongside emails. Default: false

Example: "Unsubscribe [email protected] from AWB 020-12345678 tracking"


Troubleshooting

ErrorCauseFix
MCP access requires a CargoMART Premium planYour account is on a free or Basic planUpgrade to Premium or contact [email protected]
No CargoAI account found for this userEmail not registered in CargoAICreate an account at cargoai.co
Rate search timed outSearch took longer than expectedRetry — large searches may take a few extra seconds

For further help: [email protected]


Privacy Policy

The CargoAI MCP connector processes the following data to fulfill your requests:

  • Authentication data: Your email address and CargoAI user ID, extracted from the OAuth access token, are used solely to authenticate requests and identify your office profile.
  • Query data: Search parameters (airport codes, dates, shipment details, AWB numbers) are transmitted to CargoAI's internal APIs to fulfill tool requests.
  • Email addresses: When using subscribe/unsubscribe tools, provided email addresses are transmitted to CargoAI's tracking service.

No conversation data is stored by the MCP server. Each request is stateless. Operational logs are retained for 30 days and are not shared with third parties outside of CargoAI's infrastructure.

Full privacy policy: cargoai.co/privacy-policy — For privacy-related questions contact our support team: [email protected]