New advertisers: 50% off your first month with code FIRSTMONTHSee slots
postalkit avatar

PostalKit: Mexican postal codes

postalkit/postalkit-mcp

Mexican postal codes, colonias, municipalities, streets, and geocoding from the official SEPOMEX catalog.

tools
11
auth
Secret needed
transport
STDIO
env var
1
last updated
Nov 20, 2026
View on GitHub

What it does

  • Reads data with lookup_postal_code, search_postal_codes, find_postal_codes_by_place, and search_colonias, covering states, municipalities, and colonias
  • Looks up places with list_states, list_municipalities, list_municipality_colonias, and search_streets; geocodes with geocode_postal_code and reverse_geocode
  • Requires a PostalKit API key, with a free plan of 100 requests per month; every tool call counts against that quota
  • Designed for address validation, shipping checks, and form autofill in AI assistants

Tools

11 tools

Public tool metadata for what this MCP can expose to an agent.

lookup_postal_codeState, municipality, city and every colonia for a 5-digit postal code

State, municipality, city and every colonia for a 5-digit postal code

No parameter schema in public metadata yet.

search_postal_codesPostal codes that start with a prefix

Postal codes that start with a prefix

No parameter schema in public metadata yet.

find_postal_codes_by_placePostal codes for a state, municipality and/or colonia name

Postal codes for a state, municipality and/or colonia name

No parameter schema in public metadata yet.

search_coloniasColonias by name, nationwide

Colonias by name, nationwide

No parameter schema in public metadata yet.

list_statesThe 32 states with INEGI codes

The 32 states with INEGI codes

No parameter schema in public metadata yet.

list_municipalitiesMunicipalities of a state, by ID or INEGI code

Municipalities of a state, by ID or INEGI code

No parameter schema in public metadata yet.

list_municipality_coloniasEvery colonia in a municipality

Every colonia in a municipality

No parameter schema in public metadata yet.

search_streetsStreets of a municipality, by name

Streets of a municipality, by name

No parameter schema in public metadata yet.

geocode_postal_codeLatitude/longitude for a postal code (optionally street and number)

Latitude/longitude for a postal code (optionally street and number)

No parameter schema in public metadata yet.

reverse_geocodeNearest postal code to a coordinate

Nearest postal code to a coordinate

No parameter schema in public metadata yet.

get_usageYour plan, monthly limit and requests used

Your plan, monthly limit and requests used

No parameter schema in public metadata yet.

Configuration

POSTALKIT_KEY*secret

Your PostalKit API key. Get a free one at https://postalkit.mx/register

Readme

PostalKit MCP server

npm tests

An MCP server that gives Claude, Cursor, VS Code and other AI assistants accurate Mexican address data: postal codes (códigos postales), colonias, municipalities, states, streets and geocoding, from the official SEPOMEX catalog via the PostalKit API.

Español: servidor MCP para consultar códigos postales, colonias, municipios y estados de México desde Claude, Cursor y otros asistentes de IA, con datos oficiales de SEPOMEX a través de la API de PostalKit.

Ask things like:

  • "¿Qué colonias tiene el código postal 06600?"
  • "What's the postal code for Colonia Americana in Guadalajara?"
  • "Validate these 200 shipping addresses and flag any postal code that doesn't match its colonia."
  • "Which postal code is closest to 19.4233, -99.1637?"

Get an API key


View the full README on GitHub

Details

Repository
github.com/postalkit/postalkit-mcp
Website
postalkit.mx
Categories
Travel & Maps, Data & Analytics, Developer Tools
Package
postalkit-mcp
Transport
STDIO
Auth
Required
Registry
MCP registry, active

Similar to PostalKit: Mexican postal codes

More Travel & Maps