PostalKit: Mexican postal codes MCP Server
Mexican postal codes (SEPOMEX), colonias, municipalities, streets and geocoding via PostalKit.
PostalKit: Mexican postal codes scores 66 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 11 tools. Filed under Maps and location. GitHub shows 0 stars. Package registries report about 582 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
88/100 for listing completeness. Lost points: short README, 1 of 11 tools barely described, short summary.
How quality is graded
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "postalkit-postalkit-mcp": { "command": "npx", "args": [ "-y", "postalkit-mcp@0.1.1" ], "env": { "POSTALKIT_KEY": "YOUR_POSTALKIT_KEY" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
POSTALKIT_KEYSecret | Required | Your PostalKit API key. Get a free one at https://postalkit.mx/register |
Tools11Tool docs quality grade D
All capabilitiesPostal codes for a state, municipality and/or colonia name
Latitude/longitude for a postal code (optionally street and number)
get_usagetoolYour plan, monthly limit and requests used
Municipalities of a state, by ID or INEGI code
Every colonia in a municipality
list_statestoolThe 32 states with INEGI codes
State, municipality, city and every colonia for a 5-digit postal code
reverse_geocodetoolNearest postal code to a coordinate
search_coloniastoolColonias by name, nationwide
Postal codes that start with a prefix
search_streetstoolStreets of a municipality, by name
About
PostalKit MCP server
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
- Website: postalkit.mx
- API reference: postalkit.mx/docs
- PHP / Laravel SDK: postalkit-php
License
MIT
Frequently asked questions
What is PostalKit: Mexican postal codes MCP Server?
Mexican postal codes (SEPOMEX), colonias, municipalities, streets and geocoding via PostalKit.
How do I install PostalKit: Mexican postal codes MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. PostalKit: Mexican postal codes MCP Server runs locally from the npm package postalkit-mcp with the command npx -y postalkit-mcp@0.1.1.
Is PostalKit: Mexican postal codes MCP Server free and open source?
Yes. PostalKit: Mexican postal codes MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does PostalKit: Mexican postal codes MCP Server support remote (HTTP) connections?
No remote endpoint is listed for PostalKit: Mexican postal codes MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does PostalKit: Mexican postal codes MCP Server provide?
PostalKit: Mexican postal codes MCP Server provides 11 tools, including find_postal_codes_by_place, geocode_postal_code, get_usage, and list_municipalities. See the full tool list for descriptions and parameters.
How is PostalKit: Mexican postal codes MCP Server's trust score calculated?
PostalKit: Mexican postal codes MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.