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 →

Validate Taiwan ID

twtools-validate_taiwan_id_number

TW-specificMIT

驗證中華民國身分證字號或外國人統一證號 (公開算法 derive,無 PII lookup)。

Args:
    id_number: 10 字元(1 字母 + 9 數字)。例: "A123456789"。

Returns: valid / invalid + sex + 登記縣市(合規說明:演算法本身公開,
    不查任何資料庫,純算法 derive)。

Input schema

{
  "properties": {
    "id_number": {
      "title": "Id Number",
      "type": "string"
    }
  },
  "required": [
    "id_number"
  ],
  "title": "validate_taiwan_id_numberArguments",
  "type": "object"
}

How to call

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

# Ask Claude / any MCP client:
請用 twtools-validate_taiwan_id_number 處理 "A123456789"。

# It will call:
twtools-validate_taiwan_id_number(input="A123456789")

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