Translate

liveReference

Translate text, detect languages, and list supported languages via LibreTranslate

3tools
0msauth
free tier50 calls/day

Tools

translate_translate

Translate text between languages using a LibreTranslate instance you supply — pass _apiKey for libretranslate.com or _endpoint for a self-hosted server. For translation with no key of your own, call m

No parameters required.

▶Try it
translate_detect_language

Detect the language of a text string. Returns an array of detected languages with confidence scores.

No parameters required.

▶Try it
translate_list_languages

List all languages supported by the translation API. Returns language codes and names.

No parameters required.

▶Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/translate/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/translate/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"translate_translate","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("translate_translate", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("translate text, detect languages, and list supported languages via libretranslate");