概要
What is Mozisu MCP Server?
Mozisu MCP Server is a Model Context Protocol server that counts characters (including spaces and non-whitespace) and returns the result. It helps LLMs generate text with precise character counts, supporting multi‑byte characters such as Japanese and emoji. It can be used as an MCP server, a command‑line tool, or a web interface.
How to use Mozisu MCP Server?
Clone the repository, install dependencies with go mod download, and build using task build. To use with Claude Desktop, add the path to the built binary to the mcpServers section of claude_desktop_config.json. Alternatively, run it directly with go run cmd/mcpserver/main.go for the MCP server, ./bin/charcount "text" for CLI usage, or ./bin/webserver to launch the web interface at http://localhost:8080.
Key features of Mozisu MCP Server
- Counts total characters including spaces
- Counts non‑whitespace characters
- Supports Japanese, emoji, and other Unicode characters
- Offers MCP server, CLI, and web interface modes
Use cases of Mozisu MCP Server
- Helping LLMs generate text that respects exact character limits (e.g., social media posts)
- Counting characters in multilingual or emoji‑rich text
- Using the web interface for manual character counting
FAQ from Mozisu MCP Server
What are the runtime dependencies?
Go 1.20 or later and running go mod download to fetch dependencies.
How do I integrate Mozisu MCP Server with Claude Desktop?
Add the full path to the built binary (./bin/mozisu-mcp-server) under mcpServers in claude_desktop_config.json.
Can I use Mozisu MCP Server without Claude Desktop?
Yes. It can be used as a standalone command‑line tool (./bin/charcount) or through the web interface at http://localhost:8080.
Does Mozisu MCP Server handle multi‑byte characters?
Yes. It accurately counts Japanese characters, emoji, and other Unicode characters.
What license is Mozisu MCP Server released under?
It is released under the MIT License.