地址英譯中(部分)
tw_address_en_to_zh
台灣專屬MIT
英文地址 → 中文(**有限版**:縣市區做 reverse lookup,路名留英文)。
Args:
address_en: 英文地址,例 "No. 7, Sec. 5, Zhongxiao E. Rd., Xinyi Dist., Taipei City"。
Returns: county_zh / district_zh / street_en(路名保留英文)+
confidence (high/medium/low) + warning。
為何路名不轉中文:英文音譯 → 中文是 1-to-N 對應("Zhongxiao" 可對
忠孝/中孝/中校等),無 reliable lookup。本工具只做結構解析 + 縣市區
reverse lookup;完整中文地址需人工確認。輸入 schema
{
"properties": {
"address_en": {
"title": "Address En",
"type": "string"
}
},
"required": [
"address_en"
],
"title": "address_en_to_zhArguments",
"type": "object"
}呼叫方式
配置好 Twinkle Hub 的 MCP client 後,agent 會看到 tw_address_en_to_zh。直接讓它呼叫即可,例如:
# Ask Claude / any MCP client: 請用 tw_address_en_to_zh 處理 "台北市中正區忠孝東路1段1號"。 # It will call: tw_address_en_to_zh(input="台北市中正區忠孝東路1段1號")
尚未設定 Client?
Claude Desktop 約 3 分鐘即可完成設定 — 下載 .mcpb 檔案並雙擊即可,或參閱文件中的各 Client 安裝步驟。
查看使用者設定文件