TigZig's Markdown-to-PDF is built with FastAPI + ReportLab and is open source. The service takes Markdown text and renders a formatted PDF, returning a URL to the file. It can be called as a plain HTTP API or as an MCP tool, so an AI agent can write a report and get back a PDF in one call.
Reference repositories:
- A focused ReportLab Markdown-to-PDF example: https://github.com/amararun/shared-reportlab-md-to-pdf
- The full API service: https://github.com/amararun/shared-markdown-to-pdf
- The MCP server wrapper: https://github.com/amararun/shared-mcp-markdown-to-pdf
You can try the live tool at https://www.tigzig.com/apis/md-to-pdf.
Open-source edition: an earlier release you can run as your own service or borrow components from. Treat it as a reference implementation rather than a mirror of what is running here - the hosted service has moved on since.
Building something like this? How I work covers the rates, the availability and what I take on.