mcpField
H
hormuz-strait

hormuz-strait

github.com/himself65Data & databases3.5k3.3k installsUpdated 3d ago
Repository

About hormuz-strait

A read-only skill that retrieves public Strait of Hormuz status data from the Hormuz Strait Monitor dashboard API, without authentication. It covers shipping, oil prices, insurance risk, diplomacy, and global trade impact for monitoring maritime and market developments.

Key features

  1. 01Check strait status and ship transits
  2. 02View oil prices and tanker rates
  3. 03Track stranded vessels and insurance risk
  4. 04Summarize cargo throughput and trade impact
  5. 05Review diplomacy, news, and event timelines

Use cases

  1. 01Get a Strait of Hormuz status briefing
  2. 02Monitor shipping traffic and cargo changes
  3. 03Assess oil, insurance, and trade impacts

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/himself65/finance-skills --skill hormuz-strait

After installing, type/hormuz-straitin Claude Code to confirm it loaded.

Bundled filesREADME.mdreferences/api_schema.md

Details

From the project README

Hormuz Strait Monitor Skill

Fetches real-time status of the Strait of Hormuz from the Hormuz Strait Monitor dashboard API. Covers shipping transits, oil prices, stranded vessels, insurance risk, diplomatic status, global trade impact, and crisis timeline.

This skill is read-only. It fetches public dashboard data — no authentication required.


Step 1: Fetch Dashboard Data

Use curl to fetch the dashboard API:

curl -s https://hormuzstraitmonitor.com/api/dashboard

Parse the JSON response. The API returns { "success": true, "data": { ... }, "timestamp": "..." }.

If success is false or the request fails, inform the user the monitor is temporarily unavailable and suggest checking https://hormuzstraitmonitor.com directly.


Step 2: Identify What the User Needs

Match the user's request to the relevant data sections. If the user asks for a general status update, present all sections. If they ask about something specific, focus on the relevant section(s).

User RequestData SectionKey Fields
General status / "is Hormuz open?"straitStatusstatus, since, description
Ship traffic / transit countshipCountcurrentTransits, last24h, normalDaily, percentOfNormal
Oil price impactoilPricebrentPrice, change24h, changePercent24h, sparkline
Stranded / stuck vesselsstrandedVesselstotal, tankers, bulk, other, changeToday
Insurance / war riskinsurancelevel, warRiskPercent, normalPercent, multiplier
Cargo throughputthroughputtodayDWT, averageDWT, percentOfNormal, last7Days
Diplomatic situationdiplomacystatus, headline, parties, summary
Global trade impactglobalTradeImpactpercentOfWorldOilAtRisk, estimatedDailyCostBillions, affectedRegions, lngImpact, alternativeRoutes, supplyChainImpact
Crisis timeline / eventscrisisTimelineevents[] with date, type, title, description
Tanker freight rates / VLCC ratestankerRatescurrentRate, preCrisisRate, changePercent, route, vesselType, trend, unit
Latest newsnewstitle, source, url, publishedAt, description

Step 3: Present the Data

Format the results clearly for financial research. Adapt the presentation based on what the user asked for.

General status briefing (default)

When the user asks for a general update, cover these sections — a line each while shipping is operating normally, more depth wherever there is active disruption:

  1. Strait Status — lead with the current status (e.g., "OPEN", "RESTRICTED", "CLOSED"), how long it's been in that state, and the description
  2. Ship Traffic — current transits, last 24h count, and percent of normal
  3. Oil Price — Brent price with 24h change
  4. Stranded Vessels — total count broken down by type, with today's change
  5. Insurance Risk — risk level, war risk premium percentage, and multiplier vs. normal
  6. Cargo Throughput — today's DWT vs. average, percent of normal
  7. Diplomatic Status — current status, headline, and brief summary
  8. Global Trade Impact — percent of world oil at risk, estimated daily cost, and top affected regions
  9. Tanker Freight Rates — current VLCC rate on the benchmark route vs. pre-crisis baseline, with trend direction
Formatting guidelines
  • Use tables for structured data (vessel counts, affected regions, alternative routes)
  • Highlight abnormal values — if percentOfNormal is below 80% or above 120%, call it out
  • For oilPrice.sparkline, describe the trend (rising, falling, stable) rather than listing raw numbers
  • For throughput.last7Days, describe the trend direction
  • Show lastUpdated timestamp so the user knows data freshness
  • For news items, include the source and link
  • For crisis timeline events, present chronologically with event type labels
Risk assessment

Based on the data, provide a brief risk assessment. insurance.level values come back uppercase:

Insurance LevelInterpretation
NORMALNo elevated risk — shipping operating normally
ELEVATEDSome disruption concerns — monitor closely
HIGHSignificant risk — active disruption or credible threat
CRITICALSevere disruption — major impact on global oil supply
EXTREMEEffective closure — war risk premiums at multi-decade highs, most commercial traffic halted

If the strait status is anything other than fully open, highlight:

  • The estimated daily cost to global trade
  • Which regions are most affected and their oil dependency
  • Available alternative routes with additional transit days and cost
  • LNG impact if applicable
  • SPR (Strategic Petroleum Reserve) status in days

Step 4: Respond to the User

  • Lead with the most important information: strait status and any active disruption
  • Include data freshness (lastUpdated timestamp)
  • If the situation is elevated or worse, proactively include the global trade impact summary
  • Keep the response concise for routine "all clear" statuses; expand for active incidents
  • Add a disclaimer: data is sourced from Hormuz Strait Monitor and may have delays

Reference Files

  • references/api_schema.md — Complete API response schema with field descriptions and data types

Read the reference file when you need exact field names or data type details.

Comments

Markdown supported