Skip to content

kedin-pdf v2.0.0

Latest

Choose a tag to compare

@penny-processor penny-processor released this 14 Aug 16:46
· 1 commit to main since this release

kedin-pdf v2.0.0

First public release. Creates multi-page PDFs from a list of images, exposed as an MCP (Model Context Protocol) server for Claude Code, Claude Desktop, and other MCP clients, plus a plain Node.js library.

What it does

Given a list of local image files, generates a single PDF with one image per page, scaled to fit the page while preserving aspect ratio.

Supported page formats

Format Description
640x800 4:5 portrait, larger (default)
480x600 4:5 portrait, smaller

MCP tools

  • list_pdf_formats — lists the supported page formats.
  • create_pdf{ imagePaths: string[], outputPath: string, format?: "640x800" | "480x600" }.

Quick start

Claude Code:

claude mcp add kedin-pdf -- npx -y kedin-pdf-mcp

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "kedin-pdf": {
      "command": "npx",
      "args": ["-y", "kedin-pdf-mcp"]
    }
  }
}

As a library:

npm install kedin-pdf
import { createPdfFromImages } from "kedin-pdf";

await createPdfFromImages(
  ["./page1.jpg", "./page2.png"],
  "./carousel.pdf",
  { format: "480x600" }
);

Full setup instructions (Claude Code, Claude Desktop, other MCP clients, and local development) are in the README.

Notes