point_in_bbox
Pack: coordinates · Endpoint: https://gateway.pipeworx.io/coordinates/mcp
Test whether a lat/lon point is inside a bounding box “minLat,minLon,maxLat,maxLon”.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
lat | number | yes | |
lon | number | yes | |
bbox | string | yes | e.g. “20,-130,55,-60”. |
Example call
Arguments
{
"lat": 40.7128,
"lon": -74.006,
"bbox": "20,-130,55,-60"
}
curl
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":"point_in_bbox","arguments":{"lat":40.7128,"lon":-74.006,"bbox":"20,-130,55,-60"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('point_in_bbox', {
"lat": 40.7128,
"lon": -74.006,
"bbox": "20,-130,55,-60"
});
More examples
{
"lat": 48.8566,
"lon": 2.3522,
"bbox": "40,-10,55,10"
}
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.