← Back to search

Thailand Data MCP

narinthon-so Scanned 7h ago

Thai data for AI agents: DBD company-registry lookup, address normalization, holidays, VAT/WHT.

C
74.8 / 100

Versions

0.1.2latest
first seen Jul 8, 2026
PermissionsTool SafetyAuthAnnotationsCode QualityStabilitySpecVuln HistoryAuthorTransparencyCommunity

Tools 5

thai_address_normalize
annotations: verified low

Parse free-text Thai addresses (Thai or English) into the official administrative hierarchy: province (จังหวัด) → district (อำเภอ/เขต) → subdistrict (ตำบล/แขวง) → postal code, with bilingual names and official codes. Handles common written forms: abbreviations (ต./อ./จ., กทม.), Bangkok's แขวง/เขต terminology, missing components, and postcode-only inputs. Matching is dictionary-based against the complete official geography (77 provinces, 928 districts, 7,436 subdistricts). Args: - address (string): free-text address, 2-500 chars Returns structured JSON: { "province": { "code": number, "nameTh": string, "nameEn": string } | null, "district": { ... } | null, "subdistrict": { ... } | null, "postalCode": number | null, "confidence": "high" | "medium" | "low" | "ambiguous" | "none", "streetHint": string | null, // residual text after removing administrative parts (house no., road, soi) "warnings": string[], // e.g. postcode/subdistrict mismatch "candidates": [...] // present when confidence = "ambiguous"; add district/postcode and retry } Examples: - Use when: filling a shipping form from a customer's pasted address - Use when: validating that district/province/postcode in a record are consistent - Use when: deduplicating customer records with differently-written addresses - Don't use when: you need geocoding to lat/long (not provided) Error handling: confidence "none" means nothing matched — the text may not be a Thai address.

readOnlyHint true openWorldHint false idempotentHint true destructiveHint false
thai_list_provinces
annotations: verified low

List all 77 Thai provinces with official codes and bilingual names. Returns structured JSON: { "count": 77, "provinces": [{ "code": number, "nameTh": string, "nameEn": string }] } Use when you need the canonical province list for validation, dropdowns, or mapping Thai/English province spellings.

readOnlyHint true openWorldHint false idempotentHint true destructiveHint false
thai_holidays
annotations: verified low

List Thai public holidays for a given year (${availableYears.join(", ")}), with dates, Thai/English names, and a flag for lunar-calendar holidays. Args: - year (number): one of ${availableYears.join(", ")} Returns structured JSON: { "year": number, "count": number, "holidays": [{ "date": "YYYY-MM-DD", "nameEn": string, "nameTh": string, "lunar": boolean }], "disclaimer": string } Use when scheduling anything in Thailand: payment due dates, meeting planning, delivery estimates, contract deadlines. Lunar holidays (lunar: true) are fixed by annual announcement — verify for critical deadlines. Bank holidays can differ slightly from public holidays (Bank of Thailand publishes its own list).

readOnlyHint true openWorldHint false idempotentHint true destructiveHint false
thai_vat_reference
annotations: verified low

Reference card for Thai VAT and withholding tax (WHT) basics: standard VAT rate, registration threshold, filing forms and deadlines, and common WHT rates by payment category (services, rent, advertising, transport, dividends, etc.). No arguments. Returns structured JSON with "vat", "withholdingTax" (rates table + certificate requirement), and "disclaimers". Use when: computing invoice amounts involving Thai WHT deduction, checking whether a business must register for VAT, or explaining the 50 ทวิ withholding certificate. Reference only — NOT tax advice; verify with the Revenue Department for filings.

readOnlyHint true openWorldHint false idempotentHint true destructiveHint false
thai_company_lookup
annotations: verified low

Look up a Thai company (juristic person) in the official DBD (Department of Business Development) registry by its 13-digit registration number. Returns the official registry profile: Thai/English name, entity type, operating status, registration date, registered and paid-up capital (THB), business objective (bilingual, with TSIC-style code), and registered head-office address. Args: - juristic_id (string): exactly 13 digits, e.g. "0107536000315" Returns structured JSON: { "found": boolean, "company": { "juristicId": string, "nameTh": string, "nameEn": string, "type": string, // e.g. "บริษัทจำกัด" (Co., Ltd.), "บริษัทมหาชนจำกัด" (PCL) "status": string, // e.g. "ยังดำเนินกิจการอยู่" = still operating "registerDate": string, // YYYYMMDD "registeredCapitalBaht": number, "paidUpCapitalBaht": number, "objective": { "code": string, "textTh": string, "textEn": string }, "address": { ... } } | null, "fromCache": boolean, "attribution": string } Examples: - Use when: verifying a Thai supplier/counterparty exists and is still operating (KYB / due diligence) - Use when: fetching official registered capital or address for a contract - Don't use when: you only have a company NAME — this tool requires the 13-digit ID (ask the counterparty or check their invoice/website footer) Notes: - "found": false means the ID is not in the registry — it may be mistyped, or the entity may be a sole proprietor (not a juristic person). - Data is the live official registry, cached for 24h.

readOnlyHint true openWorldHint true idempotentHint true destructiveHint false

Permissions 2

network medium
Server uses network capabilities via: fetch(), http
env_vars low
Server uses env_vars capabilities via: process.env

Scan Findings 25

info
Tool 'thai_vat_reference' annotations are consistent annotation_checker · 80%
info
Tool 'thai_company_lookup' annotations are consistent annotation_checker · 80%
info
Tool 'thai_list_provinces' annotations are consistent annotation_checker · 80%
info
Tool 'thai_holidays' annotations are consistent annotation_checker · 80%
info
Tool 'thai_address_normalize' annotations are consistent annotation_checker · 80%
high
Remote transport without authentication auth_checker · 70%
info
Sandbox failed to start for behavioral verification behavioral_verifier · 100%
medium
Vulnerable dependency: @modelcontextprotocol/sdk@1.6.1 (GHSA-8r9q-7v3j-jr4g) dependency_analyzer · 95%
medium
Vulnerable dependency: @modelcontextprotocol/sdk@1.6.1 (GHSA-w48q-cv73-mx4w) dependency_analyzer · 95%
info
package.json metadata manifest_parser · 100%
info
Tool: thai_address_normalize manifest_parser · 85%
info
Tool: thai_list_provinces manifest_parser · 85%
info
Tool: thai_holidays manifest_parser · 85%
info
Tool: thai_vat_reference manifest_parser · 85%
info
Tool: thai_company_lookup manifest_parser · 85%
info
Transport: stdio manifest_parser · 90%
info
Required env vars (3) manifest_parser · 80%
info
Sandbox failed to start for output poisoning scan output_poisoning · 100%
medium
Permission: network access detected permission_analyzer · 80%
low
Permission: env_vars access detected permission_analyzer · 90%
critical
Invisible Unicode characters in 'thai_address_normalize' poisoning · 92%
critical
Invisible Unicode characters in 'thai_vat_reference' poisoning · 92%
critical
Invisible Unicode characters in 'thai_company_lookup' poisoning · 92%
info
SBOM generated: 10 components sbom_generator · 100%
medium
No build provenance detected (SLSA L0) slsa_assessor · 90%