thailand-data-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@thailand-data-mcpLook up company juristic ID 0107536000315"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 |
| 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. |
| Free-text Thai address (TH/EN) → structured province/district/subdistrict/postcode with official codes, confidence level, ambiguity candidates, and street-part extraction. Fully offline. |
| Canonical list of all 77 provinces, bilingual, with codes. |
| Thai public holidays (2025–2026) with lunar-holiday flags. |
| VAT rate/threshold/filing + common WHT rates and the 50 ทวิ certificate rule. Reference only, not tax advice. |
Related MCP server: eu-company-mcp-server
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.jsNo 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 watchStack: TypeScript, @modelcontextprotocol/sdk, Zod. No runtime dependencies beyond the SDK.
Maintenance
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/narinthon-so/thailand-data-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server