What character types does the server recognize?
It recognizes Chinese characters, English letters (a–z, A–Z), full‑width characters, half‑width characters, and other characters.
@yoqu
基本情報
概要はまだありません
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"word-counter": {
"command": "npx",
"args": [
"@yoqulin/mcp-word-counter@latest"
]
}
}
}统计文件中的中文字数。支持单个或多个文件路径。计算规则:汉字=1,英文字符=0.5,全角字符=1,半角字符=0.5,结果向上取整。
Zh Word Counter is an MCP server that counts Chinese and English characters with smart recognition. It supports Chinese characters, English letters, full‑width and half‑width characters, and provides detailed per‑file and total statistics. It is intended for developers and writers who need accurate word counts for Chinese text.
Install via npx mcp-word-counter or npm install -g mcp-word-counter. Configure the MCP client with the correct command and no environment variables. Invoke the count_words tool with a filePaths array (e.g., { "filePaths": ["./example.txt"] }) to count words in one or more text files.
It recognizes Chinese characters, English letters (a–z, A–Z), full‑width characters, half‑width characters, and other characters.
Each character type has a weight: Chinese and full‑width = 1.0, English and half‑width = 0.5. The total is the weighted sum, then rounded up (e.g., 3.2 → 4).
Yes, pass an array of file paths to the `filePaths` parameter. The server returns per‑file details and a grand total.
Any text‑based file: .txt, .md, .js, .ts, .json, and others.
Use `npx mcp-word-counter` or install globally with `npm install -g mcp-word-counter`. Add a `mcpServers` entry in your MCP client configuration with the appropriate command and no `env` object.
YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

Health by Dr Brad works out a health plan from your own results: which screening is due at your age, and evidence-based suggestions, each with the reason and the published guideline or study behind it. Your record is one
Painless E2E Automation for Mobile and Web
Free moving quotes for AI agents from Next Generation Movers, a licensed interstate mover (USDOT 3764697). US long-distance nationwide and local DC/MD/VA. Indicative ballpark price and booking options; optional $0.01 x40

DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.
コメント