list_languages

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

List languages supported by the configured LibreTranslate instance.

Example call

Arguments

{}

curl

curl -X POST https://gateway.pipeworx.io/libretranslate/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_languages","arguments":{}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('list_languages', {});

Response shape

Always returns: count, languages

FieldTypeDescription
countintegerTotal number of supported languages
languagesarrayList of supported languages with codes and targets
Full JSON Schema
{
  "type": "object",
  "properties": {
    "count": {
      "type": "integer",
      "description": "Total number of supported languages"
    },
    "languages": {
      "type": "array",
      "description": "List of supported languages with codes and targets",
      "items": {
        "type": "object",
        "properties": {
          "code": {
            "type": [
              "string",
              "null"
            ],
            "description": "Language code"
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Human-readable language name"
          },
          "target_codes": {
            "type": "array",
            "description": "Language codes this language can be translated to",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  },
  "required": [
    "count",
    "languages"
  ]
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026