Live

About This Project

GulfStraitsAI

AI-powered maritime risk intelligence for five Gulf chokepoints.

What It Is

GulfStraitsAI monitors maritime security across five critical chokepoints: the Strait of Hormuz, Bab-el-Mandeb, Persian Gulf, Red Sea, and Gulf of Oman.

RSS feeds and maritime advisories are ingested every 5 minutes. Gemini AI classifies each article — filtering for relevance, extracting event type, location, severity, and entities — and saves structured risk events to a database. Vector embeddings deduplicate near-identical articles across sources.

This is an informational aggregation tool. Data reflects public sources only. Not operational intelligence guidance.

Technology

IngestionCloudflare Workers (Python/Pyodide) · Cron every 5 min
StorageCloudflare D1 (SQLite) · Cloudflare Vectorize (768-dim cosine)
EmbeddingsGemini text-embedding-004 · dedup threshold 0.88
ClassificationGemini Flash — location tagging, event type, severity 1–10
Similar eventsVectorize ANN search — surfaces contextually related past incidents
AlertsTelegram bot · Resend email (severity ≥ 7 → Telegram, ≥ 8 → email)
FrontendNext.js · Tailwind CSS · Cloudflare Pages
APIREST JSON · MCP (Model Context Protocol) JSON-RPC 2.0

Data Sources (11 active feeds)

Hellenic Shipping News (Security)Maritime security incidents & piracy reports
Hellenic Shipping NewsGeneral maritime industry news
gCaptainMaritime industry & safety news
gCaptain · Red SeaTargeted Red Sea / Bab-el-Mandeb coverage
Splash247Global shipping news
Naval NewsNaval operations & military maritime
USNI NewsUS Naval Institute — USN/IRGC/Houthi operations
Middle East EyeRegional Middle East coverage
Al JazeeraGulf region political & security news
BBC Middle EastAuthoritative regional reporting
FreightWaves · Red SeaFreight market & Red Sea shipping disruption

API Access

GET https://gulfstraitsai.sxg.workers.dev/api/risk

GET .../api/risk/:region

GET .../api/risk/:region/history?hours=168

GET .../api/events?region=&severity_min=&limit=

GET .../api/events/:id

GET .../api/events/:id/similar

POST .../api/subscribe { email }

POST .../api/feedback { message, email?, page? }

POST .../mcp — MCP JSON-RPC 2.0

No API key required. CORS enabled.

Full API Docs →

Open source · MIT License

GitHub →
← Back to Dashboard