rog0x/mcp-i18n-tools
MCP server for i18n: language detection, hardcoded string extraction, translation JSON management, plural rules, locale formatting Install: npx @rog0x/mcp-i18n-tools
Platform-specific configuration:
{
"mcpServers": {
"mcp-i18n-tools": {
"command": "npx",
"args": [
"-y",
"mcp-i18n-tools"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
Internationalization and localization tools for AI agents, exposed as an MCP (Model Context Protocol) server.
Detect the language and locale of a given text string. Returns the detected language code (BCP 47), language name, writing script, confidence score (0-1), and alternate language candidates.
Supported languages: English, Spanish, French, German, Portuguese, Italian, Russian, Japanese, Korean, Chinese, Arabic, Hindi, Thai, Greek, Hebrew.
Extract hardcoded user-facing strings from source code that should be internationalized. Finds strings in:
title, placeholder, label, alt, aria-label, etc.)console.log / console.warn / console.error callsthrow new Error(...) messagesalert() / confirm() / prompt() dialogsmessage, label, title, etc.)Returns each string with its line/column, surrounding context, pattern type, and a suggested i18n key.
Analyze translation JSON files for consistency across locales. Detects:
{variable} placeholders differ between localesGenerate plural form categories for a given locale following CLDR rules. Shows which plural categories the language uses and classifies any test numbers you provide.
| Language | Categories | | ---------- | ----------------------------------- | | English | one, other | | French | one, other
Loading reviews...