Provides tools for translating text between supported languages and retrieving lists of available source and target languages using the DeepL API.
DeepL MCP Server
An MCP (Model Context Protocol) server providing high-quality translation capabilities via the DeepL API.
Features
This server provides 5 tools for working with DeepL:
Tool | Description | Required Params |
| Translate text with formality control, context, and glossary support |
,
|
| Improve text clarity and style using DeepL Write (Pro only) |
|
| List all available source languages | — |
| List all target languages with formality support info | — |
| Get API usage statistics (character count and limits) | — |
Translation Features
Formality control — Adjust tone for formal/informal contexts (supported languages: DE, FR, IT, ES, NL, PL, PT, JA, RU)
Context parameter — Provide additional context for better accuracy (not billed)
Glossary support — Use custom terminology with glossary IDs
Batch translation — Translate multiple texts in a single request
Preserve formatting — Keep original text formatting
Sentence splitting control — Control how sentences are split
API Type Auto-Detection
The server automatically detects whether you're using the Free or Pro API based on your key format:
Keys ending in
:fx→ Free API (api-free.deepl.com)Other keys → Pro API (
api.deepl.com)
Related MCP server: DeepL MCP Server
Prerequisites
Node.js 18+ (including Node.js 25)
DeepL API Key — Sign up here (Free tier available)
Quick Start
1. Clone and Build
2. Configure Your MCP Client
Add to your MCP client configuration:
Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):
Claude Code (.mcp.json in your project):
3. Restart Your MCP Client
Restart Claude Desktop or Claude Code to load the server.
Usage Examples
Basic Translation
Formal Translation with Context
Batch Translation
Check API Usage
Use get_usage to see your current quota:
Supported Languages
Source Languages (auto-detected if omitted)
AR, BG, CS, DA, DE, EL, EN, ES, ET, FI, FR, HU, ID, IT, JA, KO, LT, LV, NB, NL, PL, PT, RO, RU, SK, SL, SV, TR, UK, ZH
Target Languages
All source languages plus regional variants:
EN-GB— British EnglishEN-US— American EnglishPT-BR— Brazilian PortuguesePT-PT— European PortugueseZH-HANS— Simplified ChineseZH-HANT— Traditional Chinese
Use get_target_languages for a complete list with formality support indicators.
Error Handling
The server handles common API errors:
400 — Invalid parameters
401/403 — Authentication failed
429 — Rate limit exceeded
456 — Quota exceeded
Development
License
MIT License — see LICENSE file.
Links
DeepL Pro API — Sign up for API access
Model Context Protocol — MCP documentation