Polyglot MCP translate everything, locally.
An MCP server that translates text between 57 languages using TranslateGemma on your GPU via Ollama. No API keys, no cloud, no rate limits — by default everything runs on your machine.
Translate
translate("Hello world", "en", "ja")
Result
"こんにちは世界" // ~1s on GPU
Setup
ollama pull translategemma:27b
Why Local Translation
By default, your data never leaves your machine.
Private
Translations run on your GPU. No text leaves your machine unless you point Polyglot at a remote Ollama yourself.
Fast
About a second per translation once the default 27B model is loaded, and ~600ms with 12B on a 16 GB GPU.
Free
No API keys, no subscriptions, no rate limits. Ollama + TranslateGemma are fully open source (Apache 2.0).
Capabilities
57 Languages
From Afrikaans to Vietnamese — including CJK, Arabic, Hindi, and all major European languages.
Smart Chunking
Long text is split at paragraph and sentence boundaries, preserving context across chunks.
Model Choice
Defaults to 27B for maximum accuracy; switch to 12B or 4B for smaller GPUs or more speed.
Setup
Claude Code / Claude Desktop
// Add to your MCP config (.mcp.json)
{
"mcpServers": {
"polyglot": {
"command": "npx",
"args": ["-y", "@mcptoolshop/polyglot-mcp"]
}
}
}Prerequisites
# 1. Install Ollama (ollama.com)
# 2. Pull the translation model:
ollama pull translategemma:27b # 17 GB (or :12b, 8.1 GB, on smaller GPUs)
# 3. Start Ollama:
ollama serveMCP Tools
Six tools exposed to your LLM agent.
| Tool | Description |
|---|---|
| translate | Translate text between any two of 57 supported languages |
| translate_markdown | Translate a full markdown document while preserving structure |
| translate_all | Translate markdown into multiple languages concurrently |
| translate_readme | Translate a README file into 7 languages and write README.<lang>.md next to it |
| list_languages | List all supported language codes and names |
| check_status | Verify Ollama is running and TranslateGemma is installed |
Model Options
Choose the right balance of quality and speed.
| Model | Size | Speed | Quality |
|---|---|---|---|
| translategemma:4b | 3.3 GB | ~300ms | Good |
| translategemma:12b | 8.1 GB | ~600ms | Great |
| translategemma:27b | 17 GB | ~1.5s | Best (default) |
Supported Languages
57 languages powered by Google TranslateGemma.
| Region | Languages |
|---|---|
| Europe | English, French, German, Spanish, Portuguese, Italian, Dutch, Danish, Swedish, Norwegian, Finnish, Polish, Czech, Slovak, Slovenian, Croatian, Serbian, Albanian, Bulgarian, Romanian, Hungarian, Estonian, Latvian, Lithuanian, Macedonian, Maltese, Greek, Irish, Scottish Gaelic, Galician, Catalan, Welsh |
| Asia | Japanese, Chinese (Simplified), Chinese (Traditional), Korean, Hindi, Bengali, Gujarati, Kannada, Malayalam, Marathi, Tamil, Telugu, Urdu, Thai, Vietnamese, Indonesian, Malay, Persian |
| Other | Arabic, Hebrew, Turkish, Ukrainian, Russian, Swahili, Afrikaans |