port_search

Pack: imf-portwatch · Endpoint: https://gateway.pipeworx.io/imf-portwatch/mcp

Search the PortWatch port database (1,500+ ports globally) by name, country, or ISO3. Returns matching ports with country, continent, latitude/longitude, annual vessel counts by cargo type, top industries, and the port’s share of the country’s maritime imports/exports. Useful for identifying which ports would be affected by a country-level disruption, or finding the LOCODE / portid for a named port.

Parameters

NameTypeRequiredDescription
querystringnoFree-text portname match (e.g. “Rotterdam”, “Houston”, “Singapore”)
countrystringnoCountry filter — full name (“Netherlands”) or ISO3 (“NLD”)
limitnumbernoMax results (default 20, max 100)

Example call

Arguments

{
  "query": "Rotterdam"
}

curl

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

TypeScript (@pipeworx/sdk)

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

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

More examples

{
  "query": "Singapore",
  "country": "Singapore",
  "limit": 10
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "imf-portwatch": {
      "url": "https://gateway.pipeworx.io/imf-portwatch/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 28, 2026