PostalDataPI MCP Server
PostalDataPI MCP 서버
PostalDataPI용 MCP(Model Context Protocol) 서버입니다. AI 에이전트가 240개 이상의 국가 및 영토에서 시간대, 행정 구역, 고도, 좌표와 같은 풍부한 메타데이터를 포함한 우편번호를 조회, 검증 및 검색할 수 있도록 합니다.
도구
도구 | 설명 |
| 우편번호(미국 ZIP, 영국 우편번호, 독일 PLZ 등)에 대한 도시, 주/지역 및 약어 가져오기 |
| 국가 내 우편번호 존재 여부 확인 |
| 도시의 모든 우편번호 찾기 |
| 전체 메타데이터: 좌표, 행정 계층, 시간대, 고도 등 |
Related MCP server: ZipExplore MCP Server
설정
1. API 키 받기
postaldatapi.com/register에서 가입하세요. 신용카드 없이 1,000개의 무료 쿼리를 제공합니다.
2. 설치
pip install postaldatapi-mcp3. Claude Code로 구성
claude mcp add --transport stdio postaldatapi -- \
env POSTALDATAPI_KEY=your_api_key_here postaldatapi-mcp4. Claude Desktop으로 구성
Claude Desktop 설정(~/Library/Application Support/Claude/claude_desktop_config.json, macOS 기준)에 추가하세요:
{
"mcpServers": {
"postaldatapi": {
"command": "postaldatapi-mcp",
"env": {
"POSTALDATAPI_KEY": "your_api_key_here"
}
}
}
}사용법
설정이 완료되면 Claude에게 자연스럽게 질문하세요:
"ZIP 코드 90210은 어느 도시인가요?"
"영국 우편번호 SW1A 조회해줘"
"10115는 유효한 독일 우편번호인가요?"
"캘리포니아주 비벌리힐스의 우편번호는 무엇인가요?"
"일본 우편번호 100-0001의 좌표를 가져와줘"
Claude가 자동으로 PostalDataPI 도구를 사용하여 답변합니다.
지원 국가
미국, 영국, 캐나다, 독일, 프랑스, 일본, 호주, 브라질, 인도 등을 포함한 240개 이상의 국가 및 영토. 전체 목록은 postaldatapi.com/countries에서 확인하세요.
풍부한 메타데이터
기본 조회 외에도 get_postal_code_metadata 도구는 우편번호당 최대 18개의 필드를 반환합니다:
좌표 (위도, 경도)
시간대 (예:
America/Mexico_City,Europe/Berlin)행정 계층 (주/도, 카운티, 지방 자치 단체)
고도 (해발 미터)
장소 이름 및 국가 정보
멕시코시티 06000에 대한 응답 예시:
{
"postalCode": "06000",
"country": "MX",
"placeName": "Centro",
"latitude": 19.4364,
"longitude": -99.1553,
"timezone": "America/Mexico_City",
"adminLevel1": "Ciudad de México",
"adminLevel2": "Cuauhtémoc",
"elevation": 2239
}링크
Available Tools
4 toolsget_postal_code_metadataA
Get full metadata for a postal code including coordinates.
Returns latitude, longitude, county/municipality, and all available country-specific fields. Use this when someone needs geographic coordinates, timezone, or detailed location data for a postal code.
Args: postal_code: The postal code to look up country: ISO 3166-1 alpha-2 country code. Defaults to "US".
Returns: Full metadata including coordinates, region, and country-specific fields.
Inputs: postal_code (required), country. Returns: result
lookup_postal_codeA
Look up a postal code and get city, state, and region information.
Works for ZIP codes (US), postcodes (UK), PLZ (Germany), and postal codes in 70+ countries. Use this when someone asks about a postal code, wants to know what city a ZIP code belongs to, or needs address information.
Args: postal_code: The postal code to look up (e.g., "90210", "SW1A", "10115", "100-0001") country: ISO 3166-1 alpha-2 country code (e.g., "US", "GB", "DE", "JP"). Defaults to "US".
Returns: City, state/region, and abbreviation for the postal code.
Inputs: postal_code (required), country. Returns: result
search_by_cityA
Find all postal codes for a given city.
Use this when someone has a city name and needs the postal codes that serve it. For US cities, provide the state name or 2-letter abbreviation.
Args: city: City name (e.g., "Beverly Hills", "Berlin", "Tokyo") state: State or region name/abbreviation. Required for US cities (e.g., "CA" or "California"). country: ISO 3166-1 alpha-2 country code. Defaults to "US".
Returns: List of postal codes for the city.
Inputs: city (required), state, country. Returns: result
validate_postal_codeA
Check whether a postal code exists in a given country.
Use this when someone wants to verify if a postal code is valid before processing an order, form, or address.
Args: postal_code: The postal code to validate country: ISO 3166-1 alpha-2 country code. Defaults to "US".
Returns: Whether the postal code is valid or invalid.
Inputs: postal_code (required), country. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
The tools have distinct primary purposes: get_postal_code_metadata for detailed geographic data, lookup_postal_code for basic address information, search_by_city for reverse lookup, and validate_postal_code for validation. However, get_postal_code_metadata and lookup_postal_code could be confused as both retrieve postal code information, though their descriptions clarify different use cases.
All tool names follow a consistent snake_case pattern with clear verb_noun structure: get_postal_code_metadata, lookup_postal_code, search_by_city, validate_postal_code. The naming is predictable and readable throughout the set.
With 4 tools, this is well-scoped for a postal code data server. Each tool serves a distinct function in the domain, and the count is appropriate for covering core operations without being overwhelming or insufficient.
The toolset covers key postal code operations: lookup, validation, reverse search, and metadata retrieval. A minor gap exists in lacking explicit update or delete operations, but these are not typically needed for a read-only data service, and agents can work effectively with the provided tools.
Maintenance
Related MCP Connectors
Global postal and ZIP code lookup across 60+ countries with coordinates, states, and place names.
Postal lookups for 120 countries with cited sources; deep US tier: demographics, climate, area codes
Hosted libpostal: messy free-text postal addresses → structured fields. No 2-4GB self-host.
Global city and place geocoding, coordinates, elevation, population, timezones, and admin hierarchy.
51
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceUK address (Royal Mail PAF), email, and phone (live HLR carrier) validation via the Postio API. Six tools: address search, postcode lookup, UDPRN, email validate, phone validate, and a health probe.MIT
- FlicenseNot gradedqualityCmaintenanceEnables location intelligence for US ZIP codes, allowing users to search, profile, and compare ZIP codes across various domains like crime, income, schools, and more.-

Acuris Geo MCP Serverofficial
AlicenseNot gradedqualityCmaintenanceProvides address validation and geocoding for 240+ countries, including UK Royal Mail PAF and US/Canada census enrichment. Enables batch validation, forward/reverse geocoding, UK postcode expansion, and automatic refunds for failed lookups.76 PyPIMIT- AlicenseAqualityDmaintenanceMCP server that resolves postal/ZIP codes to place names, states, and coordinates using Zippopotam.us. Free, no API key required.1MIT