PostalKit: Mexican postal codes

v0.1.1
io.github.postalkit/postalkit-mcp Checked 4 days ago Published 15 days ago

Mexican postal codes (SEPOMEX), colonias, municipalities, streets and geocoding via PostalKit.

Values you need

VariableWhat it is
POSTALKIT_KEYrequired 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.1
Add 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

  1. Ask the user for: POSTALKIT_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. 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, ….
  5. 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