centroid

Pack: coordinates · Endpoint: https://gateway.pipeworx.io/coordinates/mcp

Average (spherical) center of a list of lat/lon points. points is an array of {lat, lon}.

Parameters

NameTypeRequiredDescription
pointsarrayyesArray of {lat, lon} objects.

Example call

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

Connect

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

{
  "mcpServers": {
    "coordinates": {
      "url": "https://gateway.pipeworx.io/coordinates/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 2, 2026