io.github.damoqiongqiu
mcp-local-translate
Local NLLB translation for 200+ languages. Zero cloud, zero cost, runs entirely on your machine.
stdiocommunityapplication
Package Details
@damoqiongqiu/mcp-local-translate
Transportstdio
Environment Variables
HF_ENDPOINT(str)
HuggingFace endpoint override for downloading models (e.g. https://hf-mirror.com for China).
HF_AUTO_MIRROR(str)
Auto-detect HuggingFace mirror for China. Set to '0' or 'false' to disable.
CACHE_DIR(str)
Directory where Transformers.js models are cached (defaults to ./models/).
TRANSLATE_DEVICE(str)
Execution device: 'cpu' (default) or 'webgpu' for GPU acceleration.
HTTPS_PROXY(str)
Proxy URL for model downloads. Also supports HTTP_PROXY and lowercase variants.