MCP Server
Maintained
MIT
io.github.damoqiongqiu/mcp-local-translate MCP Server
io.github.damoqiongqiu/mcp-local-translate
What is the io.github.damoqiongqiu/mcp-local-translate MCP server?
Local NLLB translation for 200+ languages. Zero cloud, zero cost, runs entirely on your machine.
How to install io.github.damoqiongqiu/mcp-local-translate
Copy-paste configuration for popular MCP clients.
transport: stdio
Config generated by PluginBench — verify against the source before use.Environment / auth
HF_ENDPOINTHuggingFace endpoint override for downloading models (e.g. https://hf-mirror.com for China).
HF_AUTO_MIRRORAuto-detect HuggingFace mirror for China. Set to '0' or 'false' to disable.
CACHE_DIRDirectory where Transformers.js models are cached (defaults to ./models/).
TRANSLATE_DEVICEExecution device: 'cpu' (default) or 'webgpu' for GPU acceleration.
HTTPS_PROXYProxy URL for model downloads. Also supports HTTP_PROXY and lowercase variants.
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"mcp-local-translate": {
"command": "npx",
"args": [
"-y",
"@damoqiongqiu/mcp-local-translate"
],
"env": {
"HF_ENDPOINT": "<YOUR_HF_ENDPOINT>",
"HF_AUTO_MIRROR": "<YOUR_HF_AUTO_MIRROR>",
"CACHE_DIR": "<YOUR_CACHE_DIR>",
"TRANSLATE_DEVICE": "<YOUR_TRANSLATE_DEVICE>",
"HTTPS_PROXY": "<YOUR_HTTPS_PROXY>"
}
}
}
}Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"mcp-local-translate": {
"command": "npx",
"args": [
"-y",
"@damoqiongqiu/mcp-local-translate"
],
"env": {
"HF_ENDPOINT": "<YOUR_HF_ENDPOINT>",
"HF_AUTO_MIRROR": "<YOUR_HF_AUTO_MIRROR>",
"CACHE_DIR": "<YOUR_CACHE_DIR>",
"TRANSLATE_DEVICE": "<YOUR_TRANSLATE_DEVICE>",
"HTTPS_PROXY": "<YOUR_HTTPS_PROXY>"
}
}
}
}Windsurf
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-local-translate": {
"command": "npx",
"args": [
"-y",
"@damoqiongqiu/mcp-local-translate"
],
"env": {
"HF_ENDPOINT": "<YOUR_HF_ENDPOINT>",
"HF_AUTO_MIRROR": "<YOUR_HF_AUTO_MIRROR>",
"CACHE_DIR": "<YOUR_CACHE_DIR>",
"TRANSLATE_DEVICE": "<YOUR_TRANSLATE_DEVICE>",
"HTTPS_PROXY": "<YOUR_HTTPS_PROXY>"
}
}
}
}VS Code
.vscode/mcp.json
{
"servers": {
"mcp-local-translate": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@damoqiongqiu/mcp-local-translate"
],
"env": {
"HF_ENDPOINT": "<YOUR_HF_ENDPOINT>",
"HF_AUTO_MIRROR": "<YOUR_HF_AUTO_MIRROR>",
"CACHE_DIR": "<YOUR_CACHE_DIR>",
"TRANSLATE_DEVICE": "<YOUR_TRANSLATE_DEVICE>",
"HTTPS_PROXY": "<YOUR_HTTPS_PROXY>"
}
}
}
}Claude Code
claude mcp add mcp-local-translate --env HF_ENDPOINT=<YOUR_HF_ENDPOINT> --env HF_AUTO_MIRROR=<YOUR_HF_AUTO_MIRROR> --env CACHE_DIR=<YOUR_CACHE_DIR> --env TRANSLATE_DEVICE=<YOUR_TRANSLATE_DEVICE> --env HTTPS_PROXY=<YOUR_HTTPS_PROXY> -- npx -y @damoqiongqiu/mcp-local-translateRelated MCP servers
Semantic code & doc search with keyword boost. AST code nav, auto HF mirror, local, privacy-first.
13
View repository →TypeScript
MIT