World Port Index
liveReferenceWorld Port Index — port facilities, depths, and anchorages.
Tools
port_lookupLook 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 er
No parameters required.
Try it
ports_nearFind NGA World Port Index ports within a radius of a lat/lon point, sorted nearest first, with distance in km.
No parameters required.
Try it
ports_by_countryList 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).
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/world-port-index/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'curl -X POST https://gateway.pipeworx.io/world-port-index/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"port_lookup","arguments":{}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("port_lookup", {});// Or ask in plain English:
const answer = await px.ask("world port index — port facilities, depths, and anchorages");