Home / MCP / Mozisu MCP Server

Mozisu MCP Server

Counts characters in input text, including multi-byte Unicode chars, usable as an MCP server, CLI tool, or web interface.

go
Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
    "mcpServers": {
        "mozisu_mcp": {
            "command": "go",
            "args": [
                "run",
                "cmd/mcpserver/main.go"
            ]
        }
    }
}

Mozisu MCP Server counts characters in input text to help Large Language Models produce outputs with precise character counts, including multi-byte characters like Japanese and emoji. It can be run as an MCP server, a command-line tool, or a web interface to fit into your workflow.

How to use

You will run the server locally and connect your MCP client to it. The server exposes character counting capabilities that your client can invoke as an MCP tool. You can use it as an MCP server, as a standalone CLI tool, or through a web UI depending on your needs.

How to install

Prerequisites: you need Go installed to build the MCP server and dependency management for Go modules.

1) Clone the project directory.

2) Install dependencies.

3) Build the binaries.

Additional configuration and usage notes

You can run the MCP server directly for development or use the prebuilt binary if available. The server can be started in the following ways.

Available tools

count_characters

Counts all characters in the input string, including spaces and Unicode multi-byte characters.

mcp_server

Runs the MCP server that exposes the count_characters tool to MCP clients.

charcount_cli

Command-line tool to count characters from provided text or interactively.

web_interface

Web-based interface to count characters through a browser.