- Language
- TypeScript
- Last commit
- 4h ago
- Forks
- 0
- Open issues
- 0
- Registry update
- Oct 16, 2026
Connect
npm$claude mcp add dualtran-mcp \ -e DUALTRAN_PROVIDER=<dualtran-provider> \ -e DUALTRAN_API_KEY=<dualtran-api-key> \ -e DUALTRAN_MODEL=<dualtran-model> \ -e DUALTRAN_TARGET_LANG=<dualtran-target-lang> \ -- npx -y [email protected]
Environment variables
DUALTRAN_PROVIDERAI provider id (openai, anthropic, google, deepseek, ...). Optional — Google works without a key.
DUALTRAN_API_KEYsecretAPI 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).
Security review
Review passedReviewed 3h ago.
- metadata
- scanned
- packages
- 1 checked
No findings.
Tools
This server runs on your machine, so its tool list is not fetched before install — the README below describes what it offers.
dualtran-mcp
An MCP (Model Context Protocol) server that translates text with Google or
your own AI model (BYOK, 20+ providers) — usable from Claude Code, Claude
Desktop, Cursor, Cline, VS Code and any other MCP client. Powered by
@dualtran/core, the engine extracted from the
DualTran browser extension.
Tools
| Tool | What it does |
|---|---|
translate_text | Translate one piece of text. Optional target_lang, source_lang, engine (google | ai). |
translate_batch | Translate up to 50 texts in one call (one batched Google request). |
list_engines | Report available engines and the AI configuration state (never the key). |
Install
npx -y dualtran-mcp
# or straight from this repository (works today, no registry needed):
npx -y github:seigwen/dualtran-mcp
Configure
Google works out of the box — no key, no account.
For the AI engine (optional), configure a provider once — either with environment variables:
DUALTRAN_PROVIDER=openai # openai | anthropic | google | deepseek | mistral | groq | xai | …
DUALTRAN_API_KEY=sk-…
DUALTRAN_MODEL=gpt-4o-mini
DUALTRAN_BASE_URL= # optional endpoint override
DUALTRAN_TARGET_LANG=en # default target language
DUALTRAN_ENGINE=google # default engine: google | ai
or with ~/.dualtran/config.json:
{ "provider": "openai", "apiKey": "sk-…", "model": "gpt-4o-mini", "targetLang": "en", "engine": "ai" }
Environment variables win over the file.
Client configuration
Claude Code (.mcp.json in the project, or claude mcp add):
{
"mcpServers": {
"dualtran": {
"command": "npx",
"args": ["-y", "github:seigwen/dualtran-mcp"],
"env": { "DUALTRAN_TARGET_LANG": "en" }
}
}
}
Cursor (~/.cursor/mcp.json) and Cline / other clients: same shape —
command: npx, args: ["-y", "github:seigwen/dualtran-mcp"], optional env.
Privacy
No analytics, no accounts, no developer server. Text goes only to the translation service you chose, at the moment you translate. See PRIVACY.md.
Development
node scripts/sync-core.mjs # vendors @dualtran/core into vendor/ (committed)
npm install
npm test # tsc build + vitest (in-memory server, real stdio e2e, stdout purity scan)
License
MIT — the bundled @dualtran/core portion is MPL-2.0.
From the server's repository — third-party content, read it before running anything it suggests.
More in AI & LLMs
humanizer-ru
io.github.ilyautov
Следы нейросети в русском тексте: балл чистоты 0-100, запреты и маркеры с позициями, факт-замок.
Neural Draft
io.github.vbalagovic
Neural Draft MCP — CMS, blog, bookings, galleries, commerce. 38 tools.
mcp-contact-classifier
com.mambabuilt
Classify a job title into department and seniority, and optionally verify the position.
turntax
io.github.TorutDev
Per-turn token cost of AGENTS.md, CLAUDE.md and other agent instruction files, with safe fixes.
mcp-agent-accessibility-auditor
com.mambabuilt
Audit whether an AI agent can read a site: llms.txt, robots AI rules, structured data.
Token Lens
io.github.duttkunal101-lab
Count and cut tokens in prompts, chats and agents for any model. Runs locally, collects no data.
Listing from the official MCP Registry · repository facts from GitHub, 3h ago.