MTranServer
Offline translation server and desktop app that serves Firefox's translation models over an HTTP API
Updated
(opens full size in a new tab)Facts
- Price
- Free plan
- Runs on
- WindowsmacOSLinuxDocker
- Needs
- Internet connection for first download of each language direction
- License
- Apache-2.0, open source
- Category
- AI
Price checked · Current prices on github.com ↗
Our verdict
#2 of 7 in Offline translation tools
For a window and an API in one
What it does
- Desktop app with a translation window, or a server in Docker
- API that stands in for DeepL's and Google's
- Uses Firefox's small models by default, or a larger model if you choose one
Pros
- Many extensions and apps can use it without new code
- About 500 MB of memory in the maker's own test with one language pair loaded in each direction
- Frequent releases
Cons
- Accepts connections from the whole network without a password until you change that
- Main documentation is in Chinese
About MTranServer
MTranServer is an offline translation server for people who host their own, with a built-in web interface and a tray-menu desktop app. Its fast tier runs Mozilla’s Firefox Translations models (also known as Bergamot) on the CPU through an engine built on C++ and ONNX, a format for AI models, and other tiers use large language models (Hy-MT3). It exposes its own API plus endpoints that imitate DeepL, DeepLX, Google Translate and the Immersive Translate and Kiss Translator extensions. It runs on Windows, macOS and Linux desktops, in Docker or through npm, and is licensed under Apache-2.0.
Ranked in
-
Offline translation tools: For apps that need a translation API →
#1 of 5
- 1 MTranServer
- 2 LibreTranslate
- 3 TranslateGemma
How MTranServer scored in offline translation tools: For apps that need a translation API
-
Translation quality , counts double 3/5
The default fast tier runs Firefox's small sentence-by-sentence translation models, which read clearly but stiffly and carry no context across sentences, and the fast mode can add mistranslations. The optional tiers that use large language models should handle context better.
3/5 means: Clear enough to read everyday text in common languages, with stiff wording and lost idioms
极速、低资源占用、私有部署离线翻译服务器,兼容机器翻译与大语言模型双架构(当前专属适配 Firefox 机器翻译与 Hy-MT3 模型),由超高速 C++ 引擎驱动,具备 ONNX 原生跨平台多硬件加速能力。
github.com/xxnuo/MTranServer · checked
-
Use by other apps , counts double 5/5
It has an HTTP API plus endpoints that imitate DeepL, DeepLX, Google Translate and the Immersive Translate, Kiss Translator and Selection Translator extensions, so many existing programs work with it.
5/5 means: A web API that many programs already support, or that stands in for a well-known service's API
MTranCode:VS Code、Cursor 等的注释翻译插件,商店搜索 MTranCode。默认请求 http://localhost:8989。
github.com/xxnuo/MTranServer · checked
-
Languages 3/5
By default it uses Firefox's models, which cover dozens of languages, most of them paired only with English. The optional larger models cover 102.
3/5 means: 30 to 49 languages, most pairs through English
大模型翻译(balanced、accurate):支持 102 语种互译、上下文背景、术语干预以及 OpenAI / Anthropic 兼容接口。
github.com/xxnuo/MTranServer · checked
-
Easy to host 4/5
A Docker compose file, or a single npx command, starts the server on port 8989. Each language direction downloads on first use, and offline mode, an API token and the listening address are settings to learn. By default it listens on all network interfaces with no token, so it should be restricted or given a token before exposing it.
4/5 means: A Docker image or single command, with a few settings to learn
--host / --port · 监听地址和端口,默认 0.0.0.0:8989
github.com/xxnuo/MTranServer · checked
-
Speed on a plain PC 5/5
For English-Chinese on a fast CPU, its author measured about 1.4 ms for a short sentence and about 450 to 510 MiB of memory with two models loaded.
5/5 means: Near instant on an ordinary computer, in little memory
同时加载英中、中英模型后,热态内存约为 506 MiB(就绪 0.78 s)。
github.com/xxnuo/MTranServer · checked
-
Stays with you 4/5
The code is open (Apache-2.0) and translates on your machine, with an offline mode and no account. It checks for updates at startup by default, which contacts its maker besides downloading languages.
4/5 means: Open code that translates on your machine, and contacts its maker by default for something besides downloading languages
MT_CHECK_UPDATE · Check for updates at startup · true · true, false
github.com/xxnuo/MTranServer/blob/main/docs/API_en.md · checked
-
Cost and license 5/5
Free under Apache-2.0, and the models it uses by default come from Firefox, whose license allows any use. The larger optional models have licenses of their own.
5/5 means: Free for any use, commercial use included
Apache-2.0 license
github.com/xxnuo/MTranServer · checked
-
Active upkeep , counts half 5/5
New releases come often, and recent ones added a new engine and tiers that use large language models.
5/5 means: A steady stream of releases, with new languages or models among them
mtranserver-desktop-5.5.0-linux-aarch64.rpm, mtranserver-desktop-5.5.0-linux-amd64.deb, mtranserver-desktop-5.5.0-linux-arm64.AppImage, mtranserver-desktop-5.5.0-linux-arm64.deb, mtranserver-desktop-5.5.0-linux-x86_64.AppImage, mtranserver-desktop-5.5.0-linux-x86_64.rpm, mtranserver-desktop-5.5.0-mac-arm64.dmg, mtranserver-desktop-5.5.0-mac-x64.dmg, mtranserver-desktop-5.5.0-win-arm64.exe, mtranserver-desktop-5.5.0-win-x64.exe
api.github.com/repos/xxnuo/MTranServer/releases/latest · published · checked
-
Offline translation tools: For translating text yourself →
#2 of 7 · For a window and an API in one
- 1 Firefox
- 2 MTranServer
- 3 TranslateGemma
How MTranServer scored in offline translation tools: For translating text yourself
-
Translation quality , counts double 3/5
The default fast tier runs Firefox's small sentence-by-sentence translation models, which read clearly but stiffly and carry no context across sentences, and the fast mode can add mistranslations. The optional tiers that use large language models should handle context better.
3/5 means: Clear enough to read everyday text in common languages, with stiff wording and lost idioms
以上是共享主机 4 CPU / 3 GiB 受限容器下的中英双向测试,未测整机满载、其它语言或长期稳定性。各引擎重复输出一致不代表三方译文完全相同,也不代表翻译质量等价。
github.com/xxnuo/MTranServer/blob/main/docs/benchmarks/cpu-comparison-2026-11-23.md · checked
-
Stays with you 4/5
The code is open (Apache-2.0) and translates on your machine, with an offline mode and no account. It checks for updates at startup by default, which contacts its maker besides downloading languages.
4/5 means: Open code that translates on your machine, and contacts its maker by default for something besides downloading languages
首次翻译某个语言方向时会联网下载并准备文件,之后会复用。
github.com/xxnuo/MTranServer · checked
-
Languages 3/5
By default it uses Firefox's models, which cover dozens of languages, most of them paired only with English. The optional larger models cover 102.
3/5 means: 30 to 49 languages, most pairs through English
Mozilla for the models.
github.com/xxnuo/MTranServer · checked
-
Easy to start 4/5
The desktop app is an ordinary installer for Windows, macOS and Linux with a built-in translation window, and each language downloads on first use. On macOS a Terminal command may be needed if the app won't open.
4/5 means: An ordinary installer, then picking and downloading a language
日常使用建议装桌面端。服务器用 Docker 或命令行。v5 不提供服务端单文件可执行程序。
github.com/xxnuo/MTranServer · checked
-
What it translates 2/5
Its own window translates pasted text. Web pages work through browser extensions that send it their text.
2/5 means: One of the five
/imme · POST · 沉浸式翻译 · http://localhost:8989/imme /kiss · POST · 简约翻译 · http://localhost:8989/kiss /deepl · POST · 支持 DeepL API v2 的客户端 · http://localhost:8989/deepl
github.com/xxnuo/MTranServer · checked
-
Speed on a plain PC 5/5
For English-Chinese on a fast CPU, its author measured about 1.4 ms for a short sentence and about 450 to 510 MiB of memory with two models loaded.
5/5 means: Near instant on an ordinary computer, in little memory
-
Cost and license 5/5
Free under Apache-2.0, and the models it uses by default come from Firefox, whose license allows any use. The larger optional models have licenses of their own.
5/5 means: Free for any use, commercial use included
-
Active upkeep , counts half 5/5
New releases come often, and recent ones added a new engine and tiers that use large language models.
5/5 means: A steady stream of releases, with new languages or models among them