Lara Translate MCP Server
You can use Lara Translate through MCP to translate text and manage translation memories and glossaries.
Translate text between languages with auto-detection, context, instructions, styles, glossaries, translation memories, priority, reasoning, content types, and privacy flags.
Detect the language of one or many texts and list supported language codes.
Create, list, rename, and delete translation memories; add/delete translation units; import TMX files; and check import status.
Create, list, inspect, rename, and delete glossaries; add/delete terms; import/export CSV; and check counts and import status.
Connect via OAuth or access keys, or self-host via NPX, Docker, or source build.
Supports running the MCP server in a Docker container, providing an isolated environment with all dependencies for the Lara Translate integration.
Enables running the MCP server directly through NPX, allowing users to execute the package without installing it locally.
Supports local development and package management for the MCP server through pnpm, which is used for installing dependencies and building the project.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Lara Translate MCP Server translate 'Hello, how are you?' from English to Spanish"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Lara Translate MCP Server
A Model Context Protocol (MCP) server for Lara Translate, enabling professional translation capabilities with support for language detection, context-aware translations, translation memories, and glossaries.
Lara leverages Translation Language Models (T-LMs) trained on billions of professionally translated segments, delivering domain-specific translations that capture cultural nuances and industry terminology that general-purpose LLMs often miss.
Quick Start
Pick your client below — no API keys needed, just log in through your browser.
The previous URL, https://mcp-v2.laratranslate.com/v1, keeps working: existing connectors need no change.
Claude Desktop
Go to Settings > Connectors
Click Add Custom Connector
Enter the name:
LaraEnter the URL:
https://mcp.laratranslate.com/v1Click Add, then click Connect
Log in with your Lara Translate credentials in the browser
Done — Lara Translate is now available in your conversations.
Cursor
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"lara-translate": {
"url": "https://mcp.laratranslate.com/v1"
}
}
}Restart Cursor. The first time you use a Lara tool, your browser will open to authenticate.
Full instructions: Client Setup Guide.
Claude Code
claude mcp add --transport http lara-translate https://mcp.laratranslate.com/v1Then run /mcp inside Claude Code to log in through your browser.
Full instructions: Client Setup Guide.
Other Clients
For step-by-step OAuth setup on VS Code (GitHub Copilot), Windsurf, Cline, Continue, and more, see the Client Setup Guide.
If your client isn't listed, the general approach is to add the server URL (https://mcp.laratranslate.com/v1) to your MCP config — the client will handle OAuth authentication automatically.
For a complete list of MCP-compatible clients, visit the official MCP clients page.
Verify It Works
After setup, test with a simple prompt:
Translate with Lara "Hello world" to SpanishYour client should invoke Lara Translate and return the translation.
Related MCP server: Polyglot
Available Tools
Translation
Tool | Description |
| Translate text between languages with support for context, instructions, translation memories, glossaries, and multiple styles (faithful/fluid/creative) |
Language Detection
Tool | Description |
| Detect the language of a given text or array of texts |
| List all supported language codes |
Translation Memories
Tool | Description |
| List all translation memories in your account |
| Create a new translation memory |
| Update a translation memory's name |
| Delete a translation memory |
| Add a translation unit (source + target pair) to a memory |
| Delete a translation unit from a memory |
| Import a TMX file into a memory |
| Check the status of a TMX import job |
Glossaries
Tool | Description |
| List all glossaries in your account |
| Get details of a specific glossary |
| Create a new glossary |
| Update a glossary's name |
| Delete a glossary |
| Add or replace a term entry in a glossary |
| Delete a term entry from a glossary |
| Import entries from a CSV file into a glossary |
| Check the status of a glossary CSV import job |
| Export a glossary as CSV |
| Get the number of entries in a glossary |
Authentication
OAuth 2.0 (default)
This is the method used in the Quick Start above. You provide only the server URL in your client config — no API keys needed. Your client handles the OAuth flow automatically: it opens your browser, you log in with your Lara Translate credentials, and you're connected.
For per-client OAuth setup instructions, see the Client Setup Guide.
Access Key (alternative)
If you prefer to authenticate with API keys instead of browser login, you can pass your credentials directly in the client config. Get your Access Key ID and Secret from Lara Translate.
See the Access Key section in the Client Setup Guide for config examples.
Self-Hosting
Most users can connect to the hosted endpoint (https://mcp.laratranslate.com/v1) using the Quick Start instructions above. The options below are for running the server yourself.
STDIO via NPX
Requires Node.js 22.23.4 or later (the engines field of the published package). Only needed to run the server locally: the hosted endpoint above needs no installation.
{
"mcpServers": {
"lara-translate": {
"command": "npx",
"args": ["-y", "@translated/lara-mcp@latest"],
"env": {
"LARA_ACCESS_KEY_ID": "<YOUR_ACCESS_KEY_ID>",
"LARA_ACCESS_KEY_SECRET": "<YOUR_ACCESS_KEY_SECRET>"
}
}
}
}STDIO via Docker
Requires Docker.
{
"mcpServers": {
"lara-translate": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "LARA_ACCESS_KEY_ID",
"-e", "LARA_ACCESS_KEY_SECRET",
"translatednet/lara-mcp:latest"
],
"env": {
"LARA_ACCESS_KEY_ID": "<YOUR_ACCESS_KEY_ID>",
"LARA_ACCESS_KEY_SECRET": "<YOUR_ACCESS_KEY_SECRET>"
}
}
}
}Building from Source
Node.js
Requires Node.js 22.23.4 or later and pnpm.
git clone https://github.com/translated/lara-mcp.git
cd lara-mcp
pnpm install
pnpm run buildThen add to your MCP config:
{
"mcpServers": {
"lara-translate": {
"command": "node",
"args": ["<FULL_PATH_TO_PROJECT>/dist/index.js"],
"env": {
"LARA_ACCESS_KEY_ID": "<YOUR_ACCESS_KEY_ID>",
"LARA_ACCESS_KEY_SECRET": "<YOUR_ACCESS_KEY_SECRET>"
}
}
}
}Docker
git clone https://github.com/translated/lara-mcp.git
cd lara-mcp
docker build -t lara-mcp .Then add to your MCP config:
{
"mcpServers": {
"lara-translate": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "LARA_ACCESS_KEY_ID",
"-e", "LARA_ACCESS_KEY_SECRET",
"lara-mcp"
],
"env": {
"LARA_ACCESS_KEY_ID": "<YOUR_ACCESS_KEY_ID>",
"LARA_ACCESS_KEY_SECRET": "<YOUR_ACCESS_KEY_SECRET>"
}
}
}
}Usage Metrics
The server reports usage events to Lara so we can see which tools and options are used and which problems users run into. Usage metrics are on by default. They are pseudonymous, not anonymous: each event is tied to your Lara account id.
Events: an auth_success the first time your credentials are accepted, a
call_success / call_error per tool call (quota_exceeded instead of
call_error when the account is out of quota), and an auth_fail when Lara
rejects your credentials (sent without an account id when the key never worked).
What is sent:
your Lara account id (
acc_...) and the server version;the tool name, how long the call took, and how many characters were translated;
for
translate: the source and target language tags, the options you used, and how many text blocks, glossaries, memories and instructions the call had (how many — never which);the kind of client (
claude,claude-code,chatgpt,cursor,codex,vscodeorother) and its version number;the transport (
stdio/http), operating system and Node.js version;on errors: an error category, the HTTP status and error type Lara answered with, and the names of invalid arguments.
What is never sent: the text you translate or its translation, your access key id and secret, glossary and memory ids, instructions, context, error messages, raw client names or user agents.
An installation id (a random UUID, tied to nothing) is generated the first time
an event is sent and kept at ~/.lara/installation-id — set LARA_HOME to move
it. It identifies this installation to the metrics backend, never you.
Opting out
Per call: a translate call with no_trace: true (Lara's own privacy flag)
reports nothing at all — no event of any kind is sent for that call.
Entirely: set DO_NOT_TRACK to 1, true or yes and nothing is
measured, queued, written to disk or sent:
{
"mcpServers": {
"lara-translate": {
"command": "npx",
"args": ["-y", "@translated/lara-mcp@latest"],
"env": {
"LARA_ACCESS_KEY_ID": "<YOUR_ACCESS_KEY_ID>",
"LARA_ACCESS_KEY_SECRET": "<YOUR_ACCESS_KEY_SECRET>",
"DO_NOT_TRACK": "1"
}
}
}
}Metrics never block, slow down or fail a translation: events are batched, sent in the background, and a monitoring backend that is down is ignored.
Support
For issues with Lara Translate API: visit Lara Translate Support
For issues with this MCP server: open an issue on GitHub
Lara Think
Select Lara Think with reasoning: true on the translate tool. Choose Low,
Medium or High with reasoning_effort: "low" | "medium" | "high". Think defaults
to high when the level is omitted. Without reasoning, Lara Base is used.
A level requires reasoning: true; other combinations are rejected before the API call.
{"text":[{"text":"Hello","translatable":true}],"target":"it","reasoning":true,"reasoning_effort":"medium"}Think can take substantially longer. Existing timeout options still apply.
When the MCP client supplies a progressToken, Lara Think streaming updates are
forwarded as notifications/progress, without translation text or a percentage.
These updates do not guarantee a longer client timeout; configure the client's
request timeout separately.
If Lara reports a reasoning fallback, the translation is retained and
warnings.reasoning.applied: false and an explanatory text warning are returned.
Absence of feedback does not prove which reasoning level ran internally.
Usage metrics are enabled by default and can be disabled as described in Usage Metrics above.
When enabled, they include the requested effective level and reported fallback, never source text.
Available Tools
22 toolsadd_glossary_entryADestructiveIdempotent
Adds or replaces an entry in a glossary in your Lara Translate account. Supports both monodirectional and multidirectional glossaries.
Inputs: id (required), terms (required), guid. Returns: id, end, size, begin, +2 more
add_translationCDestructive
Adds a translation to a translation memory in your Lara Translate account.
Inputs: id (required), source (required), target (required), sentence (required), +4 more. Returns: id, end, size, begin, +2 more
check_glossary_import_statusARead-onlyIdempotent
Checks the status of a glossary CSV import job started by import_glossary_csv. Poll this tool with the import_id returned from import_glossary_csv until the import is complete.
Inputs: id (required). Returns: id, end, size, begin, +2 more
check_import_statusARead-onlyIdempotent
Checks the status of a TMX import job started by import_tmx. Poll this tool with the import_id returned from import_tmx until the import is complete. The response includes a progress field to track completion.
Inputs: id (required). Returns: id, end, size, begin, +2 more
create_glossaryA
Create a glossary with a custom name in your Lara Translate account. Glossaries enforce specific terminology during translation.
Inputs: name (required). Returns: id, name, ownerId, createdAt, +2 more
create_memoryB
Create a translation memory with a custom name in your Lara Translate account. Translation memories store pairs of source and target text segments (translation units) for reuse in future translations.
Inputs: name (required), external_id. Returns: id, name, secret, ownerId, +6 more
delete_glossaryCDestructiveIdempotent
Deletes a glossary from your Lara Translate account.
Inputs: id (required). Returns: id, name, ownerId, createdAt, +2 more
delete_glossary_entryADestructiveIdempotent
Deletes an entry from a glossary in your Lara Translate account. Use term for monodirectional glossaries or guid for multidirectional glossaries.
Inputs: id (required), guid, term. Returns: id, end, size, begin, +2 more
delete_memoryCDestructiveIdempotent
Deletes a translation memory from your Lara Translate account.
Inputs: id (required). Returns: id, name, secret, ownerId, +6 more
delete_translationBDestructiveIdempotent
Deletes a translation from a translation memory in your Lara Translate account.
Inputs: id (required), source (required), target (required), sentence (required), +4 more. Returns: id, end, size, begin, +2 more
detect_languageARead-onlyIdempotent
Detects the language of the provided text. Returns the detected language, content type, and a list of predictions with confidence scores. Accepts a single string or an array of strings (up to 128 elements). Use this tool explicitly whenever the user asks to know or confirm what language a text is written in — including when that request is combined with a translation request (e.g., 'detect the language of this text and translate it into English'). In that case, call this tool first, tell the user which language was detected, and only then call the translate tool (you do not need to pass the detected language as 'source' to translate — translate can auto-detect on its own — but the user still expects to be told the result of detection).
Inputs: text (required), hint, passlist. Returns: language, contentType, predictions
export_glossaryARead-onlyIdempotent
Exports a glossary as CSV from your Lara Translate account. Supports unidirectional and multidirectional formats.
Inputs: id (required), content_type (required), source. Returns: value
get_glossaryARead-onlyIdempotent
Retrieves a specific glossary by ID from your Lara Translate account. Returns null if the glossary is not found.
Inputs: id (required). Returns: glossary
get_glossary_countsARead-onlyIdempotent
Retrieves the term and language counts for a glossary in your Lara Translate account.
Inputs: id (required). Returns: unidirectional, multidirectional
import_glossary_csvADestructiveIdempotent
Imports a CSV file into a glossary. Supports unidirectional and multidirectional formats. This is an async operation that returns an import job object containing an import_id. Poll with check_glossary_import_status using the returned import_id until the import is complete.
Inputs: id (required), csv_content (required), content_type (required), gzip. Returns: id, end, size, begin, +2 more
import_tmxADestructive
Imports a TMX file into a translation memory. This is an async operation that returns an import job object containing an import_id. Poll with check_import_status using the returned import_id until the import is complete.
Inputs: id (required), tmx_content (required). Returns: id, end, size, begin, +2 more
list_glossariesARead-onlyIdempotent
Lists all glossaries in your Lara Translate account. Glossaries are collections of terms with their translations that enforce specific terminology during translation.
Inputs: no named parameters. Returns: items, unavailable
list_languagesARead-onlyIdempotent
Lists all supported languages in your Lara Translate account.
Inputs: no named parameters. Returns: items
list_memoriesARead-onlyIdempotent
Lists all translation memories in your Lara Translate account.
Inputs: no named parameters. Returns: items
translateA
Translate text between languages using Lara Translate. Supports language detection, context-aware translations, translation memories, and glossaries. The optional 'instructions' parameter accepts short localization directives (e.g., 'Translate formally') — only provide them when the content specifically requires tone, formality, or terminology adjustments. IMPORTANT: 'target' accepts exactly one language code per call. If the user asks to translate into multiple languages (e.g., 'into Italian and German'), call this tool once per target language and present all resulting translations together. IMPORTANT: 'glossaries' requires glossary IDs in the 'gls_*' format, not glossary names. If the user refers to a glossary by name (e.g., 'our company glossary', 'the marketing glossary'), call list_glossaries first, match the name, and use the returned ID here. If no matching glossary is found, tell the user instead of guessing an ID.
Inputs: text (required), target (required), style, source, +11 more. Returns: items, warnings
update_glossaryBDestructiveIdempotent
Updates the name of a glossary in your Lara Translate account.
Inputs: id (required), name (required). Returns: id, name, ownerId, createdAt, +2 more
update_memoryCDestructiveIdempotent
Updates a translation memory in your Lara Translate account.
Inputs: id (required), name (required). Returns: id, name, secret, ownerId, +6 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 22 tools
Most tools cleanly map to a resource+action (memories, glossaries, translations). The main confusion points are the near-identical pair check_import_status vs check_glossary_import_status, and to a lesser degree get_glossary vs get_glossary_counts vs list_glossaries; descriptions do resolve these, but the names alone are similar enough that an agent could slip.
Nearly everything follows a snake_case verb_noun pattern (create_memory, delete_glossary_entry, import_glossary_csv), which is predictable. The one asymmetry is the generic check_import_status for memories versus the prefixed check_glossary_import_status for glossaries, which breaks the otherwise symmetric resource naming.
22 tools is on the heavy side, but the surface spans three coherent sub-domains (translation, translation memories, glossaries), each with its own CRUD plus import/export lifecycle, so most tools earn their place. A few could be consolidated (e.g. the two import-status pollers), keeping it just short of a clean 5.
Glossary and memory lifecycles are largely covered, but there are notable dead ends: no way to list or read individual translation units in a memory, no tool to list a glossary's entries (only counts), and no update_translation counterpart to add_translation. Agents can work around some of these via export_glossary, but memory contents are effectively opaque after import.
Maintenance
Related MCP Connectors
Translate MCP — LibreTranslate-compatible machine translation.
MCP server for Translation Services
MCP server for Crowdin — projects, files, strings, translation progress, tasks, and members.
LibreTranslate MCP — open-source machine translation (BYO endpoint)
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP (Multi-Agent Conversation Protocol) Server that enables AI agents to interact with Google's Cloud Translation API for translating text between languages.-
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides standardized translation services across six languages (Arabic, Chinese, English, French, Russian, Spanish) using Claude Sonnet 3.5, with support for different domains and formality levels.3MIT
- AlicenseAqualityDmaintenanceMCP server for AI-powered translation management in i18n projects, enabling automated locale detection, translation status checks, and sync via LangAPI.428 npm1MIT
- AlicenseAqualityDmaintenanceEnables MCP-compatible AI applications to translate text through the Lara Translate API, with automatic language detection, context-aware translations, and custom instructions.1MIT