Skip to main content
Glama
README.md
# 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](https://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.

<img src="https://raw.githubusercontent.com/Serendipity-AI/markdown2pdf-python/refs/heads/master/images/examples.png" />

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](https://markdown2pdf.ai/mcp).

## Quickstart

Just drop the following into your Claude Desktop configuration file.

```json
"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`

TDQS

B3.1/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of ambiguity or overlap between tools, as there are no other tools to compare it to. The tool's purpose is clearly defined and distinct by default.

Naming Consistency5/5

Since there is only one tool, naming consistency is inherently perfect; there are no other tool names to compare it against, so no inconsistencies can exist. The tool name 'markdown2pdf' is straightforward and descriptive.

Tool Count2/5

A single tool is too few for most server purposes, as it limits functionality and suggests an incomplete or overly narrow scope. While the tool is specific to markdown-to-PDF conversion, the server lacks supporting tools for related tasks like previewing, customizing output, or handling errors.

Completeness2/5

The server is severely incomplete for a markdown-to-PDF domain, as it only provides conversion without essential operations like configuration (e.g., setting page size, fonts), validation, or error handling. This minimal surface will likely cause agent failures when more complex workflows are needed.

Maintenance

ActivityMaintained
ResponsivenessNo issues