mcp-local-translate
A local MCP server for AI coding assistants that provides offline translation for over 200 languages using the Meta NLLB-200 model. It runs entirely on the user's machine via Transformers.js, ensuring data privacy and zero cost, with support for smart language parsing and long text chunking.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Translate documentation or code comments between languages
- Translate error messages or logs for debugging
- List all supported translation languages
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@damoqiongqiu/mcp-local-translate 0.1.11
{
"version": "0.1.11",
"transport": "stdio",
"identifier": "@damoqiongqiu/mcp-local-translate",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "HF_ENDPOINT",
"format": "string",
"description": "HuggingFace endpoint override for downloading models (e.g. https://hf-mirror.com for China)."
},
{
"name": "HF_AUTO_MIRROR",
"format": "string",
"description": "Auto-detect HuggingFace mirror for China. Set to '0' or 'false' to disable."
},
{
"name": "CACHE_DIR",
"format": "string",
"description": "Directory where Transformers.js models are cached (defaults to ./models/)."
},
{
"name": "TRANSLATE_DEVICE",
"format": "string",
"description": "Execution device: 'cpu' (default) or 'webgpu' for GPU acceleration."
},
{
"name": "HTTPS_PROXY",
"format": "string",
"description": "Proxy URL for model downloads. Also supports HTTP_PROXY and lowercase variants."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"mcp-local-translate": {
"command": "npx",
"args": [
"-y",
"@damoqiongqiu/mcp-local-translate@0.1.11"
],
"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>"
}
}
}
}Cline
{
"mcpServers": {
"mcp-local-translate": {
"command": "npx",
"args": [
"-y",
"@damoqiongqiu/mcp-local-translate@0.1.11"
],
"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
{
"servers": {
"mcp-local-translate": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@damoqiongqiu/mcp-local-translate@0.1.11"
],
"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 Desktop
{
"mcpServers": {
"mcp-local-translate": {
"command": "npx",
"args": [
"-y",
"@damoqiongqiu/mcp-local-translate@0.1.11"
],
"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>"
}
}
}
}Let your agent find its tools
Find servers like mcp-local-translate from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.