cn-mcp-kit
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| amount_to_chineseA | 把数字金额转换成人民币大写,支持负数(加"负"字)。如 1234.56 -> 壹仟贰佰叁拾肆元伍角陆分 |
| cn_number_parseA | 把中文数字转换成阿拉伯数字,如 三万五千零六 -> 35006。支持大写(壹贰叁)、繁体(萬億)、年份读法(二〇二六 -> 2026)和负数。无法解析时返回"无法解析"。 |
| number_to_chineseA | 把阿拉伯数字转成中文读法,如 35000 -> 三万五千,3.14 -> 三点一四,-5 -> 负五。可选输出大写(叁万伍仟)。用于把数字读出来或写成文章。 |
| idcard_validateA | 校验中国大陆 18 位身份证号是否合法(校验位算法 + 出生日期是否真实存在),合法时返回出生日期、年龄、性别和地区码。仅做格式校验,不查询真实身份。 |
| hanzi_pinyinA | 把中文转成拼音,能按词定多音字(重庆 -> chóng qìng,银行 -> yín háng)。用于给汉字标注读音、做注音练习或核对发音。 |
| lunar_dateA | 公历日期转农历,返回农历日期、生肖、干支、节气(上一个/下一个各差几天)、节日和星座。不传日期则按今天计算。 |
| s2t_convertA | 简体和繁体中文互相转换,能区分常见异形字(头发 -> 頭髮,干 -> 幹)。用于把文本转成繁体或转回简体。 |
| text_statisticsA | 统计中文文本的字数、字符数、汉字数、字母数、数字数、标点数、行数和段落数。字数口径与 Word 一致(每个汉字算 1,连续字母或数字算 1 个)。 |
| fullwidth_convertA | 全角与半角互相转换,如 Hello123 -> Hello123。可选同时转换中文特有标点(。、《》【》“” 等),默认只转换全角字母、数字和符号。 |
| current_timeA | 获取当前真实时间(本机时区),含今天、昨天、明天的日期。凡是要回答"今天几号""现在几点",或要判断"刚才/昨天/上周/几天前"时,必须先调用本工具,不要凭记忆猜测日期。 |
| time_diffA | 计算某个时间点距离现在(或距离另一个时间)多久,并给出"今天/昨天/前天/明天/后天/n 天前"的日历关系。用来准确描述"这件事是刚发生的还是昨天发生的"。时间按本机时区解析。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 11 tools
Most tools target clearly distinct tasks (pinyin, ID card, lunar date, fullwidth, text stats), so selection is generally easy. The only real overlap is among the three number tools: amount_to_chinese vs number_to_chinese both convert numbers to Chinese characters (currency uppercase vs. plain reading with optional uppercase), which could cause misselection for values like 1234.56; descriptions help but do not fully separate them.
All names are snake_case and readable, but the convention is mixed: verb_noun (validate-style) appears as noun_verb in idcard_validate, hanzi_pinyin, text_statistics, fullwidth_convert, and as bare noun phrases in lunar_date, current_time, time_diff, plus an odd prefixed form cn_number_parse.
11 tools for a Chinese-locale utility kit is well within the sweet spot, and each tool maps to a distinct, useful operation without filler. The three number-conversion tools are individually justified by different output formats (currency uppercase, reading, parsing).
Coverage is broad for a locale toolkit (numbers, dates, conversion, validation, stats), but some operations are one-way: lunar_date only converts Gregorian to lunar with no reverse, and there is no parser for RMB uppercase amounts back to numbers. These gaps are minor and agents can work around them with the existing parse/convert tools.