Thai Toolkit
БесплатноНе проверенAn offline MCP server offering Thai-specific utilities for AI agents, including ID validation, baht text conversion, date handling, VAT calculation, phone forma
Описание
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-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.
Установка Thai Toolkit
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/wtigero/thai-toolkit-mcpFAQ
Thai Toolkit MCP бесплатный?
Да, Thai Toolkit MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Thai Toolkit?
Нет, Thai Toolkit работает без API-ключей и переменных окружения.
Thai Toolkit — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Thai Toolkit в Claude Desktop, Claude Code или Cursor?
Открой Thai Toolkit на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Thai Toolkit with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
