TranslateGemmaCAUTION
đ TranslateGemma - Local AI Translation Service with Web UI, REST API & MCP. 55 languages, all-in-one Docker image with embedded models. Powered by Google's TranslateGemma.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
English | įŽäŊ䏿 | įšéĢ䏿 | æĨæŦčĒ
đ Local AI Translation Service with Web UI, REST API & MCP Integration 55 languages, smart chunking, streaming output. Powered by Google's TranslateGemma.
[](https://hub.docker.com/r/neosun/translategemma) [](https://www.python.org/) [](LICENSE) [](https://developer.nvidia.com/cuda-toolkit)
⨠Highlights
- đ Web UI - Beautiful, responsive translation interface
- đ REST API - Full-featured API with streaming support
- đ¤ MCP Integration - Works with Claude Desktop & AI assistants
- đ 55 Languages - Full TranslateGemma language support
- đ Smart Chunking - Handle unlimited text length (chunk_size=100)
- ⥠Streaming Output - Real-time translation progress
- đŗ All-in-One Docker - 82GB image with all 6 models embedded
- đ¯ Multi-Model - 4B/12B/27B with Q4/Q8 quantization
đŦ Quick Start
Option 1: Docker All-in-One (Recommended)
# Pull the all-in-one image (82GB, includes all models) docker pull neosun/translategemma:v1.0.0-allinone # Run with GPU docker run -d --gpus '"device=0"' \ -p 8022:8022 \ -e MODEL_NAME=27b \ -e QUANTIZATION=8 \ --name translategemma \ neosun/translategemma:v1.0.0-allinone # Access Web UI open http://localhost:8022
Option 2: Docker with Model Download
# Pull lightweight image (10GB) docker pull neosun/translategemma:latest # Run (models download on first use) docker run -d --gpus '"device=0"' \ -p 8022:8022 \ -v ~/.cache/translate/models:/root/.cache/translate/models \ --name translategemma \ neosun/translategemma:latest
Option 3: Docker Compose
9b5c03708db8OBSERVED ¡ 2026-10-09Connect
Built from this server's own package name, version and transport as found in its source â not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add translategemma-cli --env TOKENIZERS_PARALLELISM=${TOKENIZERS_PARALLELISM} -- uvx translategemma-cli{
"mcpServers": {
"translategemma-cli": {
"command": "uvx",
"args": [
"translategemma-cli"
],
"env": {
"TOKENIZERS_PARALLELISM": "${TOKENIZERS_PARALLELISM}"
}
}
}
}Exposed tools (9)
9 read ¡ 0 write ¡ 0 destructive.
| Tool | Risk | Description |
|---|---|---|
get_config | read | |
get_gpu_status | read | |
list_languages | read | |
list_models | read | |
release_gpu | read | |
switch_model | read | |
translate_batch | read | |
translate_file | read | |
translate_text | read |
Trust audit
CAUTIONgrade B ¡ trust 89/100 Install with care. The audit found things worth knowing before you trust its output.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | WARN |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (2 observation(s))
- Network
- declared (10 observation(s))
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (6)
console.print(token, end="")
print(token, end="", flush=True)
echo -e " ${CYAN}Web UI:${NC} http://0.0.0.0:$PORT"echo -e " ${CYAN}API Docs:${NC} http://0.0.0.0:$PORT/docs"echo -e " ${CYAN}Health:${NC} http://0.0.0.0:$PORT/health"pytest, pytest-cov, black, ruff
Gates applied: no_behavioural_pass.
9b5c03708db8full audit observations/trust-audit/mcp-server/neosun100__translategemma.json ¡ Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-09 | 9b5c03708db8 | CAUTION | B | 89 | first audit |
Questions
What is the TranslateGemma MCP server?
đ TranslateGemma - Local AI Translation Service with Web UI, REST API & MCP. 55 languages, all-in-one Docker image with embedded models. Powered by Google's TranslateGemma.
What tools does TranslateGemma expose?
9 in total: 9 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is TranslateGemma safe to connect to an agent?
With care. The audit graded it B (89/100) and found 6 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does TranslateGemma need?
It reads TOKENIZERS_PARALLELISM from the environment. Give it a token scoped to the least it needs â an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How current is this page?
The grade is for one exact copy of the source (9b5c03708db8), read on 2026-10-09. The repository is watched and re-audited when it changes.