[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [MSC port directory](https://spiral.ai/integrations/claude-code/msc-port-directory)

# How to Use MSC port directory in Claude Code

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, no API key |

## Prompts to try with MSC port directory in Claude Code

- Use MSC port directory to resolve Rotterdam and Antwerp, then add the returned port references to this project's shipping location selector.
- Use MSC port directory to look this up and give me the result as a table. Save the result in ./assets.
- 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.

## How to set up MSC port directory in Claude Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude Code 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 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: Claude Code finds MSC port directory on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## 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 Claude Code?

Build an MSC operations view with shipment milestone timelines, sailing comparisons, and port and vessel references. A coding agent can put those records into the project's existing screens and highlight changes for an operator to 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 Claude Code guides](https://spiral.ai/integrations/claude-code)

## 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)
- [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)
- [n8n](https://spiral.ai/integrations/n8n/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 Claude Code guides

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

## Questions about MSC port directory in Claude Code

**Can Claude Code use MSC port directory?**

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

**How much does MSC port directory cost in Claude Code?**

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

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

No. Spiral runs MSC port directory on its own Alexandria account. You sign in to Spiral once and never paste a key.

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

About two minutes: add the hosted server, then sign in.

**Does Claude Code wait while MSC port directory runs?**

MSC port directory runs in the background. Claude Code 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.

