PDFMathTranslate
[EMNLP 2025 Demo] PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero
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
paperdebugger
A Plugin-Based Multi-Agent System for In-Editor Academic Writing, Review, and Editing
wanaku
Wanaku MCP Router
chm-converter
chm to markdown and vectorDB
mcp-doc-forge
MCP server that provides doc forge capabilities
cv-resume-builder
AI-powered CV and resume builder using Model Context Protocol. Automatically sync your achievements from Jira, Credly, LinkedIn, and git. Keep your CV always up-to-date.
MCP-Mathematics
A comprehensive Model Context Protocol (MCP) server that turns any AI assistant into a powerful mathematical computation engine.