Spiral gives your agent every tool with one account. Browse the tools →

Codex · Maps & Reviews

How to Use NGA maritime record details in Codex

Returns one identified port, navigational warning, or archived anti-shipping incident. Use it to inspect a record found earlier or recheck its published details.

Prompts to try with NGA maritime record details in Codex

Copy an example into Codex, or ask in your own words.

Use NGA maritime record details to retrieve the World Port Index record already identified for Mombasa and render its published vessel limits in our port details component.

NGA maritime record detailsCodex
Try asking
  • Use NGA maritime record details to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from NGA maritime record details and tell me what changed since last week.

  • Check NGA maritime record details and summarize what you find in three bullet points.

  • Pull the newest data from NGA maritime record details and give me the result as a table.

How to set up NGA maritime record details in Codex

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

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex 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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run NGA maritime record details

    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/records_get",
        "input": {
          "id": "<id>"
        }
      }'

Then paste one of the prompts above: Codex finds NGA maritime record details on Spiral, shows the price and runs it.

NGA maritime record details providers and prices

Spiral runs NGA maritime record details through Alexandria. Open a card for today's price, with every fee included.

AlexandriaMaps & Reviews
NGA Maritime Safety Information · Records get
msi-nga-mil/maritime-safety/records_get

Settings you can ask for

Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Year2000 to 2100

year

Every API field of NGA Maritime Safety Information · Records get is on its tool page: open its card above.

What can you do with NGA maritime record details in Codex?

Build a port comparison table or a navigational warning review screen from NGA records. A coding agent can connect published port particulars, warning text, and publication checks to the project's existing data views.

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.

Prepare a navigation warning desk brief

Collect in-force NAVAREA IV warnings, review creation and cancellation records, and open selected messages for their full text. Use publication status to determine when the briefing's source collection needs another review.

Remove withdrawn notices from a warning board

Review NAVAREA XII cancellations against a saved warning collection and inspect each affected record before updating the board. Check the latest publication and reconcile the result with the in-force list.

Document warning publication history

Build a HYDROARC research log from available annual warning records and creation or cancellation results. Inspect selected messages and associate each collected batch with its source publication.

Review maritime radio service notices

Collect HYDROARC warnings and select messages about radio service interruptions from their text. Compare creation and cancellation records, inspect the notices, and refresh the review when the publication changes.

Questions about NGA maritime record details in Codex

Can Codex use NGA maritime record details?

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run NGA maritime record details like any built-in tool.

How much does NGA maritime record details cost in Codex?

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

Do I need an Alexandria account to use NGA maritime record details in Codex?

No. Spiral runs NGA maritime record details 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 maritime record details in Codex?

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

Does Codex wait while NGA maritime record details runs?

NGA maritime record details runs in the background. Codex 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.

Get started

Start using NGA maritime record details in Codex

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Codex:

Set up Codex

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options