PostalDataPI MCP Server
官方Global postal code lookups, validation, and city search for 70+ countries. Sub-10ms responses.
PostalDataPI MCP Server
MCP (Model Context Protocol) server for PostalDataPI — lets AI agents look up, validate, and search postal codes across 240+ countries and territories with rich metadata: timezone, administrative regions, elevation, and coordinates.
Tools
| Tool | Description |
|---|---|
lookup_postal_code | Get city, state/region, and abbreviation for a postal code (US ZIP, UK postcode, German PLZ, etc.) |
validate_postal_code | Check if a postal code exists in a country |
search_by_city | Find all postal codes for a city |
get_postal_code_metadata | Full metadata: coordinates, admin hierarchy, timezone, elevation, and more |
Setup
1. Get an API Key
Sign up at postaldatapi.com/register — 1,000 free queries, no credit card required.
2. Install
pip install postaldatapi-mcp
3. Configure with Claude Code
claude mcp add --transport stdio postaldatapi -- \
env POSTALDATAPI_KEY=your_api_key_here postaldatapi-mcp
4. Configure with Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"postaldatapi": {
"command": "postaldatapi-mcp",
"env": {
"POSTALDATAPI_KEY": "your_api_key_here"
}
}
}
}
Usage
Once configured, ask Claude naturally:
- "What city is ZIP code 90210?"
- "Look up UK postcode SW1A"
- "Is 10115 a valid German postal code?"
- "What are the postal codes for Beverly Hills, CA?"
- "Get the coordinates for postal code 100-0001 in Japan"
Claude will automatically use the PostalDataPI tools to answer.
Supported Countries
240+ countries and territories including US, UK, Canada, Germany, France, Japan, Australia, Brazil, India, and many more. See the full list at postaldatapi.com/countries.
Rich Metadata
Beyond basic lookups, the get_postal_code_metadata tool returns up to 18 fields per postal code including:
- Coordinates (latitude, longitude)
- Timezone (e.g.,
America/Mexico_City,Europe/Berlin) - Administrative hierarchy (state/province, county, municipality)
- Elevation (meters above sea level)
- Place name and country information
Example response for Mexico City 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
}
Links
相关服务器
UU跑腿 MCP Server
Create orders on the uupt.com open platform using the MCP protocol.
Enedis Linky MCP Server
A production-ready Model Context Protocol (MCP) server written in Go that wraps the Conso API, giving AI assistants like Claude direct access to your Enedis Linky smart meter data.
Overseerr
Interact with the Overseerr API to manage movie and TV show requests.
swarmix-mcp
AI client acquisition autopilot. 15 MCP tools to deploy outreach agents across LinkedIn, Email, X, Instagram & Blog from Claude.
Bitrefill
Shop for gift cards, esims, phone topups. Pay with cards and crypto.
Sidekick for InDesign
Lets your AI assistant talk to InDesign. Not about it. Actually control it.
Meta-Stamp Pockets
Licensed AI content access. 1,821 Dhar Mann Studios videos. $0.0025/pull, creator compensated automatically. 30ms delivery.
ImmoStage Virtual Staging
AI virtual staging for real estate — stage rooms, beautify floor plans, classify images, generate property descriptions
Polymarket MCP
Self-hosted MCP server for AI agent trading on Polymarket. 42 tools for market discovery, order placement, wallet intelligence, copy trading, and reward discovery.
ChatSpatial
MCP server for spatial transcriptomics analysis with 60+ integrated methods