
Markdown to PDF
β 10from Serendipity-AI
Convert Markdown files to high-quality, print-ready PDFs using LaTeX.
markdown2pdf-mcp
β‘ Markdown to PDF conversion, for agents. β‘
Agents speak Markdown. Humans prefer PDF. We bridge the gap for the final stage of your agentic workflow. No sign-ups, no credit cards, just sats for bytes.
Read the full documentation at markdown2pdf.ai
Hereβs the output of a markdown file converted to PDF format, showing cover page, table of contents and table support. Our engine is powered by LaTeX rather than HTML to PDF conversion as many other libraries and services use, which results in a much higher quality, print-ready output.
This package provides MCP server support for clients such as Claude Desktop. You can read full instructions on how to configure Claude in our documentation.
Quickstart
Just drop the following into your Claude Desktop configuration file.
"mcpServers": {
"markdown2pdf": {
"command":"npx",
"args": ["@serendipityai/markdown2pdf-mcp"],
"cwd": "~"
}
}Once you've done that, try asking Claude:
Generate some lorem ipsum in markdown format and then make a PDF out of it
No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.
Licensed under MITβ you can use, modify, and redistribute it under that license's terms.
View the full license file on GitHub β