
DeepL MCP Server
MCPDeepL 官方 MCP:文本翻译、文档翻译(PDF、DOCX、PPTX、XLSX 等)与改写润色,可调用账户中的术语表和风格规则;需要 DeepL API Key。
deepl-mcp-server
[!NOTE] For the best experience and the latest features check out the DeepL remote MCP server to use DeepL in your AI agent. No installation required, just add it to Claude, ChatGPT, Microsoft Copilot or any MCP client and sign in with your DeepL account.
Working in a terminal or with a coding agent? Try the DeepL CLI. It covers translation, documents, glossaries and i18n file sync with your API key.
A Model Context Protocol (MCP) server that exposes DeepL text translation, document translation, rephrasing, and glossary and style rule lookups as MCP tools.
Usage
You need Node.js 18 or newer and a DeepL API key. Pick an API plan and create a key in your DeepL account.
The server communicates over stdio, so it is normally started by an MCP client rather than by hand. To try it directly:
DEEPL_API_KEY=your-api-key npx -y deepl-mcp-server
It exits immediately if DEEPL_API_KEY is not set.
To work on the server itself:
git clone https://github.com/DeepL/deepl-mcp-server.git
cd deepl-mcp-server
npm install
Configuration
Register it as a stdio server with DEEPL_API_KEY in the server's environment. In Claude Code:
claude mcp add deepl --env DEEPL_API_KEY=your-api-key -- npx -y deepl-mcp-server
For clients configured through a JSON file:
{
"mcpServers": {
"deepl": {
"command": "npx",
"args": ["-y", "deepl-mcp-server"],
"env": {
"DEEPL_API_KEY": "your-api-key"
}
}
}
}
Where that file lives and how each client expects local stdio servers to be declared:
To run a local checkout instead of the published package, use node as the command and the absolute path to src/index.mjs as the argument.
Tools
| Tool | Description | Parameters |
|---|---|---|
translate-text | Translates text into a target language. | text, targetLangCode, sourceLangCode?, formality?, glossaryId?, styleId?, context?, preserveFormatting?, splitSentences?, customInstructions? |
translate-document | Translates a document file (PDF, DOCX, PPTX, XLSX, HTML, TXT, and more) and writes the result to disk. | inputFile, targetLangCode, outputFile?, sourceLangCode?, formality?, glossaryId?, styleId?, outputFormat? |
rephrase-text | Rephrases text, optionally into another language. | text, targetLangCode?, style?, tone? |
get-source-languages | Lists the language codes accepted as a translation source. | none |
get-target-languages | Lists the language codes accepted as a translation target. | none |
get-writing-styles | Lists the style values rephrase-text accepts. | none |
get-writing-tones | Lists the tone values rephrase-text accepts. | none |
list-glossaries | Lists every glossary in the account with its id, name, dictionaries, and creation time. | none |
get-glossary-info | Returns the same metadata as list-glossaries for a single glossary. | glossaryId |
get-glossary-dictionary-entries | Returns the term entries of one glossary dictionary, meaning one language pair in one direction. | glossaryId, sourceLangCode, targetLangCode |
list-style-rules | Lists the style rules in the account with their id, name, language, and timestamps. | page?, pageSize?, detailed? |
get-style-rule | Returns one style rule in full, including its configured rules and custom instructions. | styleId |
get-custom-instruction | Returns a single custom instruction belonging to a style rule. | styleId, instructionId |
Notes:
texttakes either a single string or an array of strings. Each entry is translated or rephrased independently.- Language codes are ISO 639-1, optionally with a region (
en-US). OmittingsourceLangCodetriggers automatic detection. A target code whose language requires a region gets a default applied:enbecomesen-US,ptbecomespt-BR,zhbecomeszh-Hans. - Glossary dictionaries are keyed by non-regional codes, so
get-glossary-dictionary-entriesdrops any region you pass. - Translating with a glossary requires an explicit
sourceLangCode. formalityacceptsless,more,default,prefer_less, andprefer_more. Theprefer_*values fall back to the default when the target language has no formality support.translate-documentreads and writes files on the machine running the server. WithoutoutputFile, the output path is derived from the input by appending the target language code, for examplereport_de.pdf. WithoutputFormat, the derived path uses that extension instead.- Style rules and custom instructions are read-only here. Create and edit them in your DeepL account.
License
MIT
相关资源

DeepL CLI
CLIDeepL 官方命令行:翻译文本与 PDF、Word、PPT、Excel 文档并保留排版,支持术语表与翻译记忆,适合译者、律师翻译外文合同与资料(法律译文需专业人员复核)。需要 DeepL API Key(有免费账户),目前需用 Node.js 24.15+ 从源码安装。
DeepL/deepl-cli46
DeepL plugin for Claude
PluginDeepL 官方 Claude Code 插件:接入 DeepL 托管服务,翻译文本以及 Word、PPT、Excel、PDF 等文档并保留排版,还能润色改写、纠正语法、调用术语表,内置统一的翻译规则。需要符合条件的 DeepL 订阅(具体套餐以 DeepL 说明为准),首次使用时在浏览器登录。
DeepL/claude-plugin2
POEditor MCP Server
MCPPOEditor 官方远程 MCP,翻译和本地化人员可以在对话里管理项目、词条和译文,调用 Google、微软、DeepL 自动翻译,做质量检查并导出语言文件。需要 POEditor 账号,首次连接用浏览器登录或填 API Token。
POEditor/poeditor-mcp1
OpenCC
CLI开源的简繁中文转换工具:基于词库做确定性转换(不用大模型),覆盖大陆、台湾、香港的异体字与地区习惯用词,也有限支持日文新旧字体,离线运行;提供 opencc 命令行以及 Node.js、Python 接口。
BYVoid/OpenCC10.1k
Canva Translate Design
SkillCanva 官方技能(收录在 OpenAI 插件目录):把一份 Canva 设计里的全部文字译成目标语言并另存为副本,不动原稿,适合海报、宣传物料做多语言版本。需要 Canva 账号并连接 Canva MCP 服务器;译文变长时可能要在 Canva 里微调版式。
openai/plugins7.5k
Argos Translate
CLI基于 OpenNMT 的开源离线机器翻译,可作为命令行、Python 库或图形界面使用;按需下载语言模型包,缺少直连模型时自动经中间语言转译,适合不便上传到云端的文本。
argosopentech/argos-translate6.6k