NestDaddy

Mcp Local Translate

io.github.damoqiongqiu/mcp-local-translate · v0.1.11

Local NLLB translation for 200+ languages. Zero cloud, zero cost, runs entirely on your machine.

Connect Runs on your machine

Terminal
claude mcp add mcp-local-translate -e HF_ENDPOINT=<HF_ENDPOINT> -e HF_AUTO_MIRROR=<HF_AUTO_MIRROR> -e CACHE_DIR=<CACHE_DIR> -e TRANSLATE_DEVICE=<TRANSLATE_DEVICE> -e HTTPS_PROXY=<HTTPS_PROXY> -- npx -y @damoqiongqiu/[email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-local-translate": {
      "command": "npx",
      "args": [
        "-y",
        "@damoqiongqiu/[email protected]"
      ],
      "env": {
        "HF_ENDPOINT": "<HF_ENDPOINT>",
        "HF_AUTO_MIRROR": "<HF_AUTO_MIRROR>",
        "CACHE_DIR": "<CACHE_DIR>",
        "TRANSLATE_DEVICE": "<TRANSLATE_DEVICE>",
        "HTTPS_PROXY": "<HTTPS_PROXY>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-local-translate": {
      "command": "npx",
      "args": [
        "-y",
        "@damoqiongqiu/[email protected]"
      ],
      "env": {
        "HF_ENDPOINT": "<HF_ENDPOINT>",
        "HF_AUTO_MIRROR": "<HF_AUTO_MIRROR>",
        "CACHE_DIR": "<CACHE_DIR>",
        "TRANSLATE_DEVICE": "<TRANSLATE_DEVICE>",
        "HTTPS_PROXY": "<HTTPS_PROXY>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "mcp-local-translate": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@damoqiongqiu/[email protected]"
      ],
      "env": {
        "HF_ENDPOINT": "<HF_ENDPOINT>",
        "HF_AUTO_MIRROR": "<HF_AUTO_MIRROR>",
        "CACHE_DIR": "<CACHE_DIR>",
        "TRANSLATE_DEVICE": "<TRANSLATE_DEVICE>",
        "HTTPS_PROXY": "<HTTPS_PROXY>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
HF_ENDPOINT
Optional
HuggingFace endpoint override for downloading models (e.g. https://hf-mirror.com for China).
HF_AUTO_MIRROR
Optional
Auto-detect HuggingFace mirror for China. Set to '0' or 'false' to disable.
CACHE_DIR
Optional
Directory where Transformers.js models are cached (defaults to ./models/).
TRANSLATE_DEVICE
Optional
Execution device: 'cpu' (default) or 'webgpu' for GPU acceleration.
HTTPS_PROXY
Optional
Proxy URL for model downloads. Also supports HTTP_PROXY and lowercase variants.

Details

Package@damoqiongqiu/[email protected] (NPM, stdio)
First published12 Jul 2026
Last updated12 Jul 2026
Registry nameio.github.damoqiongqiu/mcp-local-translate

More other servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.