MD-PDF MCP Server
About
A server for converting Markdown files to PDF format. Requires pandoc and weasyprint.
Details
- Author
- kareemaly
- Categories
- Productivity, Other
Jump to
Setup
Install MD-PDF MCP Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/kareemaly/md-pdf-mcp
Follow the installation instructions in the repository README, then restart your MCP client.
A server for converting Markdown files to PDF format. Requires pandoc and weasyprint.
A Model Context Protocol (MCP) server for converting between Markdown and PDF formats.
- macOS 14.3.0 (Darwin 23.3.0, ARM64)
- Python 3.13.0
- uv 0.7.13
- pandoc 3.6.2
- Convert Markdown content/files to PDF with size options (small, medium, large)
- Convert PDF files to Markdown format
- Extract text from specific PDF pages
- Retrieve PDF metadata
- convert_markdown_to_pdf(markdown_content, output_filename, size, pdf_engine)
- convert_markdown_file_to_pdf(markdown_file_path, output_filename, size, pdf_engine)
- convert_pdf_to_markdown(pdf_file_path, output_filename)
- extract_text_from_pdf(pdf_file_path, page_numbers)
- get_pdf_info(pdf_file_path)
# Install dependencies curl -LsSf https://astral.sh/uv/install.sh | sh brew install pandoc weasyprint # Setup project uv sync
{ "mcpServers": { "md-pdf": { "command": "uv", "args": [ "--directory", "/absolute/path/to/md-pdf", "run", "main.py" ] } } }
{ "servers": { "md-pdf": { "command": "uv", "args": ["run", "main.py"], "cwd": "/absolute/path/to/md-pdf" } } }
- s: 8pt font, 0.35in margins (compact)
- m: 9pt font, 0.5in margins (standard)
- l: 11pt font, 1in margins (detailed)
md-pdf/ ├── data/ # Test files ├── tools/ # MCP tool definitions ├── utils/ # Conversion utilities ├── main.py # Server entry point └── server.py # MCP server instance
Universal document generation and conversion MCP. Generate PDF/DOCX/XLSX from templates+JSON (invoices, contracts, reports), batch generation, 100+ format conversions.
A server for reading and converting documents between PDF, DOCX, and Markdown formats using marker-pdf and pandoc.
Convert, compress, merge and OCR PDFs and 100+ file formats from any AI agent — 126 tools via the GuruPDF API.
Converts various file types and web content, such as PDFs, images, audio, and web pages, into Markdown format.
Convert Markdown files to high-quality, print-ready PDFs using LaTeX.
A high-performance PDF to Markdown conversion service powered by MinerU API, supporting batch processing for local files and URLs.
Converts Markdown to styled PDFs using VS Code's markdown styling and Python's ReportLab.
Privacy-first PDF to Markdown/JSON converter for AI Agents. Optimized for complex B2B invoices (E-Fatura) and tables. Features native Turkish character correction and local-first WASM parsing.
Hosted MCP server that converts PDFs into clean, LLM-ready Markdown with tables, formulas (LaTeX) and OCR. Own engines (MinerU + Docling), not an LLM wrapper.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




