Professional letterhead PDF generator for macOS with Markdown support and smart margin detection
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Turn any Markdown file into a professionally-branded PDF on your company's letterhead β with no manual formatting. Mac-letterhead treats your letterhead PDF as digital stationery: it prints your Markdown into the safe area of the page (never overlapping your header, footer, or logo) and applies your brand's typography from a small CSS file.
Runs entirely on your Mac. Same engine as a drag-and-drop droplet, a command-line tool, or a Model Context Protocol server that Claude and other AI clients can call directly.
You have a company letterhead β a PDF with your logo at the top, contact info at the bottom, maybe a subtle watermark. You have documents to write, and they need to be on that letterhead: proposals, reports, invoices, memos.
The traditional options are all painful: Word templates that never quite line up, copy-paste-adjust cycles into a designer's InDesign file, or manually placing text over the letterhead in a PDF editor. Or just giving up and sending unbranded.
Mac-letterhead does the whole thing automatically. It analyzes your letterhead PDF to find the safe printable area (the space around the header, footer, and logo), renders your Markdown into that area with your brand's typography (fonts and colors from a tiny CSS file), and hands you a finished PDF. Multi-page letterhead? First-page vs subsequent pages? Handled.
The same tool ships as three interfaces β a Mac drag-and-drop app (for you), a command-line utility (for scripting), and an MCP server (so Claude and other AI clients can produce your branded documents on request).
Pick one:
Homebrew (recommended for everyday Mac use):
uvx (no permanent install; uses uv's ephemeral env):
Claude Desktop (double-click install):
Download the latest mac-letterhead-<version>.mcpb from the releases page and double-click it β Claude for macOS handles the rest.
For the best rendering quality (full CSS support via WeasyPrint), install the WeasyPrint system libraries once:
Without them, Mac-letterhead falls back to ReportLab automatically β simpler output, no external deps, everything still works.
Put your letterhead somewhere Mac-letterhead can find it. The default convention is ~/.letterhead/<name>.pdf:
(Optional, but strongly recommended) Add typography. Create ~/.letterhead/company.css with your brand's fonts and colors:
Skip this and Mac-letterhead uses a clean default.
Create the droplet on your Desktop:
A company.app appears on your Desktop.
Drop any .md or .pdf file onto the droplet. Choose where to save. You get a letterheaded PDF.
That's it. Every subsequent document is one drop.
Same engine, three interfaces.
Best for human workflows on a Mac. One-time setup, then every future document is a drag onto a Desktop icon.
Each droplet is a full macOS .app bundle you can drag around, put in the Dock, or Automator-chain. Dropping a file on it opens a save dialog for the output location.
Double-click the droplet (without dropping anything) to see the safe-area preview for that droplet's letterhead β cut marks, colour-coded tint, source label, all in one PDF that opens in your default viewer. Handy for verifying "will Markdown land where I expect it" before committing to a merge.
Best for scripting, CI, or one-shot conversions. No droplet needed.
Full reference: mac-letterhead --help.
Best when you want Claude, Claude Code, Cursor, Windsurf, or another AI assistant to produce branded documents on demand.
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
Then in Claude: "Draft a Q3 investor update on our company letterhead." Mac-letterhead handles the formatting; the PDF lands in ~/Desktop.
Published on the official MCP Registry as io.github.easytocloud/mac-letterhead β visible on Glama and PulseMCP. For full MCP configuration (style-specific servers, multiple brands from one client), see README_MCP.md.
Mac-letterhead needs to know where on your letterhead is safe to print content β the space between the header, footer, and any logos. It figures this out in three tiers:
safe-area (or printable-area β case-insensitive, substring match). Then multiple rectangles per page work too β only the labeled one is used.Preview the resolution any time:
Colour code in the preview PDF β glance to see how confident the tool is:
| Colour | Source | What it means |
|---|---|---|
| Green | annotation | You marked it. Trusted verbatim. |
| Slate blue | auto-detected | Heuristic derived it from the letterhead layout. |
| Amber | fallback default | No content detected. Consider marking it. |
Cut marks at each corner give print-native precision; a very subtle tint fills the region for gestalt. A tiny label at the bottom-left tells you which source drove the result and the safe area's exact dimensions.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mac-letterhead)<a href="https://allmcps.com/mcp/mac-letterhead"><img src="https://allmcps.com/api/badge/mac-letterhead?style=directory" alt="Mac Letterhead on AllMCPs" /></a>