
Thailand Data MCP
io.github.narinthon-so由 GitHub 帳號 narinthon-so 發布v0.1.2更新於 Oct 24, 2026
Thai data for AI agents: DBD company-registry lookup, address normalization, holidays, VAT/WHT.
概覽
讓助理查詢泰國公司登記資料、正規化泰文地址,並查閱假日與加值稅/扣繳稅參考資料。
- 可以做什麼
- 提供以 13 位法人編號查詢 DBD 官方企業檔案的工具(泰文/英文名稱、類型、狀態、登記日期、登記資本與實收資本、營業項目、登記地址),可將自由文字泰文地址解析為省/縣/區/郵遞區號及官方代碼並附信心程度,另提供全部 77 個府的双語標準清單、2025–2026 年泰國國定假日,以及加值稅與扣繳稅參考值。企業查詢為即時資料並在記憶體中快取 24 小時;地址正規化完全離線執行。
- 適用情境
- 適合助理需要處理泰國商業或行政資料的情境:用法人編號核實泰國公司、把凌亂的泰文地址結構化,或查詢泰國假日與加值稅/扣繳稅參考數值。
- 執行需求
- 以 npm 套件 thailand-data-mcp 的 stdio 本機程序執行,需要 Node.js 並執行建置步驟(pnpm install、pnpm build)。未宣告需要 API 金鑰或環境變數。企業查詢需要連線至上游 DBD 開放資料 API 的網路;地址、府清單、假日與稅務參考工具使用內建資料。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Thailand Data MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
thailand-data-mcp-server
MCP server exposing Thailand data tools for AI agents: official company-registry lookups, Thai address normalization, public holidays, and VAT/withholding-tax reference.
Tools
Install & run
Claude Code registration:
No API keys required.
Example
Data sources & licenses
- Company registry: DBD Open Data
openapi.dbd.go.th— used under the DGA Open Government License, which requires source attribution; every response therefore carries anattributionfield. Do not strip it. - Geography: thailand-geography-data/thailand-geography-json (MIT) — bundled in
data/. - Holidays / VAT: bundled reference data; verify critical values against official announcements (Royal Gazette, Revenue Department, Bank of Thailand).
Behavior notes
- DBD lookups are cached in-memory for 24h (registry data changes slowly; also keeps request rates polite toward the WAF-fronted upstream).
- The DBD API mislabels JSON responses as
text/html; the client parses bodies regardless. - HTTP 403/429 from upstream = WAF/rate-limit → the tool returns a retry-later error, not a fabricated "not found".
- "Not found" is only reported on the registry's explicit
1004 No data availablestatus.
Development
Stack: TypeScript, @modelcontextprotocol/sdk, Zod. No runtime dependencies beyond the SDK.
來源:README.md,提交 b7c0538
工具
0版本歷史
1- v0.1.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分