Markdown to PDF MCP Server avatar

Markdown to PDF MCP Server

Pricing

from $50.00 / 1,000 markdown to pdf conversions

Go to Apify Store
Markdown to PDF MCP Server

Markdown to PDF MCP Server

Convert Markdown text or files to PDF documents via an MCP server. Supports custom styling, page sizes, and headers. No external dependencies.

Pricing

from $50.00 / 1,000 markdown to pdf conversions

Rating

5.0

(2)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

7

Total users

0

Monthly active users

11 days ago

Last modified

Share

ParseForge

Markdown to PDF MCP Server

Convert Markdown files to PDFs via an MCP server, ready for AI workflows and document sharing. Every PDF is generated from clean Markdown input, with no formatting loss. Export to PDF directly from your MCP client. No API key needed.

Markdown is great for writing, but sharing often requires PDF. This MCP server takes any Markdown input and returns a polished PDF file, preserving headers, lists, code blocks, and tables. It runs as a local or remote MCP tool, so you can integrate it into your AI agent, CLI, or automation pipeline without extra steps.

Who uses itWhat they scrape Markdown to PDF MCP Server for
AI developersGenerate PDF reports from LLM outputs in Markdown format.
Documentation writersConvert Markdown docs to PDF for distribution or printing.
Automation engineersIntegrate Markdown-to-PDF conversion into CI/CD or data pipelines.

What it does

This MCP server converts Markdown text or files into PDF documents, returning each PDF as a downloadable file.

  • ๐Ÿ“„ Direct Markdown input: Pass Markdown text as a string and get a PDF back.
  • ๐Ÿ“ File conversion: Point to a Markdown file path and receive the PDF output.
  • ๐Ÿ”ง Custom styling: Optionally set page size, margins, and CSS for the PDF.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

What you can do with Markdown to PDF MCP Server data

๐Ÿค– Generate PDF reports from AI conversations.

An AI developer uses the MCP server to convert a chat thread's Markdown summary into a PDF report for stakeholders.

๐Ÿ“š Convert documentation to PDF for offline reading.

A technical writer runs the server to turn a Markdown manual into a PDF for distribution to users who prefer print.

โš™๏ธ Automate PDF generation in CI/CD pipelines.

An automation engineer integrates the MCP server into a GitHub Action to produce PDF release notes from Markdown changelogs.

Why choose this scraper

What you get
Clean outputPDF preserves Markdown formatting exactly.
MCP nativeWorks with any MCP client (Claude, Cursor, custom).
No dependenciesNo external API or account needed.

How it compares

This MCP server focuses solely on Markdown-to-PDF conversion, while competitors offer broader document conversion or web scraping.

FeatureParseForgeThesis Literature Review ScraperAI Markdown MakerDoc To Markdown MCP Server
Markdown to PDF conversionYesNot listedNot listedNot listed
MCP protocol supportYesNot listedNot listedYes
Custom CSS stylingYesNot listedNot listedNot listed
Local/offline operationYesNot listedNot listedYes
Batch conversionNot listedNot listedNot listedNot listed

Configure the run

Configure the run by providing Markdown content or a file path, and optionally adjust PDF layout settings like page size and margins. The Input tab lists every parameter.

Pricing

Pay-per-result: $0.06 per result collected. You pay only for the results written to your dataset.

Results collectedApproximate cost
100 results$6.00
1,000 results$60.00
10,000 results$600.00

New Apify accounts start with $5 in free credit.

Free users

Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.

Run it

  1. Create a free Apify account with $5 in credit.
  2. Open the Markdown to PDF MCP Server.
  3. Set your inputs and any filters, then click Start.
  4. Export the results as CSV, Excel, JSON, or XML from the Dataset tab.

Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.

Use with AI agents (MCP)

Give an AI agent live access to Markdown to PDF MCP Server through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

$claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/markdown-to-pdf-mcp"

Then prompt it in plain language to run the scraper and read back the results.

Troubleshooting

The PDF looks different from my Markdown preview.

Check that your Markdown uses standard syntax. Custom CSS can override default styling. Also ensure images are accessible at the paths you provide.

The server won't start.

Verify you have the required runtime (Node.js or Python) installed. Check that the port is not already in use. See the installation guide in the README.

Images are not showing in the PDF.

Make sure image paths are absolute or relative to the working directory. URLs must be publicly accessible or on a local network the server can reach.

The PDF is blank.

Ensure you provided valid Markdown content. Empty or whitespace-only input produces a blank page. Try a simple test like '# Hello'.

Error: 'MCP protocol not supported'

Your client may not support the MCP protocol version used. Update your client or use a compatible one like Claude Desktop or Cursor.

FAQ

QuestionAnswer
What Markdown features are supported?Standard Markdown including headers, lists, code blocks, tables, links, images, and bold/italic text. Custom CSS can extend styling.
Can I use this with Claude or other AI assistants?Yes, it works as an MCP server, so any MCP-compatible client like Claude Desktop, Cursor, or custom apps can call it.
Do I need an API key or internet connection?No. The server runs locally or on your own infrastructure. No external services are required.
What PDF page sizes are available?You can set page size to A4, Letter, Legal, or custom dimensions via the input schema.
Can I add headers and footers to the PDF?Yes, you can specify custom headers and footers using HTML or CSS in the input.
Is there a limit on Markdown file size?No hard limit, but very large files may take longer to convert. The server handles typical documents up to hundreds of pages.
Does it support images in Markdown?Yes, local image paths and URLs are rendered in the PDF.
Can I convert multiple Markdown files at once?The current version processes one file or text input per run. You can batch them by calling the server multiple times.
What output format does the server return?It returns a PDF file as a binary stream or base64-encoded data, depending on your MCP client.
How do I install and run the server?Install via npm or pip (depending on the package), then run the server command. Full instructions are in the README.

Browse the full ParseForge collection for more scrapers.

๐Ÿ†˜ Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.

โš ๏ธ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by ParseForge. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.