pymupdf4llm-mcp
该软件包已合并到官方仓库,请使用官方仓库。
https://github.com/pymupdf/pymupdf4llm-mcp
pymupdf4llm-mcp
pymupdf4llm 的 MCP 服务器,最适合将 PDF 导出为 LLM 的 markdown。
快速入门
运行以下命令运行 MCP 服务器:
uvx pymupdf4llm-mcp@latest stdio # stdio mode
# or
uvx pymupdf4llm-mcp@latest sse # sse mode将你的光标/风帆冲浪/...和其他 MCP 客户端配置到此服务器:
{
"mcpServers": {
"pymupdf4llm-mcp": {
"command": "uvx",
"args": [
"pymupdf4llm-mcp@latest",
"stdio"
],
"env": {}
}
}
}Available Tools
1 toolconvert_pdf_to_markdownA
Converts a PDF file to markdown format via pymupdf4llm. See pymupdf.readthedocs.io/en/latest/pymupdf4llm for more. The file_path, image_path, and save_path parameters should be the absolute path to the PDF file, not a relative path. This tool will also convert the PDF to images and save them in the image_path directory. For larger PDF files, use save_path to save the markdown file then read it partially.
Inputs: file_path (required), image_path, save_path. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of ambiguity. The tool's purpose is clearly described, and an agent will have no difficulty selecting it.
The single tool name follows a consistent verb_noun pattern in snake_case. There are no other tools to introduce inconsistency.
The server has only one tool, which feels thin for a PDF conversion service. While it covers the core conversion task, a slightly richer set (e.g., 3-5 tools) would be more appropriate.
The tool converts PDF to markdown with optional image extraction, but lacks other common operations like text extraction without conversion, page range selection, or batch processing. Significant gaps exist.
Maintenance
Related MCP Connectors
Hosted MCP server: convert PDFs to clean, LLM-ready Markdown with tables, formulas and OCR.
Document-to-Markdown MCP server — convert PDF, Office and HTML into LLM-ready Markdown.
Convert PDF documents to Markdown for AI agents through an authenticated remote MCP server.
Document conversion MCP server: PDF to Markdown, image OCR, spreadsheet parsing.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server that converts PDF files to Markdown format using AI sampling capabilities, supporting both local files and URLs with incremental conversion features.11MIT
- AlicenseNot gradedqualityBmaintenanceMCP server that reads PDFs and exposes them as structured Markdown, metadata, outlines, images, and tables to LLM consumers via tools like pdf_read_markdown and pdf_info.Apache 2.0

pymupdf4llm-mcpofficial
AlicenseNot gradedqualityCmaintenanceMCP server for exporting PDF to markdown, optimized for LLM consumption.620 PyPI73AGPL 3.0- AlicenseNot gradedqualityDmaintenanceMCP server that gives LLMs the power to convert PDFs to Markdown on the fly using a local Ollama vision model.Apache 2.0