How to Use MSC port arrivals and departures in opencode
Returns MSC vessel arrivals and departures for a selected port. Use it to review activity at one port across ships, rather than follow one vessel's itinerary.
Prompts to try with MSC port arrivals and departures in opencode
Copy an example into opencode, or ask in your own words.
Use MSC port arrivals and departures to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from MSC port arrivals and departures and tell me what changed since last week.
Check MSC port arrivals and departures and summarize what you find in three bullet points.
Pull the newest data from MSC port arrivals and departures and give me the result as a table.
Check MSC port arrivals and departures every morning and tell me only when something changed.
How to set up MSC port arrivals and departures in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run MSC port arrivals and departures
One request; the result comes back by polling or a webhook.
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/port_arrivals_departures", "input": { "port_code": "<port_code>" } }'
Then paste one of the prompts above: opencode finds MSC port arrivals and departures on Spiral, shows the price and runs it.
MSC port arrivals and departures providers and prices
Spiral runs MSC port arrivals and departures through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Language | en or fr | en | Response language for labels (service names and messages stay as MSC publishes them). |
Every API field of MSC shipment tracking and schedules · Port arrivals departures is on its tool page: open its card above.
What can you do with MSC port arrivals and departures in opencode?
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.
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.
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.
More on MSC port arrivals and departures and opencode
Overview
MSC port arrivals and departures in other agents
Questions about MSC port arrivals and departures in opencode
Can opencode use MSC port arrivals and departures?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run MSC port arrivals and departures like any built-in tool.
How much does MSC port arrivals and departures cost in opencode?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use MSC port arrivals and departures in opencode?
No. Spiral runs MSC port arrivals and departures 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 arrivals and departures in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while MSC port arrivals and departures runs?
MSC port arrivals and departures runs in the background. opencode 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.
Start using MSC port arrivals and departures in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


