# PaperType

> PaperType is a freemium MCP server for files and documents. Render Markdown, HTML or invoice, certificate and report templates to PDF files. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, CLI
- **Website:** https://papertype.dev/docs
- **MCP Registry name:** dev.papertype/papertype-mcp
- **Categories:** files and documents
- **Listing updated:** 2026-11-16

## About

PaperType is a single-endpoint API: JSON goes in and a PDF comes out. The MCP server wraps it for local use, saving rendered PDFs to a folder you choose, which defaults to a papertype directory in the system temp folder. It needs a PaperType API key in PAPERTYPE_API_KEY and runs with npx.

Input can be HTML, Markdown with tables, fenced code, footnotes and admonitions, or a hosted template (invoice, certificate or report) filled with JSON data. Themes include clean, report, minimal and letter, with options for page size (A4, Letter, Legal, A5), cover page, table of contents, page numbers, headers and footers, and extra CSS with @page rules. Output can also be a link that stays live for 24 hours.

The renderer is offline by design: it never fetches external URLs, so images must be inlined as data URIs, and it uses WeasyPrint's paged-media engine with no JavaScript. Limits are 2 MB of source and 300 pages per document. The Free plan gives 50 documents a month with a small footer mark; Starter gives 500, Pro 3,000 and Scale 15,000. The clients are MIT licensed.

## Features

- **Markdown and HTML to PDF:** Render either input with themes and custom CSS.
- **Hosted templates:** Fill invoice, certificate or report templates with JSON.
- **Page controls:** Choose page size, cover, table of contents, header and footer.
- **Local file output:** Saves PDFs to a configurable output folder.
- **Link output:** Optionally returns a download URL kept for 24 hours.
- **Offline renderer:** Never fetches external URLs; assets are inlined.

## Good for

- Turn a README into a PDF
- Generate invoices from JSON data
- Produce certificates for a list of people
- Create a report with cover and table of contents

## Install

### Claude Code (Terminal)

```sh
claude mcp add papertype-mcp --env PAPERTYPE_API_KEY='<PAPERTYPE_API_KEY>' -- npx -y papertype-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "papertype-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "papertype-mcp"
      ],
      "env": {
        "PAPERTYPE_API_KEY": "<PAPERTYPE_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "papertype-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "papertype-mcp"
      ],
      "env": {
        "PAPERTYPE_API_KEY": "<PAPERTYPE_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "papertype-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "papertype-mcp"
      ],
      "env": {
        "PAPERTYPE_API_KEY": "<PAPERTYPE_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "papertype-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "papertype-mcp"
      ],
      "env": {
        "PAPERTYPE_API_KEY": "<PAPERTYPE_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "papertype-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "papertype-mcp"
      ],
      "env": {
        "PAPERTYPE_API_KEY": "<PAPERTYPE_API_KEY>"
      }
    }
  }
}
```

## FAQ

### Do I need an API key?

Yes, set PAPERTYPE_API_KEY with a key from papertype.dev.

### Can it load images from URLs?

No, external URLs are never fetched; use data URIs.

### What are the size limits?

2 MB of source and 300 pages per document.

### What does the free plan include?

50 documents a month with a small footer mark.

### Is PaperType free?

PaperType has a free plan, with paid plans for more usage or features.

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

Run this command in your terminal: claude mcp add papertype-mcp --env PAPERTYPE_API_KEY='<PAPERTYPE_API_KEY>' -- npx -y papertype-mcp

### What are the best alternatives to PaperType?

The closest alternatives to PaperType are ASTra, CARTESIAN ECU, Invoices, SigPen and ConvertAudioToText.

## Alternatives

- [ASTra](https://ai-powered.com/mcp/astra): ASTra is a freemium MCP server for files and documents.
- [CARTESIAN ECU](https://ai-powered.com/mcp/cartesian-ecu): CARTESIAN ECU is a paid MCP server for files and documents.
- [Invoices](https://ai-powered.com/mcp/invoices): Invoices is a paid MCP server for files and documents.
- [SigPen](https://ai-powered.com/mcp/sigpen): SigPen is a freemium MCP server for files and documents.
- [ConvertAudioToText](https://ai-powered.com/mcp/convertaudiototext): ConvertAudioToText is a freemium MCP server for design and media.
- [WhoScribe](https://ai-powered.com/mcp/whoscribe): WhoScribe is a freemium MCP server for design and media.
- [filex](https://ai-powered.com/mcp/filex): filex is an open-source MCP server for files and documents.
- [DocJacket](https://ai-powered.com/mcp/docjacket): DocJacket is a freemium MCP server for productivity.

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