# md2pdf

> md2pdf is a free MCP server for files and documents. Free markdown to PDF converter with signature lines, no account needed, for writers and AI. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** Web, API, CLI
- **Website:** https://md2pdf.free
- **Repository:** https://github.com/steamdiesel/md2pdf-claude-plugin
- **MCP Registry name:** free.md2pdf/md2pdf
- **Categories:** [files and documents](https://ai-powered.com/categories/files-and-documents)
- **Listing updated:** 2026-11-19

## About

The README says md2pdf is a browser editor and HTTP API that turns markdown into a PDF without sign-up or a key. Output comes in three document styles, and a live preview shows the result before download. Documents are converted in memory and discarded, while templates stay in the user's own browser.

Signature lines are written inline as a bracketed signature tag, and they render as signature blocks matching the sister service md2sign. A PDF with a signature line is a document ready to be signed by hand or electronically; collecting legally binding e-signatures with an audit trail is done by sending it through md2sign.

The site is aimed at people drafting contracts, quotes and consent forms, and at developers and AI agents who need a PDF from markdown. An MCP endpoint and REST API are offered with rate limits of 10 PDFs per minute per IP address.

## Features

- **Live markdown preview:** Shows the rendered document as you type before you download the PDF.
- **Inline signature lines:** A bracketed tag inside the markdown produces a signature block in the PDF.
- **Three document styles:** Classic, Modern and Formal layouts, matching the styles used by md2sign.
- **No stored documents:** Markdown is converted in memory and discarded; templates are saved only in the browser.
- **REST and MCP access:** A POST endpoint returns a PDF, and an MCP server exposes conversion tools to AI clients.

## Good for

- Drafting a contract or quote and downloading it as a PDF
- Preparing a consent form with a signature line before sending it for e-signature
- Letting Claude Code generate a PDF from notes saved to disk
- Converting markdown reports to PDF from a script via the REST API

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http md2pdf https://md2pdf.free/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://md2pdf.free/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "md2pdf": {
      "url": "https://md2pdf.free/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "md2pdf": {
      "type": "http",
      "url": "https://md2pdf.free/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "md2pdf": {
      "serverUrl": "https://md2pdf.free/mcp"
    }
  }
}
```

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://md2pdf.free/mcp
```

Enter a Name (for example "md2pdf"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "md2pdf": {
      "type": "http",
      "url": "https://md2pdf.free/mcp"
    }
  }
}
```

## Tools

3 of 4 tools say they're read-only. 1 of 4 tools says it can delete or change data. From the server's own tool annotations; not verified by us.

- `get_markdown_spec` (says read-only): The full markdown format md2pdf accepts: markdown features, signature lines, fill-in fields, styles and limits.
- `validate_markdown` (says read-only): Check markdown before making the PDF. Returns the title (which names the file), style, signature lines and signers found, whether a PDF can be made, and, separately, any problems md2sign would raise if the document were sent for e-signature, with line numbers.
- `render_pdf` (says read-only): Render markdown as an A4 PDF. The PDF comes back inside this result as an embedded application/pdf resource (base64); nothing is stored and there is no download link. If you can run shell commands, save the file directly instead: curl -sS -X POST https://md2pdf.free/api/pdf -H "Content-Type: text/markdown" --data-binary @document.md -o document.pdf
- `send_for_signature` (says it can change data): Get a document e-signed instead of printed. Nothing is sent to anyone: this hands the markdown to md2sign (same company) and returns a link your human opens to sign up or log in, where the document waits as a draft ready to send. The link works once and expires after 24 hours; md2sign keeps the document until then. Also returns how to connect md2sign's own MCP server so you can send it directly. U

## FAQ

### Is it really free?

The site says yes: no watermark, no page limit, and no account. It is run by md2sign, which is the service it promotes.

### Do you keep my documents?

The site says markdown is sent to the server only to draw the preview and PDF, in memory, and discarded after the response. Templates are kept in the user's own browser.

### What markdown is supported?

Headings, bold, italic, lists, task lists, tables, quotes, code, links and dividers in GitHub-flavoured markdown. Raw HTML is removed, and images appear only when embedded as data URIs.

### Is a PDF with a signature line legally signed?

No. The site says it is a document ready to be signed; legally binding e-signatures with an audit trail require sending it through md2sign.

### Is md2pdf free?

Yes. md2pdf is free to use.

### How do I add md2pdf to Claude Code?

Run this command in your terminal: claude mcp add --transport http md2pdf https://md2pdf.free/mcp

### What are the best alternatives to md2pdf?

The closest alternatives to md2pdf are PDF to Markdown, md2sign, Markdown Logic Express, PDF to Markdown and file2markdown.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 19 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [PDF to Markdown](https://ai-powered.com/mcp/pdf-to-markdown): PDF to Markdown is a freemium MCP server for files and documents.
- [md2sign](https://ai-powered.com/mcp/md2sign): md2sign is a freemium MCP server for files and documents.
- [Markdown Logic Express](https://ai-powered.com/mcp/markdown-logic-express): Markdown Logic Express is a free MCP server for files and documents.
- [PDF to Markdown](https://ai-powered.com/mcp/pdf-to-markdown-2): PDF to Markdown is a freemium MCP server for files and documents.
- [file2markdown](https://ai-powered.com/mcp/file2markdown): file2markdown is a freemium MCP server for files and documents.
- [mdshare](https://ai-powered.com/mcp/mdshare): mdshare is a free MCP server for files and documents.
- [Md Business](https://ai-powered.com/mcp/md-business): Md Business is an open-source MCP server for files and documents.
- [doc2md-lite](https://ai-powered.com/mcp/doc2md-lite): doc2md-lite is an open-source MCP server for files and documents.

---
Source: https://ai-powered.com/mcp/md2pdf
