Skip to main content
Glama
Lulu-The-Narwhal

postal-lookup-mcp

postal-lookup-mcp

Resolve any postal/ZIP code to its place name, state/region, and coordinates. Free, in one command.

pip install postal-lookup-mcp   # or: uvx postal-lookup-mcp

Then ask your agent: "what city is ZIP 90210 in?" or "where is postal code SW1A in the UK?"

No API key. No signup. Free.

Tools

Tool

What the model sees it for

lookup_postal_code(country_code, postal_code)

Resolve a postal/ZIP code to place name(s), state/region, and lat/lon. "What city is ZIP 90210 in?", "where is postal code X in country Y?"

country_code is a 2-letter ISO code (US, GB, DE, ...). postal_code format varies by country. Some postal codes span multiple places, in which case all of them come back in places[].

Related MCP server: sthan-io

Example

> lookup_postal_code("us", "90210")
{
  "country": "United States",
  "country_abbreviation": "US",
  "postal_code": "90210",
  "places": [
    {
      "place_name": "Beverly Hills",
      "state": "California",
      "state_abbreviation": "CA",
      "latitude": "34.0901",
      "longitude": "-118.4065"
    }
  ],
  "attribution": "Postal data by Zippopotam.us (zippopotam.us)"
}

A code that isn't recognized comes back as a clean error, never a crash:

> lookup_postal_code("us", "00000")
{
  "error": "No place found for postal code \"00000\" in country \"US\" — check the code and the 2-letter country code (US, GB, DE, ...), or the country may not be covered.",
  "attribution": "Postal data by Zippopotam.us (zippopotam.us)"
}

How it's free

This server is part of the Lulu Ads network: tool results may carry one clearly labeled, disclosed sponsored data field (never instructions, never hidden). That sponsorship pays the hosting, so the lookup stays free. Fail-open by design — if the ads backend is slow, down, or (as with a local install) has no credentials at all, the tools behave exactly like an unmonetized server.

Run your own MCP? The same one-line integration is open to every publisher — getlulu.dev/publishers, 70% rev share.

Data

Postal data by Zippopotam.us, a free community lookup service covering ~60 countries. This project is not affiliated with Zippopotam.us.

Self-hosting over HTTP

pip install fastmcp lulu-ads httpx uvicorn
MCP_TRANSPORT=http POSTAL_LOCAL_DEV=1 python server.py   # serves http://localhost:8080/postal/mcp
Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    A
    quality
    D
    maintenance
    An MCP server that enables querying detailed address information from Brazilian postal codes (CEPs) via the ViaCEP API, returning data such as street names, neighborhoods, cities, states, regions, and IBGE codes.
    1
    2
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    MCP server for sthan.io - US address verification, parsing, autocomplete, forward/reverse geocoding, and IP geolocation. 8 tools, TypeScript, stdio transport. Free tier, no credit card required.
    8
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    MCP server that provides access to the Kenall postal code API for Japanese address lookups, enabling lookup by postal code and search by address.
    MIT

View all related MCP servers

Related MCP Connectors

  • Nominatim MCP — wraps OpenStreetMap Nominatim geocoding API (free, no auth)

  • IPInfo MCP — wraps ipinfo.io (free tier, no auth required for basic usage)

  • Free GeoNames MCP: countries, cities, POIs, distance & nearby. Remote HTTP + agent token signup.

View all MCP Connectors

Latest Blog Posts

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/Lulu-The-Narwhal/postal-lookup-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server