detect_language
Pack: libretranslate · Endpoint: https://gateway.pipeworx.io/libretranslate/mcp
Detect the source language of a piece of text. Returns ranked language candidates with confidence.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
text | string | yes | Text to analyze |
Example call
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":"detect_language","arguments":{}}}'
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.