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

Gemini CLI · Maps & Reviews

How to Use USCG PSIX vessel details in Gemini CLI

Returns vessel particulars, dimensions, tonnage and certificates, with optional case history or a case's controls and deficiencies. Use it to examine a vessel after identifying its PSIX record.

Prompts to try with USCG PSIX vessel details in Gemini CLI

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

Use USCG PSIX vessel details for MAERSK KENSINGTON and build a certificate table showing document type, issuing agency, issue date and expiration date.

USCG PSIX vessel detailsGemini CLI
Try asking
  • Use USCG PSIX vessel details for MAERSK KENSINGTON to build a view of published Coast Guard cases since January 1, 2020, with available controls and deficiencies.

  • Use USCG PSIX vessel details to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from USCG PSIX vessel details and tell me what changed since last week.

  • Check USCG PSIX vessel details and summarize what you find in three bullet points.

How to set up USCG PSIX vessel details in Gemini CLI

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

Use Spiral's MCP server

  1. Add the server

    Or add it to ~/.gemini/settings.json yourself:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    gemini mcp list

Use the Spiral skill

  1. Send Gemini CLI 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 USCG PSIX vessel 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": "cgmix-uscg-mil/maritime-safety/records_get",
        "input": {
          "id": "<id>"
        }
      }'

Then paste one of the prompts above: Gemini CLI finds USCG PSIX vessel details on Spiral, shows the price and runs it.

USCG PSIX vessel details providers and prices

Spiral runs USCG PSIX vessel details through Alexandria. Open a card for today's price, with every fee included.

AlexandriaMaps & Reviews

Settings you can ask for

Ask Gemini CLI for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Vessel IDa number from 1

Required with a psix-case id: PSIX lists case headers per vessel.

Include caseson or off

Vessel ids: add case headers (default false).

Every API field of USCG CGMIX Port State Information Exchange (PSIX) · Records get is on its tool page: open its card above.

What can you do with USCG PSIX vessel details in Gemini CLI?

Build a commercial fleet register that connects vessel identities with public Coast Guard records. Use PSIX's weekly publication cycle and case activity IDs to structure refreshes and detailed history views.

Reconcile a fleet register

Check a fleet segment for changes, collect its vessel records, resolve uncertain ship matches and compare selected vessel details with an existing commercial fleet register.

Review fleet certificates

Refresh a selected fleet segment when its source status changes, then examine recorded certificate types, issuing agencies and expiration dates for vessels requiring review.

Prepare a tanker shortlist

Collect a flag's tank ships, match named candidates and examine their public Coast Guard histories. Check the segment again during subsequent shortlist reviews.

Compare inspection histories

Maintain a defined vessel cohort, resolve the ships being compared and retrieve their published cases and deficiencies. Use segment status checks to guide later cohort refreshes.

Resolve similar ship names

Find ships sharing a name, compare identification numbers and inspect the selected vessel's particulars before attaching its public records to a report.

Build a public maritime research dataset

Maintain a repeatable vessel cohort, resolve named ships and add selected certificate and case records. Describe the dataset as PSIX coverage of U.S.-flag vessels and foreign vessels operating in U.S. waters.

Prepare a vessel case brief

Identify a named commercial ship and summarize its published Coast Guard cases, with the controls and deficiencies attached to each selected activity.

Questions about USCG PSIX vessel details in Gemini CLI

Can Gemini CLI use USCG PSIX vessel details?

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run USCG PSIX vessel details like any built-in tool.

How much does USCG PSIX vessel details cost in Gemini CLI?

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

Do I need an Alexandria account to use USCG PSIX vessel details in Gemini CLI?

No. Spiral runs USCG PSIX vessel 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 USCG PSIX vessel details in Gemini CLI?

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

Does Gemini CLI wait while USCG PSIX vessel details runs?

USCG PSIX vessel details runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.

Does PSIX cover ships worldwide?

Its stated coverage is U.S.-flag vessels, foreign vessels operating in U.S. waters, and Coast Guard contacts with those vessels. It should not be used as a complete world fleet register.

How fresh is PSIX data?

PSIX is a weekly snapshot of MISLE data. Inspection results also depend on the responsible Coast Guard unit reviewing and closing the activity before publication.

How far back does PSIX history go?

The Coast Guard describes PSIX vessel information as dating from December 21, 2001, when MISLE came online. That starting point does not promise a record for every vessel on every date.

Are pending inspections and investigations public?

PSIX excludes unclosed cases and cases pending further action. A vessel's public history therefore cannot establish whether a pending case exists.

Can a broad vessel search miss results?

The official PSIX vessel search interface returns a maximum of 500 records. The Coast Guard recommends narrowing searches that exceed that limit.

Get started

Start using USCG PSIX vessel details in Gemini CLI

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

Paste this into Gemini CLI:

Set up Gemini CLI

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