This Japanese Text Analyzer MCP server enables morphological analysis of Japanese text, measuring and evaluating linguistic features to provide feedback for text generation.
To install Japanese Text Analyzer for Claude Desktop automatically:
npx -y @smithery/cli install @Mistizz/mcp-JapaneseTextAnalyzer --client claude
Run the package directly from GitHub:
npx -y github:Mistizz/mcp-JapaneseTextAnalyzer
Add the following to Claude for Desktop's configuration file:
Windows:
%AppData%\Claude\claude_desktop_config.json
macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"JapaneseTextAnalyzer": {
"command": "npx",
"args": [
"-y",
"github:Mistizz/mcp-JapaneseTextAnalyzer"
]
}
}
}
Add similar configuration to the mcp.json
file in the .cursor
folder:
Windows:
%USERPROFILE%\.cursor\mcp.json
macOS/Linux:
~/.cursor/mcp.json
General configuration (works for most environments):
{
"mcpServers": {
"JapaneseTextAnalyzer": {
"command": "npx",
"args": [
"-y",
"github:Mistizz/mcp-JapaneseTextAnalyzer"
]
}
}
}
Alternative for Windows if the above doesn't work:
{
"mcpServers": {
"JapaneseTextAnalyzer": {
"command": "cmd",
"args": [
"/c",
"npx",
"-y",
"github:Mistizz/mcp-JapaneseTextAnalyzer"
]
}
}
}
このテキストの文字数を数えてください。
C:\path\to\your\file.txt の単語数を日本語モードで数えてください。
/c/Users/username/Documents/file.txt の単語数を日本語モードで数えてください。
README.md の単語数を英語モードで数えてください。
次のテキストの日本語の単語数を数えてください:
吾輩は猫である。名前はまだ無い。どこで生れたかとんと見当がつかぬ。何でも薄暗いじめじめした所でニャーニャー泣いていた事だけは記憶している。
次のテキストを詳細に分析してください:
私は昨日、新しい本を買いました。とても面白そうな小説で、友人からの評判も良かったです。今週末にゆっくり読む予定です。
C:\path\to\your\file.txt を詳細に分析してください。
Counts characters in a file, excluding spaces and line breaks.
Input:
filePath
(string): Path to the fileOutput:
Counts words in a file using space delimiters for English or morphological analysis for Japanese.
Input:
filePath
(string): Path to the filelanguage
(string, optional, default: "en"): File language (en: English, ja: Japanese)Output:
Counts characters in text, excluding spaces and line breaks.
Input:
text
(string): Text to count characters inOutput:
Counts words in text.
Input:
text
(string): Text to count words inlanguage
(string, optional, default: "en"): Text language (en: English, ja: Japanese)Output:
Performs detailed morphological analysis and examines linguistic features.
Input:
text
(string): Text to analyzeOutput:
Performs detailed morphological analysis and examines linguistic features in a file.
Input:
filePath
(string): Path to the file to analyzeOutput:
The tool flexibly locates files by:
C:\Users\username\Documents\file.txt
)/c/Users/username/Documents/file.txt
)%USERPROFILE%
or $HOME
)To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "JapaneseTextAnalyzer" '{"command":"npx","args":["-y","github:Mistizz/mcp-JapaneseTextAnalyzer"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"JapaneseTextAnalyzer": {
"command": "npx",
"args": [
"-y",
"github:Mistizz/mcp-JapaneseTextAnalyzer"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"JapaneseTextAnalyzer": {
"command": "npx",
"args": [
"-y",
"github:Mistizz/mcp-JapaneseTextAnalyzer"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect