[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [MSC port directory](https://spiral.ai/integrations/n8n/msc-port-directory)

# How to Use MSC port directory in n8n

Returns port references from MSC's schedule tools. Use it to identify the port you need before comparing sailings or checking arrivals and departures.

|  |  |
| --- | --- |
| Model | MSC port directory |
| Available through | Alexandria |
| Category | Lead Gen |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with MSC port directory in n8n

- Every Monday at 9am: use MSC port directory to look this up and give me the result as a table.
- Pull the latest numbers from MSC port directory and tell me what changed since last week.
- Check MSC port directory and summarize what you find in three bullet points.
- Pull the newest data from MSC port directory and give me the result as a table.
- Check MSC port directory every morning and tell me only when something changed.

## How to set up MSC port directory in n8n

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send n8n this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run MSC port directory in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds MSC port directory, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run MSC port directory**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "msc-com/shipment-tracking/list_ports",
    "input": {
      "query": "<query>"
    }
  }'
```

Then paste one of the prompts above: n8n finds MSC port directory on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## MSC port directory tools and prices

- [MSC shipment tracking and schedules · List ports](https://spiral.ai/tools/alexandria/msc-com/shipment-tracking/list_ports) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| query |  | — | Case-insensitive substring matched against the port name and UN/LOCODE. |
| country |  | — | ISO-2 country code filter, e.g. US. Pattern: ^[A-Za-z]{2}$. |

## What can you do with MSC port directory in n8n?

Receive an MSC change report when a watched sailing, vessel itinerary, or relevant customer notice changes. A scheduled agent can compare successive results and flag items that may affect departure planning or an EU entry review.

### Prepare an export handoff

For a Rotterdam to New York shipment, identify the ports and vessels, compare sailings and cut-offs, check the loading port's calls, and review relevant MSC notices. Produce a cargo handoff checklist for the selected sailing.

### Plan inbound warehouse staffing

Combine cargo milestones with vessel itineraries and destination port calls for your business's shipments. Resolve port and vessel references before drafting a receiving plan for Rotterdam.

### Cross-check EU entry filing references

Match a shipment's vessel and voyage to MSC's first EU or UK port table and customs office reference. Resolve names and compare the vessel itinerary so a filer can review discrepancies.

### Respond to a disrupted sailing

Compare a shipment's milestones and vessel and port calls with MSC notices, then inspect alternative sailings. Use port and vessel references to keep the current shipment and replacement options clearly identified.

### Review a shipment's planned and reported journey

Compare a shipment's sailing plan with reported milestones, the vessel itinerary, and MSC notices. For EU-bound cargo, include the first-entry reference when assembling questions for the carrier.

### Compare European gateways

Compare MSC sailings to Rotterdam and Antwerp, their port calls, vessel itineraries, and relevant notices. Add the published first-entry reference for selected vessels to help a planner distinguish the discharge port from the filing entry port.

### Reconcile shipping reference names

Check Rotterdam, Antwerp, and the MSC vessels used in an operations report against MSC's reference lists. Prepare consistent port and vessel names for later schedule and shipment reviews.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## MSC port directory in other agents

- [Amp](https://spiral.ai/integrations/amp/msc-port-directory)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/msc-port-directory)
- [Claude](https://spiral.ai/integrations/claude-desktop/msc-port-directory)
- [Claude Code](https://spiral.ai/integrations/claude-code/msc-port-directory)
- [Cline](https://spiral.ai/integrations/cline/msc-port-directory)
- [Codex](https://spiral.ai/integrations/codex/msc-port-directory)
- [Cursor](https://spiral.ai/integrations/cursor/msc-port-directory)
- [Devin](https://spiral.ai/integrations/devin/msc-port-directory)
- [dots](https://spiral.ai/integrations/dots/msc-port-directory)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/msc-port-directory)
- [Gemini](https://spiral.ai/integrations/gemini/msc-port-directory)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/msc-port-directory)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/msc-port-directory)
- [goose](https://spiral.ai/integrations/goose/msc-port-directory)
- [Grok](https://spiral.ai/integrations/grok/msc-port-directory)
- [Grok Build](https://spiral.ai/integrations/grok-build/msc-port-directory)
- [Hermes](https://spiral.ai/integrations/hermes/msc-port-directory)
- [Instinct](https://spiral.ai/integrations/instinct/msc-port-directory)
- [Manus](https://spiral.ai/integrations/manus/msc-port-directory)
- [Muse](https://spiral.ai/integrations/muse/msc-port-directory)
- [Muse Code](https://spiral.ai/integrations/muse-code/msc-port-directory)
- [Notion](https://spiral.ai/integrations/notion/msc-port-directory)
- [OpenClaw](https://spiral.ai/integrations/openclaw/msc-port-directory)
- [opencode](https://spiral.ai/integrations/opencode/msc-port-directory)
- [Perplexity](https://spiral.ai/integrations/perplexity/msc-port-directory)
- [Raycast](https://spiral.ai/integrations/raycast/msc-port-directory)
- [VS Code](https://spiral.ai/integrations/vscode/msc-port-directory)
- [Windsurf](https://spiral.ai/integrations/windsurf/msc-port-directory)
- [Zapier](https://spiral.ai/integrations/zapier/msc-port-directory)

## More n8n guides

- [MSC port arrivals and departures](https://spiral.ai/integrations/n8n/msc-port-arrivals-and-departures)
- [MSC sailing schedules](https://spiral.ai/integrations/n8n/msc-sailing-schedules)
- [MSC first EU port arrivals](https://spiral.ai/integrations/n8n/msc-first-eu-port-arrivals)
- [MSC shipment tracking](https://spiral.ai/integrations/n8n/msc-shipment-tracking)
- [MSC customer advisories](https://spiral.ai/integrations/n8n/msc-customer-advisories)
- [MSC vessel directory](https://spiral.ai/integrations/n8n/msc-vessel-directory)

## Questions about MSC port directory in n8n

**Can n8n use MSC port directory?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run MSC port directory like any built-in tool.

**How much does MSC port directory cost in n8n?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

**Do I need an Alexandria account to use MSC port directory in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs MSC port directory on its own Alexandria account.

**How long does it take to set up MSC port directory in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while MSC port directory runs?**

MSC port directory runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**How broad is MSC's geographic coverage?**

MSC describes its network as 300 global routes serving 520 ports in more than 155 countries. Those figures describe the shipping network, not the number of records a lookup will return.

**Whose shipping information does this cover?**

The source is MSC's own public tools on msc.com: shipment milestones, sailing and port-call schedules, and reference lists. Its scope is the information MSC publishes through those tools.

**Can an advisory appear before the schedule changes?**

Yes. In its October 31, 2026 Australia Express notice, MSC said booking confirmations and online schedules would be updated progressively to reflect revised voyages.

**Does MSC publish cargo deadlines alongside schedules?**

MSC publishes vessel-specific cargo cut-off information alongside schedules. That makes a sailing's departure estimate and its cargo deadline separate details to check.

**Can a notice describe a change that has not happened yet?**

Yes. MSC's November 19, 2026 notice announced that the reinstated Mustang service would depart Yantian on December 13, 2026. Publication dates and operational dates can differ.

