How to Use NGA World Port Index search in Grok
Returns matching World Port Index ports by name, country, or UN/LOCODE. Use it to identify a port before comparing its published characteristics or retrieving its record.
Prompts to try with NGA World Port Index search in Grok
Copy an example into Grok, or ask in your own words.
Use NGA World Port Index search to find Mombasa in Kenya and Dar es Salaam in Tanzania, then compare the port characteristics returned.
Use NGA World Port Index search to look this up and give me the result as a table.
Pull the latest numbers from NGA World Port Index search and tell me what changed since last week.
Check NGA World Port Index search and summarize what you find in three bullet points.
Pull the newest data from NGA World Port Index search and give me the result as a table.
How to set up NGA World Port Index search in Grok
Pick the way that suits you. Each takes about two minutes.
Use the Grok connector
- Add a custom connector
In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.
- Check that it is connected
Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.
Use the Spiral skill
- Send Grok 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 NGA World Port Index search
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": "msi-nga-mil/maritime-safety/search", "input": { "limit": 1 } }'
Then paste one of the prompts above: Grok finds NGA World Port Index search on Spiral, shows the price and runs it.
NGA World Port Index search providers and prices
Spiral runs NGA World Port Index search through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Grok for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Limit | 1 to 500 | limit |
Every API field of NGA Maritime Safety Information · Search is on its tool page: open its card above.
What can you do with NGA World Port Index search in Grok?
Turn NGA port records or warning messages into a comparison or a readable desk brief. A chat app can explain published vessel limits and summarize the source text of selected notices.
Add port reference data to a shipping directory
Find Rotterdam, Antwerp, and Hamburg, inspect their port records, and populate a directory with published locations and harbor characteristics. Check publication status before refreshing the underlying collection.
Compare published vessel limits
Identify Mombasa and Dar es Salaam, retrieve their records, and compare the maximum vessel dimensions and depths reported in the World Port Index. Refresh the comparison when its source publication changes.
Research alternative commercial ports
Compare Singapore and Port Klang using their published facilities, services, harbor characteristics, and vessel limits. Resolve the port names first, inspect the relevant records, and maintain the comparison against the published collection.
Maintain port profiles for a logistics team
Match a port directory to World Port Index entries, collect the published records, and revisit selected entries after a publication change. Show the differences in port particulars for editorial review.
More on NGA World Port Index search and Grok
Overview
NGA World Port Index search in other agents
Questions about NGA World Port Index search in Grok
Can Grok use NGA World Port Index search?
Yes. Add Spiral to Grok as an MCP server, and Grok can find and run NGA World Port Index search like any built-in tool.
How much does NGA World Port Index search cost in Grok?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.
Do I need an Alexandria account to use NGA World Port Index search in Grok?
No. Spiral runs NGA World Port Index search on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up NGA World Port Index search in Grok?
About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.
Does Grok wait while NGA World Port Index search runs?
NGA World Port Index search runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.
Does the World Port Index cover ports outside the United States?
Yes. It describes major ports and terminals worldwide, including locations, physical characteristics, facilities, and services. Its stated coverage is major ports and terminals, so it should not be read as a directory of every landing place.
How often does the World Port Index change?
NGA distinguishes monthly publication of the official CSV from weekly updates to its ArcGIS web application. The collector uses the CSV, so a weekly web edit does not establish that the downloadable publication has changed.
Which navigational warning series are included?
The collector includes five series: NAVAREA IV, NAVAREA XII, HYDROLANT, HYDROPAC, and HYDROARC. It does not list every national or coastal warning service as a separate source.
How often are NGA's in-force warning lists published?
NGA's published self-assessment describes daily in-force warning links for NAVAREA IV and XII, including weekends and holidays. That schedule describes publication of those lists, rather than a guaranteed delivery time for an individual API result.
Can ASAM show recent piracy incidents?
ASAM stopped updating after June 30, 2024. Use it for historical research; NGA also states that it is not a complete listing of hostile actions worldwide.
Start using NGA World Port Index search in Grok
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Grok:
set up https://spiral.ai/SKILL.md


