Local Translate MCP Server
by damoqiongqiuio.github.damoqiongqiu/mcp-local-translatev0.1.11
Zero-dependency local translation engine via Transformers.js NLLB model — translate text across 200+ languages, CPU-only, no cloud APIs, everything stays on your machine.
context tax
queued
security
queued
cold start
queued
freshness
Maintained3mo ago
Install Local Translate MCP server
Install in Claude Code
claude mcp add local-translate -- npx -y @damoqiongqiu/mcp-local-translateInstall in Cursor
{
"mcpServers": {
"local-translate": {
"command": "npx",
"args": [
"-y",
"@damoqiongqiu/mcp-local-translate"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"local-translate": {
"command": "npx",
"args": [
"-y",
"@damoqiongqiu/mcp-local-translate"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"local-translate": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@damoqiongqiu/mcp-local-translate"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"local-translate": {
"command": "npx",
"args": [
"-y",
"@damoqiongqiu/mcp-local-translate"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| HF_ENDPOINT | — | — | HuggingFace endpoint override for downloading models (e.g. https://hf-mirror.com for China). |
| HF_AUTO_MIRROR | — | — | Auto-detect HuggingFace mirror for China. Set to '0' or 'false' to disable. |
| CACHE_DIR | — | — | Directory where Transformers.js models are cached (defaults to ./models/). |
| TRANSLATE_DEVICE | — | — | Execution device: 'cpu' (default) or 'webgpu' for GPU acceleration. |
| HTTPS_PROXY | — | — | Proxy URL for model downloads. Also supports HTTP_PROXY and lowercase variants. |
Freshness
Maintained — last maintenance signal 3mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-07-12 · 3mo ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-07-12 · 3mo ago · official registry · v0.1.11
FAQ
›How do I install the Local Translate MCP server in Claude Code?
Run: claude mcp add local-translate -- npx -y @damoqiongqiu/mcp-local-translate. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Local Translate require an API key?
No required environment variables are declared in its published metadata.
›Can I use Local Translate as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Local Translate in the official MCP registry?
Yes, as io.github.damoqiongqiu/mcp-local-translate.