deepl-mcp-server
A Model Context Protocol (MCP) server that provides translation capabilities using the DeepL API.
Features
- Translate text between numerous languages
- Rephrase text using DeepL's capabilities
- Access to all DeepL API languages and features
- Automatic language detection
- Formality control for supported languages
Usage
The easiest way to run this server is to use the npm package without installing anything:
If you want to install this locally, so you can play with it to your heart's content, you can do so using npm:
Alternately, if you want to contribute, you can clone this repository and install dependencies:
Configuration
DeepL API Key
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.
Using with Claude Desktop
This MCP server integrates with Claude Desktop to provide translation capabilities directly in your conversations with Claude.
Configuration Steps
- Install Claude Desktop if you haven't already
- Create or edit the Claude Desktop configuration file:
- On macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- On Windows:
%AppData%\Claude\claude_desktop_config.json
- On Linux:
~/.config/Claude/claude_desktop_config.json
- On macOS:
- Add the DeepL MCP server configuration. If you want to use the npm package without installing anything, as described above:
Or, if you installed this locally, give Claude an absolute path to the JS file, like this:
If you've pulled down this code, but you haven't done an npm install
, or if you just prefer to, you can use npx /{ABSOLUTE_PATH_TO_SERVER}/deepl-mcp-server
here instead of node /{ABSOLUTE_PATH_TO_SERVER}/deepl-mcp-server/src/index.mjs
.
- Replace
{ABSOLUTE_PATH_TO_SERVER}
with an absolute path to your local copy of this repository - for example,/Users/robotwoman/Code/deepl-mcp-server
- Replace
{YOUR_API_KEY}
with your actual DeepL API key - Restart Claude Desktop
Once 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.
Available Tools
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 language
Tool Details
translate-text
This 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 default
rephrase-text
This tool rephrases text in the same or different language using the DeepL API.
Parameters:
text
: The text to rephrase
Supported Languages
The 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:
- English (en, en-US, en-GB)
- German (de)
- Spanish (es)
- French (fr)
- Italian (it)
- Japanese (ja)
- Chinese (zh)
- Portuguese (pt-BR, pt-PT)
- Russian (ru)
- And many more
Debugging
For debugging information, visit the MCP debugging documentation.
Error Handling
If you encounter errors with the DeepL API, check the following:
- Verify your API key is correct
- Make sure you're not exceeding your API usage limits
- Confirm the language codes you're using are supported
License
MIT
Links
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
DeepL API를 사용하여 AI 보조자가 다양한 언어 간의 텍스트를 번역하고 재구성할 수 있도록 하는 모델 컨텍스트 프로토콜 서버입니다.
Related Resources
Related MCP Servers
- -securityFlicense-qualityA comprehensive Model Context Protocol server implementation that enables AI assistants to interact with file systems, databases, GitHub repositories, web resources, and system tools while maintaining security and control.Last updated -71
- -securityAlicense-qualityA Model Context Protocol server that provides DeepL translation capabilities, allowing AI assistants to translate text between supported languages via the DeepL API.Last updated -1573MIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that connects Large Language Models to the GeoServer REST API, enabling AI assistants to query and manipulate geospatial data through natural language.Last updated -937MIT License
CodeAlive MCPofficial
-securityAlicense-qualityA Model Context Protocol server that enhances AI agents by providing deep semantic understanding of codebases, enabling more intelligent interactions through advanced code search and contextual awareness.Last updated -49MIT License