Maersk Vessel Deadlines
Access Maersk vessel schedules and shipment deadlines programmatically via the Maersk API.
Maersk Vessel Deadlines MCP Server
This project is a Model Context Protocol (MCP) server that provides programmatic access to Maersk vessel information, including vessel schedules and shipment deadlines. It exposes tools that can be used by MCP-compatible clients (like Claude Desktop, GPTs, or other AI assistants) to retrieve up-to-date shipping data from Maersk's public APIs.
About Model Context Protocol (MCP)
The Model Context Protocol is an open standard that enables AI assistants to connect to external data sources and tools. MCP servers provide a standardized way for AI models to access real-time information and perform actions through a secure, structured interface.
Features & Available Tools
The MCP server exposes the following tools:
1. get_vessel_imo
- Description: Retrieve the IMO (International Maritime Organization) number for a vessel by its name.
- Input: Vessel name (string)
- Output: IMO number (string)
2. get_vessel_schedule
- Description: Retrieve the schedule and shipment deadlines for a vessel, given its IMO number, voyage number, port of loading, and ISO country code.
- Inputs:
vessel_imo
: IMO number of the vessel (string)voyage_number
: Voyage number (string)port_of_loading
: Port of loading (string)iso_country_code
: ISO country code of the port (string)
- Output: Human-readable summary of the vessel's schedule and deadlines
3. get_port_calls
- Description: Retrieve the vessels calling on a specific port, given its Country and Port of Loading city for the next one week.
- Inputs:
country_code
: ISO Country Codecity_name
: POL City name
- Output: Human-readable summary of vessels calling upon the port in the next 1 week.
These tools are defined in main.py
and are accessible via the MCP protocol for integration with AI assistants and other MCP clients.
Requirements
- Python 3.11+
- Maersk API Consumer Key (set as
CONSUMER_KEY
in your environment)
Installation & Usage
Using Docker (Recommended)
A prebuilt Docker image is available at dipankan001/maersk-mcp:v1
:
docker pull dipankan001/maersk-mcp:v1
docker run -e CONSUMER_KEY=INSERT_API_KEY_HERE dipankan001/maersk-mcp:v1
Connecting to MCP Clients
Claude Desktop
Add this to your Claude Desktop configuration:
{
"mcpServers": {
"maersk-mcp-server": {
"command": "docker",
"args": ["run", "--rm", "-i", "-e", "CONSUMER_KEY=<INSERT_API_KEY_HERE>", "dipankan001/maersk-mcp:v1"]
}
}
}
Other MCP Clients
For other MCP-compatible clients, configure the server using the appropriate connection method (HTTP, stdio, etc.) as specified in the MCP specification.
Endpoints
The app exposes MCP tools for:
- Getting vessel IMO numbers
- Fetching vessel schedules and shipment deadlines
- Fetching active port call vessels
See main.py
for details on available tools and their parameters.
Resources
Related Servers
Remote MCP Server (Authless)
A template for deploying a remote, authentication-free MCP server on Cloudflare Workers.
Proxmox MCP Server
A server for managing Proxmox VE environments directly from your project directory.
Mapbox
An MCP server for interacting with the Mapbox API, providing access to maps, navigation, and other location-based services.
Google Campaign Manager 360 by CData
A read-only MCP server for Google Campaign Manager 360, powered by the CData JDBC Driver.
Aiven
Navigate your Aiven projects and interact with the PostgreSQL®, Apache Kafka®, ClickHouse® and OpenSearch® services
Kubernetes
Interact with Kubernetes clusters using natural language to manage and query resources.
Shopify MCP Server
Interact with Shopify store data such as products, customers, and orders using the GraphQL API.
Cloudflare MCP Server
Deploy a remote, authentication-free MCP server on Cloudflare Workers.
Authless Remote MCP Server
A remote MCP server without authentication, deployable on Cloudflare Workers.
Remote MCP Server on Cloudflare
An MCP server designed to run on Cloudflare Workers, featuring OAuth login support for secure access.