PostalDataPI MCP Server
The PostalDataPI MCP Server enables AI agents to look up, validate, and search postal codes across 240+ countries with rich geographic metadata.
Look up postal codes (
lookup_postal_code): Retrieve city, state/region, and abbreviation for any postal code — including US ZIP codes, UK postcodes, German PLZ, Japanese postal codes, and more.Validate postal codes (
validate_postal_code): Check whether a given postal code exists in a specified country, useful for verifying addresses in forms or order processing.Search by city (
search_by_city): Find all postal codes associated with a specific city; for US cities, a state name or abbreviation can be provided to narrow results.Get full metadata (
get_postal_code_metadata): Retrieve comprehensive details including coordinates (latitude/longitude), timezone, administrative hierarchy (state/province, county, municipality), elevation, and place name.
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 |
| Get city, state/region, and abbreviation for a postal code (US ZIP, UK postcode, German PLZ, etc.) |
| Check if a postal code exists in a country |
| Find all postal codes for a city |
| Full metadata: coordinates, admin hierarchy, timezone, elevation, and more |
Related MCP server: ThinAir Geo
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-mcp3. Configure with Claude Code
claude mcp add --transport stdio postaldatapi -- \
env POSTALDATAPI_KEY=your_api_key_here postaldatapi-mcp4. 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
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceEnables AI assistants to search, validate, and retrieve Australian postcode and suburb data with intelligent fuzzy matching for handling misspellings and voice queries. Provides comprehensive location services including geographic search, Local Government Area queries, and suburb-postcode validation for customer service interactions.Last updated5

ThinAir Geoofficial
AlicenseAqualityCmaintenanceLocation & routing intelligence for AI agents — geocoding, truck routing, traffic, weather, and place search.Last updated4019311MIT- Alicense-qualityCmaintenanceUK 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.Last updatedMIT
- Flicense-qualityCmaintenanceEnables location intelligence for US ZIP codes, allowing users to search, profile, and compare ZIP codes across various domains like crime, income, schools, and more.Last updated
Related MCP Connectors
Hungarian postcode lookup + validation - 3,484 codes, sub-10ms lookups, bulk address endpoint.
Zillow MCP for AI agents: property data, Zestimates & listings — 300+ fields per home. Free tier.
Multi-carrier shipping for AI agents: compare rates, buy labels, track packages, validate addresses
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/PostalDataPI/postaldatapi-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server