PostCode Check
Validate and normalize postal codes offline for 252 countries and territories. Format check only.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"postcodecheck": {
"url": "https://postcodecheck.mike-tusa.workers.dev/mcp"
}
}
}원격 엔드포인트
https://postcodecheck.mike-tusa.workers.dev/mcpstreamable-http할 수 있는 일
도구 목록
도구 (2)
🟢validate_postcode(country, code)
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.
입력 스키마
{
"type": "object",
"properties": {
"country": {
"type": "string",
"minLength": 2,
"maxLength": 2,
"description": "ISO 3166-1 alpha-2 country code, e.g. \"US\", \"GB\", \"DE\" (case-insensitive; \"UK\" accepted)."
},
"code": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"description": "The postal code to check, e.g. \"SW1A 1AA\", \"94103\", \"10115\"."
}
},
"required": [
"country",
"code"
],
"additionalProperties": false
}출력 스키마
{
"type": "object",
"properties": {
"valid": {
"type": "boolean"
},
"normalized": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"format_example": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"country": {
"type": "string"
},
"country_name": {
"type": "string"
},
"input": {
"type": "string"
},
"has_postal_codes": {
"type": "boolean"
},
"zip_name": {
"type": "string"
},
"reason": {
"type": "string",
"enum": [
"format_mismatch",
"no_postal_codes",
"empty"
]
},
"message": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"valid",
"normalized",
"format_example",
"country_name",
"version"
]
}🟢list_countries
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.
입력 스키마
{
"type": "object",
"properties": {},
"additionalProperties": false
}출력 스키마
{
"type": "object",
"properties": {
"count": {
"type": "integer"
},
"with_postal_codes": {
"type": "integer"
},
"countries": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"name": {
"type": "string"
},
"has_postal_codes": {
"type": "boolean"
},
"format_example": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"zip_name": {
"type": "string"
}
},
"required": [
"code",
"name",
"has_postal_codes"
]
}
},
"version": {
"type": "string"
}
},
"required": [
"count",
"countries",
"version"
]
}커뮤니티
증거