DeepL/deepl-mcp-server
Built by Metorial, the integration platform for agentic AI.
DeepL/deepl-mcp-server
Server Summary
Translate text between numerous languages
Rephrase text
Automatic language detection
Formality control for supported languages
A Model Context Protocol (MCP) server that provides translation capabilities using the DeepL API.
You can install this using npm:
npm install deepl-mcp-server
Or you can clone this repository and install dependencies:
git clone https://github.com/DeepLcom/deepl-mcp-server.git
cd deepl-mcp-server
npm install
You'll need a DeepL API key to use this server. You can get one by signing up at DeepL API. With a DeepL API Free account you can translate up to 500,000 characters/month for free.
This MCP server integrates with Claude Desktop to provide translation capabilities directly in your conversations with Claude.
Install Claude Desktop if you haven't already
Create or edit the Claude Desktop configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%AppData%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
Add the DeepL MCP server configuration:
{
"mcpServers": {
"deepl": {
"command": "npx",
"args": ["-y", "/path/to/deepl-mcp-server"],
"env": {
"DEEPL_API_KEY": "your-api-key-here"
}
}
}
}
/path/to/deepl-mcp-server
with an absolute path to your local copy of this repository - for example, /Users/robotwoman/Code/deepl-mcp-server
your-api-key-here
with your actual DeepL API keyOnce configured, Claude will be able to use the DeepL translation tools when needed. You can ask Claude to translate text between languages, and it will use the DeepL API behind the scenes.
This server provides the following tools:
get-source-languages
: Get list of available source languages for translationget-target-languages
: Get list of available target languages for translationtranslate-text
: Translate text to a target languagerephrase-text
: Rephrase text in the same or different languageThis tool translates text between languages using the DeepL API.
Parameters:
text
: The text to translatetargetLang
: Target language code (e.g., 'en-US', 'de', 'fr')formality
(optional): Controls formality level of the translation:
'less'
: use informal language'more'
: use formal, more polite language'default'
: use default formality'prefer_less'
: use informal language if available, otherwise default'prefer_more'
: use formal language if available, otherwise defaultThis tool rephrases text in the same or different language using the DeepL API.
Parameters:
text
: The text to rephraseThe DeepL API supports a wide variety of languages for translation. You can use the get-source-languages
and get-target-languages
tools to see all currently supported languages.
Some examples of supported languages include:
For debugging information, visit the MCP debugging documentation.
If you encounter errors with the DeepL API, check the following:
MIT