(Disclosure: Written by the Equalang team, makers of the translation tools mentioned in this guide.)
If you only need to translate a few JSON localization keys or a short Markdown README inside Cursor or Claude Code, let your host LLM translate in context or install a string-focused wrapper like deepl-mcp-server. Once you ask an agent to translate a binary ./paper.pdf, ./deck.pptx, ./budget.xlsx, ./book.epub, or a 90-minute ./lecture.mp4, context-window translation and string-only MCP servers break down: they strip document formatting, consume host context and output token quotas, or reject binary files outright. @equalang/mcp (io.github.equalang-ai/equalang-mcp) lets MCP-compatible agents inspect an upfront usage quote, run asynchronous whole-file translation jobs across Chinese, English, Japanese, Korean, Spanish, French, and other languages in the OpenAPI DocumentLanguage and TextLanguage schemas, and download layout-preserved documents or bilingual subtitles directly back into your project directory.
Translation MCP Servers Compared at a Glance
| Approach / MCP Server | Primary Input & Output | Supported Languages | Whole-File Layout & Media Pipeline | Usage Quotes & Agent Safeguards | Ideal Use Case |
|---|---|---|---|---|---|
| Host LLM In-Context (No MCP) | Plain text, Markdown, JSON snippets in chat | Host model dependent | None (cannot rewrite binary .pdf, .pptx, .xlsx, .epub, or .mp4 natively) |
Consumes host context and output token limits on long files | Translating 10–100 lines of code comments or UI strings |
DeepL MCP (deepl-mcp-server) |
translate_text, rephrase_text string calls |
~30+ languages supported by DeepL API | Text-focused in standard community MCP tools; binary files require separate API plumbing | Requires DeepL API key and developer plan account | High-fluency European & CJK string or i18n key translation |
| Google / Lara String MCPs | Plain text strings, batch JSON arrays | ~100–130+ languages (engine dependent) | No asynchronous PDF formula reconstruction, slide auto-fit, or 180-min AV subtitling | Requires Google Cloud project account or third-party API plan | Broad language coverage for raw text and localization files |
Equalang Official MCP (@equalang/mcp) |
Instant text plus async PDF, DOCX, PPTX, XLSX, EPUB, HTML, TXT, SRT/VTT, images, audio/video |
Chinese, English, Japanese, Korean, Spanish, French & more (DocumentLanguage / TextLanguage schemas) |
Preserves two-column PDF structure, auto-fits PPTX text, keeps XLSX formulas intact, transcribes/translates up to 180-min recordings | Upfront usage quote via POST /files, Idempotency-Key retry safety, failed or cancelled jobs not billed |
Agents translating research PDFs, client slide decks, spreadsheets, e-books, and recordings |
Where Host LLMs and String-Only MCP Wrappers Genuinely Win
Before adding another server to your MCP configuration, it helps to recognize when a dedicated document pipeline is unnecessary:
-
Zero-setup code and Markdown edits (Host LLM): When you are already editing
./locales/en.jsonor a short./README.mdinside Cursor, Windsurf, or Claude Code, your host model already holds the file in context. Asking it to generate./locales/ja.jsonrequires no extra API key or network hop. -
Dedicated string localization (
deepl-mcp-serverand Google Cloud Translate MCPs): When an automated workflow needs deterministic machine translation for thousands of short product strings without spending reasoning-model output tokens, calling DeepL or Google Translate via a lightweight string MCP server is fast and predictable. DeepL's string tool is also handy when you want quick style or formality rephrasing across supported languages.
The wall appears the moment a file is no longer plain text. If you tell an agent to read a 20-page two-column academic PDF with local Python scripts and write out a translated file, the raw text extraction scrambles multi-line table headers, flattens inline equations, drops cross-reference links, and leaves you with a wall of Markdown instead of a readable PDF. Those structural failure modes are examined in detail in Can ChatGPT Translate a Whole PDF and Keep the Layout?.
What @equalang/mcp Adds for File and Media Workflows
The open-source @equalang/mcp server (GitHub repository, MCP Registry ID io.github.equalang-ai/equalang-mcp) is built around a simple split: text translation is synchronous, while file translation is asynchronous and quote-guarded.
When an agent invokes @equalang/mcp, it connects to the same ten business endpoints documented in the Equalang Developer Hub and the machine-readable Equalang full API & agent instructions (llms-full.txt):
-
Upfront usage quote before committing (
POST /files): The agent can upload./paper.pdfor./slides/deck.pptxfirst and receive afile_idalong with an upfront usagequotefor a single translation job on that file. Your agent can ask for your confirmation—or aggregate usage quotes across a folder of PDFs—before callingPOST /jobs/translate. -
Asynchronous whole-file processing (
POST /jobs/translate): Instead of holding an HTTP connection open while a 25-page paper or 2-hour video processes, the agent submits a job (usingfile_id, multipart upload, or a publicfile_url) with anIdempotency-Key. If the local network drops and the agent retries, the idempotency key prevents duplicate jobs. An account runs up to 3 document jobs concurrently while additional submissions queue automatically. -
Format-specific layout preservation across Chinese, English, Japanese, Korean, Spanish, French, and other languages:
- PDF: Retains two-column layouts, headers, footers, figure captions, and clickable table-of-contents or cross-reference links; stitches sentences split across page breaks before translating; offers an optional PDF equation optimization mode for complex inline fractions. Completed PDF jobs can return both the translated PDF and an alternating-page bilingual comparison PDF for two-page side-by-side reading.
- PPTX, DOCX, XLSX, and EPUB: Shrinks PPTX font sizes automatically when translated text expands so slides do not overflow; translates repeated XLSX text strings once while leaving pure numbers and calculation formulas intact; preserves EPUB table of contents, illustrations, and internal chapter links.
-
Audio, video, subtitles, and images: Accepts recordings (
MP3,M4A,WAV,FLAC,OGG,AAC,OPUS,MP4,MOV,WEBM,MKV) up to 180 minutes via the HTTP API,@equalang/mcp, or the Equalang Agent Skill, and outputs time-coded transcripts or translated.srt/.vttsubtitles (including bilingual top-source/bottom-translation tracks, as walked through in How to Turn Recordings into Bilingual Subtitles). Non-speech silence and background music segments are skipped during recognition. It also translates standalone.srt/.vttfiles andJPG/PNG/WEBP/BMPimages.
-
Structured retry and billing safeguards: Every API error includes a
codeand a booleanretryableflag so agents only retry transient failures. Failed or cancelled jobs are not billed, and retrying a failed delivery step on a completed job does not trigger a second translation job.
Practical Boundaries Worth Knowing
To keep your automated workflows reliable, keep these verified boundaries in mind:
-
Legacy Office formats: Pass modern
.docx,.pptx, and.xlsxfiles; legacy.doc,.ppt, and.xlsbinaries are not supported. -
Spreadsheet string formulas: While standard arithmetic and
VLOOKUPformulas recalculate properly and worksheet tab names stay intact so cross-sheet references do not break, quoted string literals inside conditional formulas (such asIF(F2="In Stock", ...)) remain in the source language after cell values translate—review conditional text formulas after download. - PDF bookmarks and watermarks: In-page table-of-contents links and cross-references stay clickable, but PDF sidebar outline bookmarks and master-slide fixed footer text are not carried over, and heavy diagonal text watermarks across a page can interfere with paragraph extraction.
How to Configure @equalang/mcp in Your MCP Client
First, sign in and create an API key at Equalang API Keys. Equalang uses usage-based pay-as-you-go billing with no recurring monthly subscription.
Add @equalang/mcp to your client's mcpServers JSON configuration over standard stdio:
{
"mcpServers": {
"equalang": {
"command": "npx",
"args": ["-y", "@equalang/mcp"],
"env": {
"EQUALANG_API_KEY": "eq_live_your_api_key_here"
}
}
}
}
If you work in an assistant that supports Agent Skills (such as Claude Code, Codex, or WorkBuddy) and want local script orchestration alongside MCP, you can also install the companion open-source skill from the Equalang Agent Skill GitHub repository or follow the Equalang Skill installation instructions. @equalang/mcp over stdio, the equalang-skill CLI, and the HTTP API workflows have been verified end-to-end with production API keys, alongside natural-language subtitle tasks in WorkBuddy. After adding a new MCP server or Skill, restart your client if the tools do not appear immediately.
Once loaded, you can prompt your agent with concrete relative paths:
Estimate the usage quote to translate ./papers/transformer-notes.pdf from English to Simplified Chinese, and wait for my confirmation before starting the job.Translate ./slides/q4-review.pptx into Japanese and save the translated deck in ./slides/ja/.Generate bilingual English-to-Chinese SRT subtitles for ./recordings/keynote.mp4 and save the .srt file next to the video.
Prefer uploading document and subtitle files (.pdf, .docx, .pptx, .xlsx, .epub, .md, .txt, .html/.htm, .srt, .vtt) in a browser workspace with side-by-side synced scrolling instead of configuring CLI tools? You can use your account directly on Equalang Document Translation.
Frequently Asked Questions
How does the upfront usage quote work before an agent starts translating?
When your agent uploads a file via POST /files, Equalang returns a file_id along with an upfront usage quote for a translation job on that file. You can instruct your agent to inspect and report the quote for one file—or across a folder of files—and wait for your confirmation before calling POST /jobs/translate.
How do Idempotency-Key and retryable flags protect automated agent loops?
POST /jobs/translate accepts an Idempotency-Key header, so retrying a timed-out request returns the existing job rather than creating duplicate jobs. Every error response includes a code and a boolean retryable flag so an agent loop can distinguish transient network or rate-limit conditions from permanent validation errors, and failed or cancelled jobs are not billed.
When should I use in-context LLM translation or string MCPs versus @equalang/mcp?
Use your host LLM in context for small Markdown files or JSON localization snippets already open in your editor, and use string-focused MCPs (deepl-mcp-server or Google Translate MCP wrappers) for high-volume plain-text key arrays. Switch to @equalang/mcp when you need asynchronous whole-file processing that preserves layout across PDFs, Office documents (.docx, .pptx, .xlsx), .epub books, or up to 180-minute audio and video recordings. Equalang does not sell personal data and does not use submitted or translated content to train AI models.
Sources
- Equalang Official MCP Server (
@equalang/mcpon GitHub) - Equalang Official Agent Skill (
equalang-skillon GitHub) - Equalang Developer Hub
- Equalang Full API & Agent Instructions (
llms-full.txt) - Equalang OpenAPI 3.1 Specification (
openapi.json) - Equalang Skill Installation Guide (
skill-install.md) - Equalang API Keys Management
- Equalang Privacy Policy
Top comments (0)