
sysprog21/zhtw-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
sysprog21/zhtw-mcp — это кандидат на сервер MCP, импортированный из https://github.com/sysprog21/zhtw-mcp.
Обзор
sysprog21/zhtw-mcp — это кандидат на сервер MCP, импортированный из https://github.com/sysprog21/zhtw-mcp.
Обзор (машинный перевод)
Лингвистический линтер для традиционного китайского (zh-TW), который обеспечивает соблюдение стандартов Министерства образования Тайваня (MoE) по словарному запасу, пунктуации и формам иероглифов. Он подключается к ассистентам по программированию ИИ через протокол Model Context Protocol (MCP) и фиксирует региональные дрейфы материкового китайского (zh-CN) до того, как достигнет пользователя.
Инструмент обеспечивает соблюдение трёх официальных стандартов Тайваня:
- Переработанное руководство по пунктуации (《重訂標點符號手冊》修訂版) — знаки препинания
- Стандартная форма национальных иероглифов (《國字標準字體》) — формы символов
- Нормализация словарного запаса между проливами, основанная на наборах данных OpenCC TWPhrases/TWVariants — выбор слов
Более 1100 правил словарного запаса и 15 правил корпуса скомпилированы в бинарный файл. Для неоднозначных терминов сервер обращается к AI-ассистенту, в котором он работает, чтобы помочь принять решение — лишние API-ключи не требуются.
Почему это существует
Современный китайский — недостаточно стандартизированный язык
В конце династии Цин учёным приходилось выражать западные понятия в письменной системе без родного словарного запаса. Будь то придумывание новых слов или импорт переводов на японский (和製漢語), они создавали литературную систему в условиях огромного давления времени.
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
zhtw-mcp
A linguistic linter for Traditional Chinese (zh-TW) that enforces Taiwan Ministry of Education (MoE) standards on vocabulary, punctuation, and character shapes. It plugs into AI coding assistants through the Model Context Protocol (MCP) and catches Mainland Chinese (zh-CN) regional drift before it reaches the user.
The tool enforces three official Taiwan standards:
- Revised Handbook of Punctuation (《重訂標點符號手冊》修訂版) – punctuation marks
- Standard Form of National Characters (《國字標準字體》) – character shapes
- Cross-strait vocabulary normalization, grounded in OpenCC’s TWPhrases/TWVariants datasets – word choices
Over 1100 vocabulary rules and 15 casing rules are compiled into the binary. For ambiguous terms, the server asks the AI assistant it runs inside for help deciding – no extra API keys required.
Why this exists
Modern Chinese is an inadequately standardized language
In the late Qing dynasty, scholars had to express Western concepts in a writing system with no native vocabulary for them. Whether coining new words or importing translations via Japanese (和製漢語), they assembled a literary system under enormous time pressure. Many translated terms were inconsistent, ambiguous, or contradictory. The Chinese-speaking world has lived with these deficiencies for over a century.
Simplified Chinese made it worse
The PRC simplification effort reduced not just stroke counts but vocabulary precision. Terms that should vary by domain got flattened into single catch-all translations. Many PRC translations were coined hastily: if a term worked in one context, it spread uncritically to others.
AI models amplify the problem
AI language models learn from web text where Simplified Chinese vastly outweighs Traditional Chinese (roughly 2.6:1 in CC-100). Major datasets like CulturaX do not even track Traditional Chinese separately. A FAccT 2025 study confirmed that most models favor zh-CN terminology when asked to write zh-TW. The output looks plausible but is not how people in Taiwan actually write.
This goes beyond character conversion. The same word often means different things across the strait:
| English | zh-CN | zh-TW | Why it matters |
|---|---|---|---|
| concurrency | 並發 | 並行 | In zh-CN, 並行 means “parallel” – a different concept entirely |
| parallel | 並行 | 平行 | zh-CN 並行 = “parallel”; in Taiwan, 並行 = “concurrent” |
| process (OS) | 進程 | 行程 | 進程 in Taiwan means “progress,” not an OS process |
| file / document | 文件 / 文檔 | 檔案 / 文件 | 文件 in China = “file”; in Taiwan = “document” |
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →Конфигурация
{
"mcpServers": {
"zhtw-mcp": {
"command": "/path/to/zhtw-mcp",
"args": []
}
}
}