Japanese Text Analyzer MCP Server logo

Japanese Text Analyzer MCP Server

by Mistizz

This is an MCP server for morphological analysis of Japanese text. It measures and evaluates text characteristics from a linguistic perspective, aiding in text generation feedback.

View on GitHub

Last updated: N/A

What is Japanese Text Analyzer MCP Server?

The Japanese Text Analyzer MCP Server is a tool that performs morphological analysis on Japanese text. It provides linguistic insights into the text by counting characters, words, and analyzing linguistic features.

How to use Japanese Text Analyzer MCP Server?

The server can be used via npx or by configuring it within Claude for Desktop or Cursor. Use npx -y github:Mistizz/mcp-JapaneseTextAnalyzer to run it directly. For Claude and Cursor, add the provided JSON configuration to their respective configuration files.

Key features of Japanese Text Analyzer MCP Server

  • Counts characters in Japanese text (excluding spaces and line breaks)

  • Counts words in Japanese text

  • Analyzes detailed linguistic features (average sentence length, part-of-speech ratios, lexical diversity, etc.)

  • Supports both file path and direct text input

  • Flexible file path resolution (absolute path, relative path, or file name only)

  • Provides detailed morphological analysis results

Use cases of Japanese Text Analyzer MCP Server

  • Analyzing the readability of Japanese text

  • Evaluating the linguistic characteristics of generated text

  • Measuring the complexity of sentences

  • Identifying the frequency of different parts of speech

  • Assessing the diversity of vocabulary used in a text

  • Counting the number of characters or words in a text

FAQ from Japanese Text Analyzer MCP Server

What is morphological analysis?

Morphological analysis is a fundamental process in natural language processing that involves dividing a sentence into its smallest meaningful units (morphemes).

What is kuromoji.js?

kuromoji.js is a morphological analysis library used by this tool for counting Japanese words.

Why does the first execution take longer?

The morphological analyzer needs to load dictionary data during initialization, which may take some time, especially during the first run.

What kind of linguistic features are analyzed?

The tool analyzes various linguistic features, including average sentence length, part-of-speech ratios, character type ratios, lexical diversity, and more.

What is the license for this MCP server?

This MCP server is provided under the MIT license, allowing free use, modification, and distribution of the software according to the license terms. See the LICENSE file in the project repository for details.