port_lookup

Pack: world-port-index · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/port_lookup for the schema, then POST the same URL with its arguments for the data.

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.

Parameters

NameTypeRequiredDescription
namestringnoPort name, e.g. “Rotterdam” (exact match preferred, falls back to substring)
unlocodestringnoUN/LOCODE, e.g. “NLRTM” or “NL RTM”
wpi_numbernumbernoNGA World Port Index port number, e.g. 31140

Example call

Arguments

{
  "name": "Rotterdam"
}

curl

curl -X POST https://gateway.pipeworx.io/world-port-index/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"port_lookup","arguments":{"name":"Rotterdam"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('port_lookup', {
  "name": "Rotterdam"
});

More examples

{
  "unlocode": "NL RTM"
}
{
  "wpi_number": 31140
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the world-port-index pack
{
  "mcpServers": {
    "world-port-index": {
      "url": "https://gateway.pipeworx.io/world-port-index/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 27, 2026