SuperAPI AI Directory

postaldatapi-mcp

Global postal code lookup, validation and city search, with timezone, administrative region and elevation metadata.

Open website

About this tool

PostalDataPI MCP Server is an MCP (Model Context Protocol) server provided by PostalDataPI. Its main purpose is to allow AI agents to query, validate, and search global postal codes through a standardized protocol. It encapsulates PostalDataPI's postal code database capabilities as MCP tools, integrating with AI clients that support MCP, so that AI assistants can directly complete postal code and address-related data queries without manually jumping to external websites.

Main capabilities include: postal codes covering more than 240 countries and regions, including the United States, the United Kingdom, Canada, Germany, France, Japan, Australia, Brazil, India, and others; support for querying the city/place corresponding to a postal code, validating whether a postal code is valid, and reverse-searching postal codes by city. In addition to basic queries, the get_postal_code_metadata tool can return up to 18 fields of metadata for a single postal code, including: latitude and longitude coordinates; time zone (for example, America/Mexico_City, Europe/Berlin); administrative hierarchy information (state/province, county, municipality); elevation (meters); place name and country information. The official example provides the return result for Mexico City postal code 06000.

How to use: First, register an account at postaldatapi.com/register and obtain an API Key. Registration provides 1,000 free queries and does not require a credit card. Then configure it for Claude Code or Claude Desktop; on macOS, the Claude Desktop configuration file is located at ~/Library/Application Support/Claude/claude_desktop_config.json. After configuration is complete, users can ask Claude questions in natural language, such as "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", and Claude will automatically call the PostalDataPI tool to answer.

Applicable scenarios include: applications that need AI assistants to instantly complete postal code validation, address completion, geographic coordinate retrieval, time zone determination, and administrative region classification during conversations; cross-border e-commerce, logistics, address form validation, market analysis, and other scenarios that support postal code processing for multiple countries.

Limitations: Registration and an API Key are required before use; the free quota is 1,000 queries, and the billing or quota policy after exceeding it is not provided in the materials; the complete list of supported countries must be found at postaldatapi.com/countries; information such as the complete definitions of specific returnable fields, rate limits, and data update frequency is not explained in detail in the official text.