地址抽行政區代碼
twtools-extract_admin_code_from_addr
TW 전용MIT
從中文自由文字地址 regex 抽 縣市/鄉鎮 → admin code (sub-ms).
Args:
address: e.g. '110臺北市信義區忠孝東路五段236巷66號'
郵遞區號 (3-5 digit) 可有可無.
Returns:
{found, addr_input, county, town, county_code, town_code}
Use case: 文字 dataset (PCC agency_addr / 統編公司登記地址 /
健保特約地址) batch enrich admin code.입력 스키마
{
"properties": {
"address": {
"title": "Address",
"type": "string"
}
},
"required": [
"address"
],
"title": "extract_admin_code_from_addrArguments",
"type": "object"
}호출 방법
Twinkle Hub MCP 클라이언트가 설정되면 에이전트는 twtools-extract_admin_code_from_addr을 봅니다. 호출을 요청하기만 하면 — 예시:
# Ask Claude / any MCP client: 請用 twtools-extract_admin_code_from_addr 處理 "…"。 # It will call: twtools-extract_admin_code_from_addr(input="…")
아직 클라이언트를 설정하지 않으셨나요?
Claude Desktop은 3 분이면 연결 — .mcpb 다운로드 후 더블 클릭, 다른 클라이언트는 docs 참조.
사용자 문서 보기