Thai Toolkit MCP
An offline MCP server offering Thai-specific utilities for AI agents, including ID validation, baht text conversion, date handling, VAT calculation, phone formatting, and province lookup.
README
🇹🇭 Thai Toolkit MCP
Thai-specific utilities for AI agents — as a Model Context Protocol (MCP) server.
Give Claude (or any MCP client) the exact, rule-based Thai building blocks it gets wrong on its own: validate a national / tax ID, read an amount as Thai baht text, convert Buddhist-era (พ.ศ.) dates, compute 7% VAT and withholding tax, normalize Thai phone numbers, and look up provinces.
Every tool is a pure, offline function — no API keys, no network calls, deterministic results. Fast, private, and safe to run locally.
Why this exists
LLMs are unreliable at exact Thai tasks: they miscompute the national-ID checksum, misread baht text, and mishandle Buddhist-era years. This server moves those tasks to verified code, so the agent gets the right answer every time.
Tools
| Tool | What it does | Example ask |
|---|---|---|
thai_validate_id |
Validate a 13-digit national / tax ID via checksum | "Is 1-1011-12345-67-8 a valid Thai ID?" |
thai_baht_to_text |
Read a THB amount in Thai (for invoices/cheques) | "Write ฿1,234.50 in Thai text" |
thai_convert_date |
Format / convert Gregorian ↔ Buddhist-era dates | "What is 2026-06-13 in Thai?" |
thai_calculate_vat |
Add / extract 7% VAT and withholding tax | "Extract VAT from a ฿1,070 invoice" |
thai_format_phone |
Normalize to local + E.164, classify mobile/landline | "Format +66 81 234 5678" |
thai_lookup_province |
Province info (Thai/English) and its region | "Which region is Phuket in?" |
Install
git clone https://github.com/wtigero/thai-toolkit-mcp.git
cd thai-toolkit-mcp
pip install -e .
Connect it
Claude Desktop — add to claude_desktop_config.json:
{
"mcpServers": {
"thai-toolkit": {
"command": "thai-mcp"
}
}
}
Claude Code:
claude mcp add thai-toolkit -- thai-mcp
Then ask: "อ่าน ฿1,234.50 เป็นตัวอักษรไทย" and the agent calls the tool.
Develop
pip install -e ".[dev]"
python -m pytest # or: python tests/test_utils.py
License
MIT — see LICENSE.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.