PostalKit: Mexican postal codes
v0.1.1Mexican postal codes (SEPOMEX), colonias, municipalities, streets and geocoding via PostalKit.
Values you need
| Variable | What it is | |
|---|---|---|
POSTALKIT_KEY | required secret | Your PostalKit API key. Get a free one at https://postalkit.mx/register |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add postalkit-mcp -e 'POSTALKIT_KEY=<POSTALKIT_KEY>' -- npx -y postalkit-mcp@0.1.1Add to
claude_desktop_config.json{
"mcpServers": {
"postalkit-mcp": {
"args": [
"-y",
"postalkit-mcp@0.1.1"
],
"command": "npx",
"env": {
"POSTALKIT_KEY": "<POSTALKIT_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"postalkit-mcp": {
"args": [
"-y",
"postalkit-mcp@0.1.1"
],
"command": "npx",
"env": {
"POSTALKIT_KEY": "<POSTALKIT_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "POSTALKIT_KEY",
"id": "postalkit-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"postalkit-mcp": {
"args": [
"-y",
"postalkit-mcp@0.1.1"
],
"command": "npx",
"env": {
"POSTALKIT_KEY": "${input:postalkit-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.postalkit-mcp]
command = "npx"
args = ["-y", "postalkit-mcp@0.1.1"]
env = { "POSTALKIT_KEY" = "<POSTALKIT_KEY>" }For AI agents
- Ask the user for: POSTALKIT_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: lookup_postal_code, search_postal_codes, find_postal_codes_by_place, search_colonias, list_states, list_municipalities, list_municipality_colonias, search_streets, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json