DeepL MCP Server

by DeepLcom
MIT License
44
6
  • Apple
  • Linux

Integrations

  • Provides translation capabilities using the DeepL API, including text translation between numerous languages, rephrasing, automatic language detection, and formality control for supported languages.

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

Installation

Installing via Smithery

To install deepl-mcp-server for Claude Desktop automatically via Smithery:

npx --yes @smithery/cli install @DeepLcom/deepl-mcp-server --client claude

Clone this repository and install dependencies:

git clone https://github.com/DeepLcom/deepl-mcp-server.git cd deepl-mcp-server npm install

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

  1. Install Claude Desktop if you haven't already
  2. 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
  3. 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" } } } }
  1. Replace /path/to/deepl-mcp-server with an absolute path to your local copy of this repository - for example, /Users/robotwoman/Code/deepl-mcp-server
  2. Replace your-api-key-here with your actual DeepL API key
  3. 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 translation
  • get-target-languages: Get list of available target languages for translation
  • translate-text: Translate text to a target language
  • rephrase-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 translate
  • targetLang: 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

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

A Model Context Protocol server that enables AI assistants to translate and rephrase text between numerous languages using the DeepL API.

  1. Features
    1. Installation
      1. Installing via Smithery
    2. Configuration
      1. DeepL API Key
    3. Using with Claude Desktop
      1. Configuration Steps
    4. Available Tools
      1. Tool Details
        1. translate-text
        2. rephrase-text
      2. Supported Languages
        1. Debugging
          1. Error Handling
            1. License
              1. Links

                Related MCP Servers

                • -
                  security
                  A
                  license
                  -
                  quality
                  A Model Context Protocol server enabling AI agents to access and manipulate ServiceNow data through natural language interactions, allowing users to search for records, update them, and manage scripts.
                  Last updated -
                  9
                  Python
                  MIT License
                • A
                  security
                  A
                  license
                  A
                  quality
                  A Model Context Protocol server that enables AI assistants to create, update, and delete Dub.co short links through the Dub.co API.
                  Last updated -
                  3
                  11
                  5
                  JavaScript
                  MIT License
                  • Linux
                  • Apple
                • -
                  security
                  A
                  license
                  -
                  quality
                  A Model Context Protocol server that enables AI assistants to interact with n8n workflows through natural language, supporting actions like listing, creating, updating, executing and monitoring workflows.
                  Last updated -
                  135
                  225
                  TypeScript
                  MIT License
                  • Apple
                  • Linux
                • A
                  security
                  A
                  license
                  A
                  quality
                  A Model Context Protocol server that enables AI assistants to interact with Confluence content, supporting operations like retrieving, searching, creating, and updating pages and spaces.
                  Last updated -
                  9
                  3
                  TypeScript
                  MIT License

                View all related MCP servers

                ID: hs222qbsnt