Validate and normalize postal codes offline for 252 countries and territories. Format check only.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
List every supported country and territory with its ISO code, English name, whether it uses postal codes, a format example and the local name for the code (zip, eircode, PIN…). Read-only. Same data as GET /v1/countries.
This tool takes no arguments.
List every supported country and territory with its ISO code, English name, whether it uses postal codes, a format example and the local name for the code (zip, eircode, PIN…). Read-only. Same data as GET /v1/countries.
No arguments.
{
"type": "object",
"properties": {},
"additionalProperties": false
}Check whether a postal code has a valid format for a country and return its normalized form (uppercase, official space or hyphen), a format example and the country name. Example: country "NL", code "1234ab" → valid true, normalized "1234 AB". Format check only (Google libaddressinput patterns): it does not confirm the code exists or is deliverable. Countries without postal codes return valid false with reason "no_postal_codes". Read-only. Same engine as GET /v1/validate.
| Argument | Type | Description |
|---|---|---|
| code* | string | The postal code to check, e.g. "SW1A 1AA", "94103", "10115". |
| country* | string | ISO 3166-1 alpha-2 country code, e.g. "US", "GB", "DE" (case-insensitive; "UK" accepted). |
{
"type": "object",
"required": [
"country",
"code"
],
"properties": {
"code": {
"type": "string",
"maxLength": 32,
"minLength": 1,
"description": "The postal code to check, e.g. \"SW1A 1AA\", \"94103\", \"10115\"."
},
"country": {
"type": "string",
"maxLength": 2,
"minLength": 2,
"description": "ISO 3166-1 alpha-2 country code, e.g. \"US\", \"GB\", \"DE\" (case-insensitive; \"UK\" accepted)."
}
},
"additionalProperties": false
}