# Dualtran MCP

> Dualtran MCP is an open-source MCP server for ai models and llm tooling. Translate text with Google or your own AI model through three small MCP tools. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI
- **Repository:** https://github.com/seigwen/dualtran-mcp
- **MCP Registry name:** io.github.seigwen/dualtran-mcp
- **Categories:** [AI models and LLM tooling](https://ai-powered.com/categories/ai-and-llm), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-23

## About

Dualtran MCP is a thin translation server taken from the engine of the DualTran browser extension. It translates single texts or batches of up to 50 through Google with no key and no account, or through an AI model you configure yourself with a provider, key and model name. The README says 20+ providers are supported, naming OpenAI, Anthropic, Google, DeepSeek, Mistral, Groq and xAI.

Three tools exist: translate_text, with optional target and source language and engine choice; translate_batch, which sends a batch as one Google request; and list_engines, which reports engines and whether AI is configured without revealing the key. Settings come from environment variables or a ~/.dualtran/config.json file, and environment variables win.

The privacy note says there are no analytics, accounts or developer server, and that text goes only to the translation service you chose at the moment you translate. It runs over stdio via npx, MIT licensed, with a bundled core portion under MPL-2.0.

## Features

- **Google by default:** Works out of the box without a key or account.
- **Bring your own model:** Use your own AI provider, key and model for translation.
- **Batch translation:** Translate up to 50 texts in a single call.
- **Engine reporting:** Lists engines and AI configuration status without exposing the key.
- **No telemetry:** No analytics, accounts or developer-run server.

## Good for

- Translate a code comment or error message while coding
- Localize a set of UI strings in one batch
- Compare Google output with an AI model's translation
- Translate text with a privately configured model

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add dualtran-mcp --env DUALTRAN_API_KEY='<DUALTRAN_API_KEY>' -- npx -y dualtran-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "dualtran-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "dualtran-mcp"
      ],
      "env": {
        "DUALTRAN_API_KEY": "<DUALTRAN_API_KEY>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "dualtran-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "dualtran-mcp"
      ],
      "env": {
        "DUALTRAN_API_KEY": "<DUALTRAN_API_KEY>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "dualtran-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "dualtran-mcp"
      ],
      "env": {
        "DUALTRAN_API_KEY": "<DUALTRAN_API_KEY>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "dualtran-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "dualtran-mcp"
      ],
      "env": {
        "DUALTRAN_API_KEY": "<DUALTRAN_API_KEY>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add dualtran-mcp --env DUALTRAN_API_KEY='<DUALTRAN_API_KEY>' -- npx -y dualtran-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.dualtran-mcp]
command = "npx"
args = ["-y", "dualtran-mcp"]
env = { DUALTRAN_API_KEY = "<DUALTRAN_API_KEY>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "dualtran-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "dualtran-mcp"
      ],
      "env": {
        "DUALTRAN_API_KEY": "<DUALTRAN_API_KEY>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e DUALTRAN_API_KEY='<DUALTRAN_API_KEY>' dualtran-mcp npx -- -y dualtran-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "dualtran-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "dualtran-mcp"
      ],
      "env": {
        "DUALTRAN_API_KEY": "<DUALTRAN_API_KEY>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "dualtran-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "dualtran-mcp"
      ],
      "env": {
        "DUALTRAN_API_KEY": "<DUALTRAN_API_KEY>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "dualtran-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "dualtran-mcp"
      ],
      "env": {
        "DUALTRAN_API_KEY": "<DUALTRAN_API_KEY>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "dualtran-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "dualtran-mcp"
      ],
      "env": {
        "DUALTRAN_API_KEY": "<DUALTRAN_API_KEY>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "dualtran-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "dualtran-mcp"
      ],
      "env": {
        "DUALTRAN_API_KEY": "<DUALTRAN_API_KEY>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "dualtran-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "dualtran-mcp"
      ],
      "env": {
        "DUALTRAN_API_KEY": "<DUALTRAN_API_KEY>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "dualtran-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "dualtran-mcp"
      ],
      "env": {
        "DUALTRAN_API_KEY": "<DUALTRAN_API_KEY>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "dualtran-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "dualtran-mcp"
      ],
      "env": {
        "DUALTRAN_API_KEY": "<DUALTRAN_API_KEY>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 3 tools reads data; 2 names don't say. From the server's own tool labels and tool names; not verified by us.

- `translate_text`: Translate one piece of text.
- `translate_batch`: Translate up to 50 texts in one call.
- `list_engines` (name suggests: reads): Report available engines and AI configuration state.

## FAQ

### Do I need an API key?

Not for Google. A key is only needed for the AI engine.

### How many texts can I send at once?

Up to 50 in translate_batch.

### Where does my text go?

Only to the translation service you chose, at the moment you translate.

### Which licence?

MIT, with the bundled core portion under MPL-2.0.

### Is Dualtran MCP free?

Yes. Dualtran MCP is open source, so you can use and self-host it for free.

### How do I add Dualtran MCP to Claude Code?

Run this command in your terminal: claude mcp add dualtran-mcp --env DUALTRAN_API_KEY='<DUALTRAN_API_KEY>' -- npx -y dualtran-mcp

### What are the best alternatives to Dualtran MCP?

The closest alternatives to Dualtran MCP are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/dualtran-mcp
