mymemory_translate
Pack: mymemory · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/mymemory_translate for the schema, then POST the same URL with its arguments for the data.
Translate text from one language to another with no API key required. Source defaults to automatic language detection when omitted. Returns the translated text, the detected source language (when auto-detected), and a match-quality score (1.0 = exact translation-memory match, lower = machine-translated). Language codes are ISO 639-1 (e.g. “en”, “de”, “ja”, “zh-CN”).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
text | string | yes | The text to translate. |
source | string | no | Source language code, e.g. “en”. Omit to auto-detect. |
target | string | yes | Target language code, e.g. “de”. |
Example call
Arguments
{
"text": "The meeting has been postponed until next week",
"target": "de"
}
curl
curl -X POST https://gateway.pipeworx.io/mymemory/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"mymemory_translate","arguments":{"text":"The meeting has been postponed until next week","target":"de"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('mymemory_translate', {
"text": "The meeting has been postponed until next week",
"target": "de"
});
More examples
{
"text": "Good morning, how are you?",
"source": "en",
"target": "fr"
}
Response shape
Always returns: source, target, original_text, translated_text, detected_source_language, match_quality, alternate_matches
| Field | Type | Description |
|---|---|---|
source | string | null | Source language code, or null when auto-detected |
target | string | Target language code |
original_text | string | The original text that was translated |
translated_text | string | The translated text |
detected_source_language | string | null | Auto-detected source language code, present only when source was omitted |
match_quality | number | null | Translation-memory match score from 0 to 1; 1.0 is an exact match, lower is machine-translated |
alternate_matches | array | Up to 3 other candidate translations from the translation memory |
Full JSON Schema
{
"type": "object",
"properties": {
"source": {
"type": [
"string",
"null"
],
"description": "Source language code, or null when auto-detected"
},
"target": {
"type": "string",
"description": "Target language code"
},
"original_text": {
"type": "string",
"description": "The original text that was translated"
},
"translated_text": {
"type": "string",
"description": "The translated text"
},
"detected_source_language": {
"type": [
"string",
"null"
],
"description": "Auto-detected source language code, present only when source was omitted"
},
"match_quality": {
"type": [
"number",
"null"
],
"description": "Translation-memory match score from 0 to 1; 1.0 is an exact match, lower is machine-translated"
},
"alternate_matches": {
"type": "array",
"description": "Up to 3 other candidate translations from the translation memory",
"items": {
"type": "object",
"properties": {
"translation": {
"type": [
"string",
"null"
]
},
"match": {
"type": [
"number",
"null"
]
},
"quality": {
"type": [
"string",
"number",
"null"
]
},
"contributor": {
"type": [
"string",
"null"
]
}
}
}
}
},
"required": [
"source",
"target",
"original_text",
"translated_text",
"detected_source_language",
"match_quality",
"alternate_matches"
]
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the mymemory pack
{
"mcpServers": {
"mymemory": {
"url": "https://gateway.pipeworx.io/mymemory/mcp"
}
}
}
See Getting Started for client-specific install steps.