find_postal_codes
Pack: geonames · Endpoint: https://gateway.pipeworx.io/geonames/mcp
Look up postal/ZIP codes and places by each other. Pass “postal_code” (+ country) to find the place(s) a code maps to (“what city is ZIP 90210”); or pass “place” (+ country) to find the postal codes for a place name (“postal codes for Paris”). Returns place name, country, admin region (state/county), postal code, and coordinates.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
_apiKey | string | yes | GeoNames username |
postal_code | string | no | Postal/ZIP code to look up (e.g. “90210”, “75001”). Provide country for accuracy. |
place | string | no | Place name to find postal codes for (e.g. “Paris”, “Springfield”). Use instead of postal_code. |
country | string | no | ISO 3166-1 alpha-2 country code (e.g. “US”, “FR”). Strongly recommended — codes and place names repeat across countries. |
limit | number | no | Max results (default 10, max 100). |
Example call
curl -X POST https://gateway.pipeworx.io/geonames/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"find_postal_codes","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"geonames": {
"url": "https://gateway.pipeworx.io/geonames/mcp"
}
}
}
See Getting Started for client-specific install steps.