PostCode Check

Validate and normalize postal codes offline for 252 countries and territories. Format check only.

Sollte ich dies verwenden

Qualität und Sicherheit

A
Qualität der Beschreibung
100%
Vollständigkeit des Schemas
65%
Qualität der Benennung
100%
Risiko der Vergiftung
100%
Übereinstimmung der Berechtigungen
100%
Einhaltung des Protokolls
100%

Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.

Kontextkosten

~630Tokens (Tool-Definitionen)
~2.2 KBTypische Antwortgröße
Minimale Auswirkung auf die Aufmerksamkeit (0.49% von 128k Kontext)

Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.

Installieren

Installation mit einem Klick

Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:

{
  "mcpServers": {
    "postcodecheck": {
      "url": "https://postcodecheck.mike-tusa.workers.dev/mcp"
    }
  }
}

Remote-Endpunkte

https://postcodecheck.mike-tusa.workers.dev/mcpstreamable-http

Was es kann

Tool-Inventar

Tools (2)

🟢 Nur lesen🟡 Schreiben🔴 Löschen⚪ Unbekannt
🟢validate_postcode(country, code)

Check whether a postal code has a valid format for a country and return its normalized form (uppercase, official space or hyphen), a format example and the country name. Example: country "NL", code "1234ab" → valid true, normalized "1234 AB". Format check only (Google libaddressinput patterns): it does not confirm the code exists or is deliverable. Countries without postal codes return valid false with reason "no_postal_codes". Read-only. Same engine as GET /v1/validate.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "country": {
      "type": "string",
      "minLength": 2,
      "maxLength": 2,
      "description": "ISO 3166-1 alpha-2 country code, e.g. \"US\", \"GB\", \"DE\" (case-insensitive; \"UK\" accepted)."
    },
    "code": {
      "type": "string",
      "minLength": 1,
      "maxLength": 32,
      "description": "The postal code to check, e.g. \"SW1A 1AA\", \"94103\", \"10115\"."
    }
  },
  "required": [
    "country",
    "code"
  ],
  "additionalProperties": false
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "valid": {
      "type": "boolean"
    },
    "normalized": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "format_example": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "country": {
      "type": "string"
    },
    "country_name": {
      "type": "string"
    },
    "input": {
      "type": "string"
    },
    "has_postal_codes": {
      "type": "boolean"
    },
    "zip_name": {
      "type": "string"
    },
    "reason": {
      "type": "string",
      "enum": [
        "format_mismatch",
        "no_postal_codes",
        "empty"
      ]
    },
    "message": {
      "type": "string"
    },
    "version": {
      "type": "string"
    }
  },
  "required": [
    "valid",
    "normalized",
    "format_example",
    "country_name",
    "version"
  ]
}
🟢list_countries

List every supported country and territory with its ISO code, English name, whether it uses postal codes, a format example and the local name for the code (zip, eircode, PIN…). Read-only. Same data as GET /v1/countries.

Eingabe-Schema

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "count": {
      "type": "integer"
    },
    "with_postal_codes": {
      "type": "integer"
    },
    "countries": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "has_postal_codes": {
            "type": "boolean"
          },
          "format_example": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "zip_name": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "name",
          "has_postal_codes"
        ]
      }
    },
    "version": {
      "type": "string"
    }
  },
  "required": [
    "count",
    "countries",
    "version"
  ]
}

Community

Diesen Server bewerten

Nachweis

Aktuelle Beobachtungen

verifiziertVersion nicht aufgezeichnet2 Tools