[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [USCG PSIX vessel details](https://spiral.ai/integrations/claude-code/uscg-psix-vessel-details)

# How to Use USCG PSIX vessel details in Claude Code

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.

|  |  |
| --- | --- |
| Model | USCG PSIX vessel details |
| Available through | Alexandria |
| Category | Maps & Reviews |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with USCG PSIX vessel details in Claude Code

- Use USCG PSIX vessel details for MAERSK KENSINGTON and build a certificate table showing document type, issuing agency, issue date and expiration date.
- 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 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 USCG PSIX vessel details**: 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": "cgmix-uscg-mil/maritime-safety/records_get",
    "input": {
      "id": "<id>"
    }
  }'
```

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

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

## USCG PSIX vessel details tools and prices

- [USCG CGMIX Port State Information Exchange (PSIX) · Records get](https://spiral.ai/tools/alexandria/cgmix-uscg-mil/maritime-safety/records_get) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| cases_to |  | — | Latest case StartDtTm, YYYY-MM-DD (default tomorrow, UTC). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| vessel_id | 1 to … | — | Required with a psix-case id: PSIX lists case headers per vessel. |
| cases_from |  | — | Earliest case StartDtTm, YYYY-MM-DD (default 1900-01-01). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| include_cases |  | — | Vessel ids: add case headers (default false). |

## What can you do with USCG PSIX vessel details in Claude Code?

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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## USCG PSIX vessel details in other agents

- [Amp](https://spiral.ai/integrations/amp/uscg-psix-vessel-details)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/uscg-psix-vessel-details)
- [Claude](https://spiral.ai/integrations/claude-desktop/uscg-psix-vessel-details)
- [Cline](https://spiral.ai/integrations/cline/uscg-psix-vessel-details)
- [Codex](https://spiral.ai/integrations/codex/uscg-psix-vessel-details)
- [Cursor](https://spiral.ai/integrations/cursor/uscg-psix-vessel-details)
- [Devin](https://spiral.ai/integrations/devin/uscg-psix-vessel-details)
- [dots](https://spiral.ai/integrations/dots/uscg-psix-vessel-details)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/uscg-psix-vessel-details)
- [Gemini](https://spiral.ai/integrations/gemini/uscg-psix-vessel-details)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/uscg-psix-vessel-details)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/uscg-psix-vessel-details)
- [goose](https://spiral.ai/integrations/goose/uscg-psix-vessel-details)
- [Grok](https://spiral.ai/integrations/grok/uscg-psix-vessel-details)
- [Grok Build](https://spiral.ai/integrations/grok-build/uscg-psix-vessel-details)
- [Hermes](https://spiral.ai/integrations/hermes/uscg-psix-vessel-details)
- [Instinct](https://spiral.ai/integrations/instinct/uscg-psix-vessel-details)
- [Manus](https://spiral.ai/integrations/manus/uscg-psix-vessel-details)
- [Muse](https://spiral.ai/integrations/muse/uscg-psix-vessel-details)
- [Muse Code](https://spiral.ai/integrations/muse-code/uscg-psix-vessel-details)
- [n8n](https://spiral.ai/integrations/n8n/uscg-psix-vessel-details)
- [Notion](https://spiral.ai/integrations/notion/uscg-psix-vessel-details)
- [OpenClaw](https://spiral.ai/integrations/openclaw/uscg-psix-vessel-details)
- [opencode](https://spiral.ai/integrations/opencode/uscg-psix-vessel-details)
- [Perplexity](https://spiral.ai/integrations/perplexity/uscg-psix-vessel-details)
- [Raycast](https://spiral.ai/integrations/raycast/uscg-psix-vessel-details)
- [VS Code](https://spiral.ai/integrations/vscode/uscg-psix-vessel-details)
- [Windsurf](https://spiral.ai/integrations/windsurf/uscg-psix-vessel-details)
- [Zapier](https://spiral.ai/integrations/zapier/uscg-psix-vessel-details)

## More Claude Code guides

- [USCG PSIX register status](https://spiral.ai/integrations/claude-code/uscg-psix-register-status)
- [USCG PSIX vessel register](https://spiral.ai/integrations/claude-code/uscg-psix-vessel-register)
- [UN Tourism statistical files](https://spiral.ai/integrations/claude-code/un-tourism-statistical-files)
- [USCG PSIX vessel search](https://spiral.ai/integrations/claude-code/uscg-psix-vessel-search)
- [UN Tourism indicator search](https://spiral.ai/integrations/claude-code/un-tourism-indicator-search)
- [USDA food categories](https://spiral.ai/integrations/claude-code/usda-food-categories)

## Questions about USCG PSIX vessel details in Claude Code

**Can Claude Code use USCG PSIX vessel details?**

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

**How much does USCG PSIX vessel details 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 USCG PSIX vessel details in Claude Code?**

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

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

**Does Claude Code wait while USCG PSIX vessel details runs?**

USCG PSIX vessel details runs in the background. Claude Code 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.

