# Markdown to PDF

> Use this tool when you need to convert Markdown text to professional PDF documents, particularly in scenarios requiring pay-per-use document conversion services, such as content creation or documentation workflows. It solves the problem of generating high-quality PDFs from markdown content while integrating micropayment capabilities through the Lightning Network. The tool accepts markdown content and metadata as input and returns a downloadable PDF URL as output, making it ideal for applications that require flexible and secure document conversion services.

Canonical page: https://skillsregistry.net/skills/serendipity-ai-markdown2pdf  
JSON: https://api.skillsregistry.net/v1/skills/serendipity-ai-markdown2pdf

## Description

This MCP server converts Markdown text to PDF documents using a Lightning Network payment system, built by Serendipity AI as a TypeScript implementation that integrates with their intelligence API. The server accepts markdown content and document metadata, handles the payment flow by presenting Lightning payment requests with QR codes when a 402 payment required response is received, then polls the conversion service until completion and returns a downloadable PDF URL. It's designed for use cases where users need professional PDF generation from markdown content while demonstrating micropayment integration through Bitcoin's Lightning Network, making it valuable for content creators, documentation workflows, or applications requiring pay-per-use document conversion services.

## Trust

- **Trust score (0–1):** 0.98
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** finance
- **Updated:** 2026-09-28

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/serendipity-ai-markdown2pdf)
- **Repository:** <https://github.com/serendipity-ai/markdown2pdf-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "serendipity-ai-markdown2pdf"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/serendipity-ai-markdown2pdf` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/serendipity-ai-markdown2pdf/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
