Skip to main content
Glama

이 패키지는 공식 저장소에 병합되었습니다. 대신 공식 저장소를 사용하세요.

https://github.com/pymupdf/pymupdf4llm-mcp

pymupdf4llm-mcp

풀어 주다 빌드 상태 코드코브 활동 커밋 특허

pymupdf4llm용 MCP 서버는 LLM을 위한 마크다운으로 PDF를 내보내는 데 가장 적합합니다.

빠른 시작

다음 명령을 실행하여 MCP 서버를 실행하세요.

지엑스피1

커서/윈드서프/... 및 기타 MCP 클라이언트를 이 서버에 구성하세요.

{
  "mcpServers": {
    "pymupdf4llm-mcp": {
      "command": "uvx",
      "args": [
        "pymupdf4llm-mcp@latest",
        "stdio"
      ],
      "env": {}
    }
  }
}

Available Tools

1 tool
convert_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.

NameRequiredDescriptionDefault
file_pathYesAbsolute path to the PDF file to convert
image_pathNoOptional. Absolute path to the directory to save the images. If not provided, the images will be saved in the same directory as the PDF file.
save_pathNoOptional. Absolute path to the directory to save the markdown file. If provided, will return the path to the markdown file. If not provided, will return the markdown string.

Output Schema

NameRequiredDescription

No output parameters

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 1 tool update
    • First observedconvert_pdf_to_markdown

TDQS

A4/5.0

Scored across 1 tool

Disambiguation5/5

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.

Naming Consistency5/5

The single tool name follows a consistent verb_noun pattern in snake_case. There are no other tools to introduce inconsistency.

Tool Count3/5

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.

Completeness2/5

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.

Related MCP Connectors

Related MCP Servers