Japanese Text Analyzer MCP Server
@Mistizz
MCP server for analyzing Japanese text with morphological analysis
Overview
What is Japanese Text Analyzer MCP Server?
Japanese Text Analyzer MCP Server performs morphological analysis on Japanese text, measuring and evaluating linguistic features to provide feedback for text generation. It supports both direct text input and file-based analysis.
How to use Japanese Text Analyzer MCP Server?
Install via Smithery (npx -y @smithery/cli install @Mistizz/mcp-JapaneseTextAnalyzer --client claude) or run directly with npx -y github:Mistizz/mcp-JapaneseTextAnalyzer. Configure in Claude Desktop or Cursor by adding the server to their MCP configuration files. Use tools like count_chars, count_words, analyze_text, or analyze_file with absolute or relative file paths or clipboard text.
Key features of Japanese Text Analyzer MCP Server
- Count characters (excluding spaces and newlines) from files or text
- Count words with English space-splitting or Japanese morphological analysis
- Analyze detailed linguistic features (average sentence length, part-of-speech ratios, vocabulary diversity, etc.)
- Flexible file path resolution (absolute, relative, home, desktop, documents directories)
- Support for both Windows and WSL/Linux path formats
Use cases of Japanese Text Analyzer MCP Server
- Count characters or words in a Japanese text file for writing constraints
- Analyze linguistic complexity and readability of Japanese documents
- Understand part-of-speech distribution and vocabulary richness in a text
- Evaluate formality level by checking honorific expression frequency
- Integrate with AI assistants to provide feedback on Japanese text generation
FAQ from Japanese Text Analyzer MCP Server
What is morphological analysis and how does this server use it?
The server uses the kuromoji.js library for Japanese word segmentation. It splits text into morphemes (meaningful units) to count words and compute linguistic features. Initialization may take extra time due to dictionary loading.
What data does the server store or send?
The server processes text locally; no data is stored or sent externally. File paths and text are used solely for analysis within the running process.
Does the server require internet access?
No, after initial install, the server works offline. The npx command may need internet to download the package, but analysis runs locally.
What file paths are supported?
Absolute paths (Windows format like C:\Users\... or WSL/Linux format like /c/Users/...), relative paths, or just filenames. The server searches the current directory, home, desktop, and documents directories automatically.
How long does analysis take?
Analysis is near-instant after initialization. The first run may take a few seconds as the morphological analyzer loads its dictionary.