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

NameTypeRequiredDescription
_apiKeystringyesGeoNames username
postal_codestringnoPostal/ZIP code to look up (e.g. “90210”, “75001”). Provide country for accuracy.
placestringnoPlace name to find postal codes for (e.g. “Paris”, “Springfield”). Use instead of postal_code.
countrystringnoISO 3166-1 alpha-2 country code (e.g. “US”, “FR”). Strongly recommended — codes and place names repeat across countries.
limitnumbernoMax 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.

Regenerated from source · build June 24, 2026