Dualtran MCP
Translate text with Google or your own AI model through three small MCP tools
Dualtran MCP is an open-source MCP server for ai models and llm tooling. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI
- Runs
- Locally
- Version
- 0.1.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add dualtran-mcp --env DUALTRAN_API_KEY='<DUALTRAN_API_KEY>' -- npx -y dualtran-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"dualtran-mcp": {
"command": "npx",
"args": [
"-y",
"dualtran-mcp"
],
"env": {
"DUALTRAN_API_KEY": "<DUALTRAN_API_KEY>"
}
}
}
}Add to claude_desktop_config.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.
Add to ~/.cursor/mcp.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.
Add to ~/.copilot/mcp-config.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.
Add with the CLI
Run in a terminal
codex mcp add dualtran-mcp --env DUALTRAN_API_KEY='<DUALTRAN_API_KEY>' -- npx -y dualtran-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.dualtran-mcp]
command = "npx"
args = ["-y", "dualtran-mcp"]
env = { DUALTRAN_API_KEY = "<DUALTRAN_API_KEY>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"dualtran-mcp": {
"command": "npx",
"args": [
"-y",
"dualtran-mcp"
],
"env": {
"DUALTRAN_API_KEY": "<DUALTRAN_API_KEY>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.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
Antigravity
Add to ~/.gemini/config/mcp_config.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 (formerly Windsurf)
Add to ~/.config/devin/mcp_config.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
Add to cline_mcp_settings.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
Add to Zed settings.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
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "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.
Junie
Add to ~/.junie/mcp/mcp.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
Add to ~/.kiro/settings/mcp.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.
Using several servers? Build one config file with the MCP config generator.
Configuration
DUALTRAN_PROVIDERAI provider id (openai, anthropic, google, deepseek, ...). Optional — Google works without a key.DUALTRAN_API_KEYAPI key for the selected AI provider (BYOK). Optional.DUALTRAN_MODELModel id for the AI provider (e.g. gpt-4o-mini). Optional.DUALTRAN_TARGET_LANGDefault target language code (default: en).
About Dualtran MCP
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.
Tools this server provides (3)
Taken from the project documentation; the running server may differ.
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_enginesName suggests: reads
- Report available engines and AI configuration state.
What it does
- 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
Pricing
Open source
Free and open source; AI engine uses your own provider key.
Dualtran MCP 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.


