Get the FREE Ultimate OpenClaw Setup Guide →

PDFMathTranslate

[EMNLP 2025 Demo] PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio pdfmathtranslate-pdfmathtranslate uvx pdf2zh

How to use

PDFMathTranslate is a powerful tool designed for translating scientific PDF documents while preserving their layout, including formulas, charts, tables of contents, and annotations. Users can leverage its capabilities through a command-line interface, an interactive graphical user interface, or by deploying it via Docker. The command-line tool allows users to execute translations directly from their terminal, while the GUI provides a more user-friendly experience for those who prefer a visual interface. Additionally, the server supports multiple languages and various translation services, making it versatile for diverse user needs.

How to install

To install PDFMathTranslate, ensure you have Python installed (version 3.10 to 3.12). You can choose to install it via pip or using the uv package manager. For pip installation, run the following commands:

pip install pdf2zh

After installation, you can execute translations with:

pdf2zh document.pdf

Alternatively, if you prefer using uv, install it first:

pip install uv
uv tool install --python 3.12 pdf2zh

Then, run the translation command as shown above. For Docker users, pull the image and run it with:

docker pull byaidu/pdf2zh
docker run -d -p 7860:7860 byaidu/pdf2zh

Additional notes

If you encounter issues accessing Docker Hub, you can try the GitHub Container Registry by pulling the image from there. Additionally, ensure that your Python version is compatible (3.10 to 3.12) to avoid installation problems. For Windows users, if you have trouble running the application, installing the Visual C++ Redistributable may resolve the issue. The application also provides a Zotero plugin for users who manage references.

Related MCP Servers

Sponsor this space

Reach thousands of developers