Nearby postal codes
find_nearby_postal_codesThe postal codes nearest to a point (GeoNames), nearest first, with distance in km. 503 NOT_READY on a dataset built before the feature. Needs an API key: the MCP client sends Authorization: Bearer <key>.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"lat": "<lat>",
"lon": "<lon>"
},
"name": "find_nearby_postal_codes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude in decimal degrees, from -90 to 90. | |
| lon | Yes | Longitude in decimal degrees, from -180 to 180. | |
| limit | No | Default 10 | |
| radius | No | Kilometres, default 50 |