Vessel Tracking
v0.2.1Vessel Tracking — live worldwide ship positions from AIS.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
live_ships_in_area
Live ship positions right now in a geographic area, from AIS radio broadcasts — what vessels are sailing near a port, coastline, strait or set of coordinates at this moment. Returns each vessel heard with its position, speed, course, navigational status, type, destination and IMO where broadcast, plus a breakdown by vessel type (cargo, tanker, passenger, fishing, tug). Give either a centre point (latitude + longitude + radius_km) or a bounding box. COVERAGE IS PARTIAL AND TERRESTRIAL — there is no receiver coverage in the Persian Gulf, Strait of Hormuz, Gulf of Oman or Red Sea, so this too…
| Parameter | Type | Description |
|---|---|---|
_apiKey | string | aisstream.io API key (free at aisstream.io) |
east | number | Bounding box eastern longitude |
latitude | number | Centre latitude, e.g. 43.3 for Marseille |
limit | number | Maximum vessels to return (default 50, max 300) |
longitude | number | Centre longitude, e.g. 5.4 for Marseille |
north | number | Bounding box northern latitude |
radius_km | number | Radius around the centre point in km (default 50, max 500) |
ship_type | string | Optional filter on decoded type, e.g. "tanker", "cargo", "passenger", "fishing", "tug" |
south | number | Bounding box southern latitude (alternative to centre+radius) |
west | number | Bounding box western longitude |
window_seconds | number | How long to listen, 3-25 seconds (default 12). Longer windows hear more vessels, especially anchored ones which only transmit every ~3 minutes. |
live_ship_position
Where is a specific ship right now — live AIS position for one or more vessels by MMSI number. Returns position, speed, course, navigational status and destination as currently broadcast. BEST EFFORT BY NATURE: this listens for a live broadcast rather than reading a stored position, and many vessels transmit less than once a minute, so a single call frequently hears nothing even for a ship that is definitely sailing. Measured behaviour, not a caveat for form. Improve the odds with a longer window_seconds, or use live_ships_in_area if you know roughly where the ship is. For a guaranteed last-…
| Parameter | Type | Description |
|---|---|---|
mmsi * | array | One or more 9-digit MMSI numbers, e.g. ["219034351"] |
_apiKey | string | aisstream.io API key (free at aisstream.io) |
window_seconds | number | How long to listen, 3-40 seconds (default 30). Hit rate scales almost linearly with this: many vessels transmit less than once a minute, so a 10-second window will usually miss and a 40-second one oft… |
ais_coverage_check
Does live AIS tracking actually work at this location? Listens at a point and reports whether any community receiver covers it, so you can tell the difference between "no ships here" and "no receivers here" before trusting a zero. Use this whenever a vessel search comes back empty, and always before treating an empty result as evidence that shipping has stopped.
| Parameter | Type | Description |
|---|---|---|
latitude * | number | Latitude to test |
longitude * | number | Longitude to test |
_apiKey | string | aisstream.io API key (free at aisstream.io) |
radius_km | number | Radius to test around the point in km (default 150) |
window_seconds | number | How long to listen, 3-25 seconds (default 15) |