World Port Index
v0.2.1World Port Index — port facilities, depths, and anchorages.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
port_lookup
Look up a port in the NGA World Port Index by name, UN/LOCODE, or WPI number. Returns WPI number, coordinates, harbor size/type, channel/anchorage/cargo-pier depths, and facilities. Refuses with an error if nothing matches.
| Parameter | Type | Description |
|---|---|---|
name | string | Port name, e.g. "Rotterdam" (exact match preferred, falls back to substring) |
unlocode | string | UN/LOCODE, e.g. "NLRTM" or "NL RTM" |
wpi_number | number | NGA World Port Index port number, e.g. 31140 |
ports_near
Find NGA World Port Index ports within a radius of a lat/lon point, sorted nearest first, with distance in km.
| Parameter | Type | Description |
|---|---|---|
latitude * | number | Latitude in decimal degrees |
longitude * | number | Longitude in decimal degrees |
limit | number | Max ports to return (default 50, max 200) |
radius_km | number | Search radius in km (default 100, max 5000) |
ports_by_country
List NGA World Port Index ports for a country (name or ISO 3166-1 alpha-2 code), optionally filtered by harbor size (V/S/M/L).
| Parameter | Type | Description |
|---|---|---|
country * | string | Country name or ISO alpha-2 code, e.g. "Singapore" or "SG" |
harbor_size | string | Filter by harbor size: V=Very small, S=Small, M=Medium, L=Large |
limit | number | Max ports to return (default 50, max 200) |