Skip to main content
Glama

PDFPipe libraries

Official open-source client libraries for PDFPipe — the document API. HTML or a URL in, pixel-perfect PDF out.

Library

Install

Registry

sdk-js — Node.js / edge SDK

npm install pdfpipe-node

npm

sdk-python — Python SDK

pip install pdfpipe-python

PyPI

mcp — MCP server for AI agents

npx pdfpipe-mcp-server

npm

The n8n community node lives in its own repo: Johin2/n8n-nodes-pdfpipe.

Quick start

import { PDFPipe } from "pdfpipe-node";

const pdfpipe = new PDFPipe({ apiKey: process.env.PDFPIPE_API_KEY });
const pdf = await pdfpipe.fromHtml("<h1>Invoice #4012</h1>", { format: "A4" });
await pdf.toFile("invoice.pdf");
from pdfpipe import PDFPipe

pdfpipe = PDFPipe(api_key="pp_live_...")
pdf = pdfpipe.from_html("<h1>Invoice #4012</h1>", {"format": "A4"})
open("invoice.pdf", "wb").write(pdf)

Get an API key at pdfpipe.xyz. Docs: pdfpipe.xyz/docs.

Related MCP server: rendoc

License

MIT — see LICENSE. Issues and PRs welcome.

Related MCP Connectors

Related MCP Servers