ports_near

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/ports_near for the schema, then POST the same URL with its arguments for the data.

Find NGA World Port Index ports within a radius of a lat/lon point, sorted nearest first, with distance in km.

Parameters

NameTypeRequiredDescription
latitudenumberyesLatitude in decimal degrees
longitudenumberyesLongitude in decimal degrees
radius_kmnumbernoSearch radius in km (default 100, max 5000)
limitnumbernoMax ports to return (default 50, max 200)

Example call

Arguments

{
  "latitude": 1.2905,
  "longitude": 103.852,
  "radius_km": 100
}

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":"ports_near","arguments":{"latitude":1.2905,"longitude":103.852,"radius_km":100}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('ports_near', {
  "latitude": 1.2905,
  "longitude": 103.852,
  "radius_km": 100
});

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