Server data from the Official MCP Registry
Thai data for AI agents: DBD company-registry lookup, address normalization, holidays, VAT/WHT.
About
Thai data for AI agents: DBD company-registry lookup, address normalization, holidays, VAT/WHT.
Security Report
A well-structured MCP server for Thailand data lookup tools with no critical vulnerabilities. Authentication is not applicable (all tools are reference data or public APIs). Code quality is solid with proper input validation, error handling, and caching. Minor findings include broad CORS configuration in the Apify deployment and lack of rate-limiting on the geography parser, but these are low-severity and do not materially affect security. Supply chain analysis found 3 known vulnerabilities in dependencies (0 critical, 2 high severity). Package verification found 1 issue.
6 files analyzed · 8 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-narinthon-so-thailand-data-mcp": {
"args": [
"-y",
"thailand-data-mcp"
],
"command": "npx"
}
}
}Documentation
View on GitHubFrom the project's GitHub 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
| Tool | What it does |
|---|---|
thai_company_lookup | Official DBD registry profile by 13-digit juristic ID: TH/EN name, type, status, registration date, registered/paid-up capital, business objective, registered address. Live data, cached 24h. |
thai_address_normalize | Free-text Thai address (TH/EN) → structured province/district/subdistrict/postcode with official codes, confidence level, ambiguity candidates, and street-part extraction. Fully offline. |
thai_list_provinces | Canonical list of all 77 provinces, bilingual, with codes. |
thai_holidays | Thai public holidays (2025–2026) with lunar-holiday flags. |
thai_vat_reference | VAT rate/threshold/filing + common WHT rates and the 50 ทวิ certificate rule. Reference only, not tax advice. |
Install & run
pnpm install
pnpm build
node dist/index.js # stdio (default)
TRANSPORT=http PORT=3000 node dist/index.js # streamable HTTP at /mcp (binds 127.0.0.1)
Claude Code registration:
claude mcp add thailand-data -- node /path/to/thailand-data-mcp/dist/index.js
No API keys required.
Example
thai_company_lookup {"juristic_id": "0107536000315"}
→ KASIKORNBANK PUBLIC COMPANY LIMITED | บริษัทมหาชนจำกัด | ยังดำเนินกิจการอยู่ | capital 30,246,820,970 THB | ...
thai_address_normalize {"address": "เลขที่ 5 ซอยสุขุมวิท 39 แขวงคลองตันเหนือ เขตวัฒนา กรุงเทพฯ"}
→ province กรุงเทพมหานคร / district วัฒนา / subdistrict คลองตันเหนือ / 10110 | confidence: high | street: "เลขที่ 5 ซอยสุขุมวิท 39"
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
pnpm dev # tsx watch
Stack: TypeScript, @modelcontextprotocol/sdk, Zod. No runtime dependencies beyond the SDK.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Git
Freeby Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
Fetch
Freeby Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
mcp-creator-python
Freeby mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
MarkItDown
Freeby Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
