Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Postalkit

FreeMaintained

MCP server for Mexican postal codes (SEPOMEX): códigos postales, colonias, municipios and geocoding for Claude, Cursor and other AI assistants.

GitHubEmbed

About

MCP server for Mexican postal codes (SEPOMEX): códigos postales, colonias, municipios and geocoding for Claude, Cursor and other AI assistants.

README

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

Create a free account at postalkit.mx (100 requests/month on the free plan) and copy your key from the dashboard.

Install

Claude Code

claude mcp add postalkit --env POSTALKIT_KEY=your-api-key -- npx -y postalkit-mcp

Claude Desktop, Cursor, Windsurf, VS Code and other clients

Add this to your client's MCP config (claude_desktop_config.json, .cursor/mcp.json, etc.):

{
  "mcpServers": {
    "postalkit": {
      "command": "npx",
      "args": ["-y", "postalkit-mcp"],
      "env": {
        "POSTALKIT_KEY": "your-api-key"
      }
    }
  }
}

Requires Node.js 20 or newer.

Tools

All tools are read-only.

Tool What it does
lookup_postal_code State, municipality, city and every colonia for a 5-digit postal code
search_postal_codes Postal codes that start with a prefix
find_postal_codes_by_place Postal codes for a state, municipality and/or colonia name
search_colonias Colonias by name, nationwide
list_states The 32 states with INEGI codes
list_municipalities Municipalities of a state, by ID or INEGI code
list_municipality_colonias Every colonia in a municipality
search_streets Streets of a municipality, by name
geocode_postal_code Latitude/longitude for a postal code (optionally street and number)
reverse_geocode Nearest postal code to a coordinate
get_usage Your plan, monthly limit and requests used

Each tool call is one API request against your PostalKit quota.

Configuration

Variable Default
POSTALKIT_KEY (required) Your API key (POSTALKIT_API_KEY also works)
POSTALKIT_BASE https://api.postalkit.mx API base URL

Development

npm install
npm test          # unit tests, no network
npm run build
npm run inspector # try the tools in the MCP Inspector

Links

License

MIT

from github.com/postalkit/postalkit-mcp

Install Postalkit in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install postalkit

Installs into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.

First time? Get the CLI: curl -fsSL https://unyly.org/install | sh

Or configure manually

Run in your terminal:

claude mcp add postalkit --env POSTALKIT_KEY="" -- npx -y postalkit-mcp

Step-by-step: how to install Postalkit

FAQ

Is Postalkit MCP free?

Yes, Postalkit MCP is free — one-click install via Unyly at no cost.

Does Postalkit need an API key?

Yes, it requires environment variables: POSTALKIT_KEY. Unyly injects them into the config during install.

Is Postalkit hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Postalkit in Claude Desktop, Claude Code or Cursor?

Open Postalkit on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Postalkit with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs