Zippopotam.us MCP. Get Coordinates from Any Global Zip Code
Works with every AI agent you already use
…and any MCP-compatible client
Just plug in your AI agents and start using Vinkius.
Zippopotam.us provides global geographic intelligence via an MCP server. It allows your AI agent to look up location data for over 60 countries, handling anything from simple postal code validation to complex reverse geocoding.
You can input a zip code and get the city, state, latitude, and longitude instantly. Alternatively, you can give it a city and state name, and it returns every associated postal code in that area.
It's essential for any workflow that touches physical addresses or logistics.
What your AI agents can do
Lookup nearby city
This tool generates a list of all valid postal codes associated with a specific city and state name combination.
Lookup postcode
This tool takes one specific postal code as input and returns the corresponding city, state, and coordinates for that location.
You send a zip code, and the server immediately verifies the city name, state abbreviation, and precise geographic coordinates for that code.
The server takes a general location (city and state) and generates a complete list of every postal code that belongs there, which is useful for batch processing or data completeness checks.
Ask AI about this MCP
Supported MCP Clients
Waiting for input…
Zippopotam.us MCP Server: 2 Tools for Location Data Lookup
Use these two tools to perform both reverse geocoding (zip code to location) and forward mapping (city/state to zip codes).
019d84a3lookup nearby city
This tool generates a list of all valid postal codes associated with a specific city and state name combination.
019d84a3lookup postcode
This tool takes one specific postal code as input and returns the corresponding city, state, and coordinates for that location.
Choose How to Get Started
Build a custom MCP for your own tools, or connect a ready-made integration from our catalog.
Build Your Own
Turn any API into an MCP. Import a spec, define Agent Skills, or deploy with MCPFusion.
- Import from OpenAPI, Swagger, or YAML specs
- Create Agent Skills with progressive disclosure
- Deploy to edge with MCPFusion framework
- Built in DLP, auth, and compliance on every call
- Real time usage dashboard and cost metering
- Publish to catalog or keep private
Make Your AI Do More
Start with Zippopotam.us, then connect any of our 4,700+ other servers whenever your AI needs more. One click, no limits.
- Use this MCP plus 4,700+ others, all in one place
- Add new capabilities to your AI anytime you want
- Every connection is secured and compliant automatically
- Track usage and costs across all your servers
- Works with Claude, ChatGPT, Cursor, and more
- New servers added to the catalog every week
What you can do with this MCP connector
This server gives your AI agent access to global address intelligence via Zippopotam.us. You're not just running a simple lookup; you’re connecting to an instant, universal postal authority for anything involving physical addresses. It handles everything from validating one zip code to mapping out all the codes in an entire state.
Your agent executes two specific functions: lookup_postcode validates a location using a single zip code input; lookup_nearby_city generates a comprehensive list of codes when you only know the general area. You'll find it essential for any workflow touching logistics, data completeness, or geo-validation.
Validating Location by Postal Code with lookup_postcode
When your client needs to verify if an address exists and where it is on a map, you use the lookup_postcode tool. You pass it one specific postal code as input. The server immediately returns structured data containing the corresponding city name, the state abbreviation, and precise geographic coordinates (latitude and longitude) for that exact location.
This process verifies all components of the address simultaneously. If the provided zip code is valid, you'll get a complete picture: not just the city or state, but where on Earth it sits.
Mapping All Codes for a City/State with lookup_nearby_city
Sometimes, you don't have a specific postal code; you just know the general area—you've got a city and its state. For that, you use lookup_nearby_city. You input the target city and the state name. The server then runs through its database and returns every single valid postal code associated with that entire combination of city and state.
This is critical when you need to batch process data or fill in gaps where users only provide a general location, not an exact code. It gives you maximum coverage for any given municipality.
How the Tools Work Under the Hood
The system operates on clean inputs and structured outputs. When your agent calls the server via your preferred client, it specifies which tool it needs: if it’s validation, it uses lookup_postcode; if it’s mapping a region, it uses lookup_nearby_city. The output is always reliable JSON data. For example, using lookup_postcode, you send the zip code, and you get back the city name, state abbreviation, latitude, and longitude in one packet.
With lookup_nearby_city, you give it 'Dallas' and 'Texas,' and it sends back a list containing dozens of valid postal codes that belong to Dallas, Texas.
It’s built for rigor. You don't get fuzzy results or approximations. You get actionable geographic intelligence. This capability is perfect for databases needing completeness checks, billing systems requiring accurate location validation before processing, or any system dealing with physical goods where knowing the exact boundaries matters.
How Zippopotam.us MCP Works
- 1 Your AI client sends a request to the Zippopotam.us MCP endpoint, specifying the target function (e.g.,
lookup_postcode) and the required input data. - 2 The server executes the query against its global database, processing the requested postal code or location parameters.
- 3 You receive structured JSON output containing all validated details: city name, state abbreviation, latitude, longitude, and/or a list of associated codes.
The bottom line is that you get reliable, standardized geographical data for any region covered by the global postal code database.
Who Is Zippopotam.us MCP For?
Anyone dealing with physical addresses or logistics needs this. If your app requires accurate location validation (e.g., checking if a user's entered zip code is valid for their state), you need this server. It stops data ambiguity before it hits the database, saving development time and preventing failed deliveries.
Verifies that delivery addresses supplied by sales teams match official postal databases, ensuring routes are calculated with correct coordinates.
Enriches raw datasets—like customer sign-ups or market research lists—by appending accurate latitude and longitude data based only on the zip code provided.
Integrates reliable, external geo-lookup into a user interface, allowing users to validate complex forms (like international shipping addresses) instantly.
What Changes When You Connect
- Accurate Validation: Stop accepting junk addresses. Using
lookup_postcode, your agent validates if a given zip code actually exists and what city/state it belongs to, reducing false positives. - Complete Data Mapping: Don't just rely on one piece of data. If you know the city but not all codes, running
lookup_nearby_citygives you an exhaustive list of associated postal codes for that entire area. - Geographic Context: The system returns precise latitude and longitude coordinates automatically. This is critical when calculating distance metrics or mapping service areas; it's always structured data.
- Global Coverage (60+ Countries): This isn't limited to US zip codes. It handles global postal standards, making it reliable for international logistics pipelines where address formats vary wildly.
- Simple Integration: There's no API key needed for basic access. You just connect the MCP server and let your AI client handle the calling logic—it keeps the workflow simple.
Real-World Use Cases
Validating International Shipping Forms
A user submits a shipping form with an international postal code. Instead of failing, the agent uses lookup_postcode to confirm the city and state match the code's data. It then returns the correct coordinates (Lat/Long) for your backend system to calculate accurate customs tariffs.
Building a Service Radius Tool
A client asks, 'What is the service area covered by zip codes near Downtown Chicago?' The agent uses lookup_nearby_city with 'Chicago' and 'IL' to pull hundreds of postal codes. It then passes these structured data points to a mapping tool.
Data Enrichment for Marketing Leads
You ingest a spreadsheet of customer addresses, but they only contain the city and state. The agent runs lookup_nearby_city on every row, generating a comprehensive list of all possible zip codes. This allows you to segment leads based on specific postal code density.
Automating Form Submission Testing
A developer needs to write unit tests for an address input field that must be location-aware. The agent runs lookup_postcode repeatedly with known edge-case codes (e.g., rural vs. urban) to verify the application handles all required data points correctly.
The Tradeoffs
Assuming one zip code = one location
If you only use a simple database query based on city name, you might retrieve multiple addresses or fail when dealing with complex municipal boundaries.
→
Always run lookup_postcode first. This tool gives the precise coordinates and validates the address against official records before you proceed. It’s the single source of truth.
Only checking US addresses
Hardcoding logic for state abbreviations or failing when a postal code uses international formatting (like UK or Canadian systems).
→ Use this MCP server's global intelligence. It handles the varied formats, so you pass it the raw code and let the tool do the country-specific validation.
Ignoring the relationship between city/state and codes
Thinking that knowing a user lives in 'Miami' is enough. You need to know which Miami—the specific zip code defines the location, not just the city name.
→
If you only have the general area, run lookup_nearby_city. This tool explicitly maps the broader region down to all valid postal codes, giving you depth.
When It Fits, When It Doesn't
Use this server if your task requires converting raw text addresses into structured, validated data points (coordinates, state abbreviations). Specifically, use it when: 1) You need absolute verification of a single zip code's location (lookup_postcode). 2) Your input is general (just city/state) and you require the full set of possible codes for that region (lookup_nearby_city).
Don't use this if you simply need to validate an email or a phone number; those are different data types. If your system only needs to check if a zip code is 'in' a state without needing the coordinates, a simpler database might suffice—but Zippopotam.us gives you maximum certainty and structure.
Remember: It’s about structured validation, not just text matching.
Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Zippopotam.us. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
VINKIUS INFRASTRUCTURE
Cloud Hosted
Managed infra
V8 Isolated
Sandboxed per request
Zero-Trust Proxy
No stored credentials
DLP Enforced
Policy on every call
GDPR Compliant
EU data residency
Token Compression
~60% cost reduction
Works with Claude, ChatGPT, Cursor, and more
The Model Context Protocol standardizes how applications expose capabilities to LLMs. Instead of operating in isolation, your AI gains direct access to external platforms, live data, and real-world actions through secure, standardized connections.
This server provides 2 capabilities that interface natively with Claude, ChatGPT, Cursor, and any MCP client. No middleware. No custom integration required.
Available Capabilities
Checking addresses manually wastes time; coordinating location data shouldn't either.
Right now, if a sales rep calls over an address, you have to check it against multiple internal databases. Is the zip code correct? Does that city exist in this state? You spend five minutes cross-referencing spreadsheets just to get coordinates for a single shipment.
With this MCP server, your agent handles the whole process in one query. Feed it the raw postal code—`lookup_postcode`—and you immediately get the verified city, state, and precise Lat/Long data structure. It's instant validation.
Zippopotam.us MCP Server: Map Coordinates from Postal Codes
Before, if you were building a system that needed to map an entire metropolitan area (say, all codes in Portland), you had to gather dozens of separate data feeds and write complex JOIN queries just to compile the full list.
Now, your agent uses `lookup_nearby_city` to pull every single known postal code for 'Portland, OR' into a structured format. The whole process moves from hours of database work to one simple tool call.
Common Questions About Zippopotam.us MCP
How do I use lookup_postcode with Zippopotam.us MCP Server? +
You pass the specific postal code (e.g., 90210) to the agent, which invokes lookup_postcode. The server returns a structured JSON object containing the city name, state abbreviation, and the exact latitude/longitude for that single code.
Can I find all zip codes in Miami using lookup_nearby_city? +
Yes. You run lookup_nearby_city by providing 'Miami' as the city and 'Florida' as the state. The server will then generate a list of every known postal code associated with that specific location.
Does Zippopotam.us MCP Server require an API key? +
No, for basic access, it doesn't require an API key. You simply subscribe to the server and your AI client handles the connection using the standard MCP protocol.
What format does lookup_postcode return coordinates in? +
It returns latitude and longitude as floating-point numbers, which is the standard format for mapping services. This makes it ready to use immediately in your application's geometry calculations.
What happens if I use lookup_postcode with an invalid or non-existent zip code? +
The tool handles bad inputs gracefully. If a postal code doesn't match any record, the server returns a specific error message explaining the missing data without crashing your agent flow.
Does lookup_nearby_city support international cities beyond the US? +
Yes, the service provides intelligence for over 60 countries. You can pass non-US city names and states to retrieve associated postal codes globally.
Are there any rate limits when calling lookup_postcode repeatedly? +
No, standard use does not hit hard rate limits. However, if you are running continuous, massive query batches, it’s best to check Vinkius documentation for high-volume usage guidelines.
What exact geographic data points does lookup_postcode provide? +
It returns the city name, state details, and precise latitude/longitude coordinates. You get a full set of structured data points perfect for mapping or distance calculations.
Can I lookup a US zip code and get its coordinates? +
Yes! Use the lookup_postcode tool with the country 'US' and the zip code. It will return the city, state, and coordinates for that location.
Which countries are supported by Zippopotam.us? +
Zippopotam.us supports over 60 countries, including the US, Canada, Great Britain, Brazil, France, Germany, and many others. You can use the standard 2-letter ISO country codes.
Can I find all zip codes for a specific city? +
Yes! Use the lookup_city tool with the country code, state, and city name. It will return a list of all postal codes associated with that urban area.
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
More in this category
Vapi
Command Voice AI assistants directly from your chat. Make outbound phone calls, update personas, and retrieve full transcripts via Vapi.
Nyckel ML
Classify data and perform semantic search via Nyckel — track ML functions, samples, and labels directly from your AI agent.
AutoGen
Orchestrate Microsoft AutoGen multi-agent workflows — manage sessions, agent roles, workflows, and monitor execution logs from any AI agent.
You might also like
WebScrapingAPI
Scrape HTML, render JavaScript, and retrieve structured SERP data using WebScrapingAPI's high-proxy network.
Breezy HR Alternative
Manage recruitment workflows via Breezy HR — list companies, track job positions, and manage candidates directly from any AI agent.
Zapier Smart Home
Control smart home devices via natural language through Zapier NLA API — access 5000+ app integrations for home automation.