translate

Pack: deepl · Endpoint: https://gateway.pipeworx.io/deepl/mcp

Translate one or more text strings using DeepL. Requires text (string or array) and target_lang (e.g. “DE”, “FR”, “JA”). Optionally specify source_lang, formality (more/less/prefer_more/prefer_less), tag_handling (html/xml), and glossary_id. Returns detected source language and translated text.

Parameters

NameTypeRequiredDescription
textunknownyesString or array of strings.
target_langstringyes
source_langstringno
split_sentencesstringno
preserve_formattingbooleanno
formalitystringno
glossary_idstringno
tag_handlingstringno
outline_detectionbooleanno
non_splitting_tagsstringno
splitting_tagsstringno
ignore_tagsstringno

Example call

Arguments

{
  "text": "Hello, how are you?",
  "target_lang": "DE"
}

curl

curl -X POST https://gateway.pipeworx.io/deepl/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"translate","arguments":{"text":"Hello, how are you?","target_lang":"DE"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('translate', {
  "text": "Hello, how are you?",
  "target_lang": "DE"
});

More examples

{
  "text": [
    "Good morning",
    "Good evening"
  ],
  "target_lang": "FR",
  "source_lang": "EN",
  "formality": "formal"
}

Response shape

Always returns: translations

FieldTypeDescription
translationsarrayArray of translated text results
Full JSON Schema
{
  "type": "object",
  "properties": {
    "translations": {
      "type": "array",
      "description": "Array of translated text results",
      "items": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "description": "Translated text"
          },
          "detected_source_language": {
            "type": "string",
            "description": "Detected source language code"
          }
        },
        "required": [
          "text"
        ]
      }
    }
  },
  "required": [
    "translations"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "deepl": {
      "url": "https://gateway.pipeworx.io/deepl/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026