Translate documents inside Claude with MCP
Connect Claude Code, claude.ai or Claude Desktop to the VibeQL MCP server and ask Claude to translate DOCX, PPTX, PDF and TXT files with the layout kept.
· 4 min read
Claude can read and write text in many languages. It cannot, on its own, give you back a translated PowerPoint deck with the same slides, fonts and positions. The VibeQL MCP server adds that. Claude sends the file to VibeQL, VibeQL translates it and keeps the layout, and Claude gives you a download link.
MCP, the Model Context Protocol, is the standard way for AI agents to call outside tools. The VibeQL server runs at https://vibeql.com/mcp. You connect to it with an API key. There is nothing to install.
Before you start
You need a VibeQL API key. Create one in the app under API keys. The key starts with vql_.
VibeQL is in beta and sign-up is closed. If you do not have an account yet, join the waitlist.
Claude Code
Run this command once, with your key in place of YOUR_KEY:
claude mcp add --transport http vibeql https://vibeql.com/mcp --header "Authorization: Bearer YOUR_KEY"
Start a new session and run /mcp. The vibeql server shows as connected, with its five tools.
claude.ai
claude.ai connects to remote MCP servers as custom connectors. A custom connector takes a URL, and it cannot send your key in a header. So VibeQL also accepts the key in the URL:
https://vibeql.com/mcp?key=YOUR_KEY
- Open Settings, then Connectors.
- Select Add custom connector.
- Enter a name, for example
VibeQL, and paste the URL with your key. - In a chat, turn on the connector from the tools menu.
Claude Desktop
Claude Desktop uses the same custom connectors as claude.ai. Add the connector with the same URL, in Settings, then Connectors. A connector you add on claude.ai also shows in Claude Desktop when you sign in with the same Claude account.
Cursor and other clients
Any MCP client that supports streamable HTTP can connect. For example, in Cursor, add this to .cursor/mcp.json:
{
"mcpServers": {
"vibeql": {
"url": "https://vibeql.com/mcp",
"headers": { "Authorization": "Bearer YOUR_KEY" }
}
}
}
If a client cannot set headers, use the ?key= URL.
The tools
The server has five tools. Claude picks the right one from your request. You do not call them by name.
| Tool | What it does |
|---|---|
translate_text |
Translates text. Takes text, target_lang and an optional source_lang. |
translate_document |
Starts a file translation. Takes target_lang and either file_url or file_base64 with a filename. Returns a document id and its status. |
get_document |
Returns the status of a document. When it is done, it also returns a download_url that is valid for 24 hours. |
list_languages |
Lists the source and target languages, with codes such as PT-BR and ZH-HANS. |
get_usage |
Shows the characters and files you used in the current period. |
translate_document accepts DOCX, PPTX, PDF and TXT files. Claude Code can read a file from your disk and send its content. In claude.ai, give Claude a link to the file, and it passes the link as file_url.
An example session
You work in a repository with a Word handbook and want a Brazilian Portuguese copy. In Claude Code you type:
Translate docs/handbook.docx to Brazilian Portuguese and save it as docs/handbook.pt-BR.docx.
Claude then works through the tools:
- It calls
translate_documentwithtarget_langset toPT-BR, the file content and the filenamehandbook.docx. VibeQL returns a document id and the statusqueued. - It calls
get_documentwith the id until the status isdone. - It downloads the file from the
download_urland saves it under the new name. - It tells you where the file is.
The tool calls look like this:
translate_document { target_lang: "PT-BR", filename: "handbook.docx", file_base64: "..." }
→ { id: "...", status: "queued" }
get_document { id: "..." }
→ { status: "done", download_url: "https://vibeql.com/d/..." }
The translated handbook keeps its headings, tables, lists and images. You can ask for a second language in the same message, and Claude starts a second translation.
Short text needs no file. Ask “translate this error message to Japanese” and Claude calls translate_text. Ask “how many characters do I have left this month” and it calls get_usage.
One account, one character pool
The web app, the API and the MCP server share one account and one pool of characters. A file you translate through Claude counts against the same monthly limit as a file you drop in the web app or send through the API. The usage page in the app shows each channel separately, so you can see what Claude used.
Translated files are kept for 24 hours. Download links from get_document also stop working after 24 hours. Ask Claude to save the file if you need it later.
The plan limits are the same for every channel:
| Plan | Price | Characters a month | Files a month | Max file size | Max pages |
|---|---|---|---|---|---|
| Free | $0 | 60,000 web / 500,000 API characters | 3 files | 10 MB | 10 pages |
| Starter | $6.99/mo | 1M characters | 30 files | 50 MB | 100 pages |
| Pro | $14.99/mo | 3M characters | 150 files | 50 MB | 300 pages |
| Team | $59.99/mo | 6M characters | 400 files | 50 MB | 300 pages |
| API pay as you go | $13.75 / 1M, text and documents | Prepaid | – | 50 MB | – |
| API Growth | $129/mo | 10M, then $12.50 / 1M | – | 50 MB | – |
| API Scale | $1,299/mo | 100M, then $11 / 1M | – | 50 MB | – |
Limits to know
- Scanned PDFs are not translated yet, because VibeQL does not run OCR yet.
- Text inside images stays in the original language.
- PDF fonts are replaced by metric-compatible fonts. How we keep the layout when we translate a PDF explains why.
Next steps
- Follow the setup guide for each client: MCP setup.
- Read about the server: MCP server.
- Building your own agent? See VibeQL for AI agents.