This server gives Claude native i18n operations through six tools that cover the typical localization workflow. You can detect languages in text with confidence scores, extract hardcoded strings from JSX/HTML/JS that need translation keys, analyze translation JSON files for missing keys and interpolation mismatches across locales, generate CLDR plural rules for 15+ languages, and format numbers, currencies, dates, and relative times using Intl APIs. Reach for this when you're internationalizing a codebase and want Claude to audit your translation files, suggest i18n keys for strings it finds, or help you understand why Russian needs four plural forms while Japanese needs one.
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 |
| Russian | one, few, many, other |
| Arabic | zero, one, two, few, many, other |
| Polish | one, few, many, other |
| Japanese | other |
| Chinese | other |
Format numbers, currencies, dates, and relative times for any locale using the Intl APIs. Supports:
npm install
npm run build
{
"mcpServers": {
"i18n-tools": {
"command": "node",
"args": ["D:/products/mcp-servers/mcp-i18n-tools/dist/index.js"]
}
}
}
MIT