Koskamo

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.

mcp-local-translate logo, by damoqiongqiuCommunity listingLocal stdioSource reviewed; not executedPublished by damoqiongqiu
Vendor documentation

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

Community listingRegistry 0.1.11
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

npm
@damoqiongqiu/mcp-local-translate package definition
{
  "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.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "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.