Twinkle HubTwinkle Hub
Sign in

📌 2026-06-30 added: 🎓 Teacher exam dual corpus — 12,731 qualification questions + 2,421 recruitment questions (519 datasets)

View full changelog →

Address to postal code

twtools-address_to_postal_code

TW-specificMIT

從中文地址推 3 碼郵遞區號 + 縣市區(district-precision)。

Args:
    address: 中文地址,例 "臺北市信義區忠孝東路五段 7 號"。

Returns: {postal_3, county, district, name_zh, precision}。
    5/6 碼街道精度不在範圍內(避免 bundle 中華郵政 80MB 表 +
    上游 schema 不穩);嚴格 5 碼請走中華郵政 web tool。

Input schema

{
  "properties": {
    "address": {
      "title": "Address",
      "type": "string"
    }
  },
  "required": [
    "address"
  ],
  "title": "address_to_postal_codeArguments",
  "type": "object"
}

How to call

Once your Twinkle Hub MCP client is configured, your agent will see twtools-address_to_postal_code. Just ask it to call — example:

# Ask Claude / any MCP client:
請用 twtools-address_to_postal_code 處理 "台北市中正區忠孝東路1段1號"。

# It will call:
twtools-address_to_postal_code(input="台北市中正區忠孝東路1段1號")

Haven't set up a client yet?

Claude Desktop in 3 minutes — download the .mcpb and double-click, or see docs for other clients.

See user docs