Official DeepL translation API integration
## DeepL MCP Server: Neural Machine Translation The **DeepL MCP Server** integrates the world's most accurate machine translation service directly into Google Antigravity, enabling AI assistants to translate text with exceptional quality programmatically. This integration brings state-of-the-art neural translation to your development workflow. ### Why DeepL MCP? - **Superior Quality**: Consistently outperforms other translation services in blind tests - **Natural Language**: Translations that read naturally and preserve original tone - **Document Translation**: Translate entire documents while preserving formatting - **Glossary Support**: Custom glossaries for consistent terminology translation - **Language Detection**: Automatic source language detection with high accuracy ### Key Features #### 1. Text Translation ```python from anthropic import Anthropic client = Anthropic() response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Translate this product description to German, French, and Spanish" }], tools=[{ "name": "deepl_translate", "description": "Translate text" }] ) ``` #### 2. Document Translation ```python # Translate documents response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Translate this PDF manual to Japanese while preserving formatting" }], tools=[{"name": "deepl_document", "description": "Translate documents"}] ) ``` #### 3. Glossary Management ```python # Use custom glossaries response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Create a glossary for our technical terms and use it for translation" }], tools=[{"name": "deepl_glossary", "description": "Manage glossaries"}] ) ``` #### 4. Formality Control ```python # Control translation style response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Translate this customer email to formal German" }], tools=[{"name": "deepl_formal", "description": "Control formality"}] ) ``` ### Configuration ```json { "mcpServers": { "deepl": { "command": "npx", "args": ["-y", "@anthropic/mcp-deepl"], "env": { "DEEPL_API_KEY": "your-deepl-api-key" } } } } ``` ### Use Cases **Content Localization**: Translate marketing content, documentation, and UI strings. **Customer Communication**: Translate support tickets and customer correspondence. **Document Processing**: Automate translation of contracts, manuals, and reports. **E-Commerce**: Translate product listings and descriptions for international markets. The DeepL MCP Server brings world-class neural translation directly into your development workflow, enabling high-quality multilingual content.
{
"mcpServers": {
"deepl": {
"mcpServers": {
"deepl": {
"env": {
"DEEPL_API_KEY": "YOUR_API_KEY"
},
"args": [
"-y",
"deepl-mcp-server"
],
"command": "npx"
}
}
}
}
}