Skip to content
gentic.news — AI News Intelligence Platform
Connecting to the Living Graph…

Listen to today's AI briefing

Daily podcast — 5 min, AI-narrated summary of top stories

Developer using Claude Code to generate a branded PDF document via PaperQuire's MCP server interface on a laptop screen
Open SourceScore: 50

Generate Branded PDFs Directly from Claude Code with PaperQuire v0.3.0's

PaperQuire v0.3.0's MCP server lets Claude Code render Markdown to branded PDFs. Add `paperquire mcp-server` to `.mcp.json` and ask for a PDF.

·22h ago·3 min read··2 views·AI-Generated·Report error
Share:
Source: dev.tovia devto_mcpSingle Source
How do I generate branded PDFs from Markdown using Claude Code with PaperQuire's MCP server?

Install PaperQuire v0.3.0, add its MCP server to your project's `.mcp.json` with `paperquire mcp-server`, then ask Claude Code to render Markdown as a PDF. It exposes 4 tools: `render`, `list_templates`, `show_template`, and `batch_render` (Pro).

TL;DR

PaperQuire v0.3.0 adds an MCP server so Claude Code can render Markdown to branded PDFs in one command.

What Changed — PaperQuire v0.3.0 Adds an MCP Server for PDF Generation

PaperQuire v0.3.0, released recently, introduces a built-in Model Context Protocol (MCP) server. This means any MCP-compatible AI agent — including Claude Code — can now generate polished, branded PDFs from Markdown without leaving your terminal.

Previously, if you wanted Claude Code to produce a PDF, you'd get Markdown output and then manually copy it into a tool like Pandoc or a word processor. That workflow is gone. PaperQuire's MCP server exposes four tools that Claude Code can call directly:

  • render — Convert Markdown to PDF with full template and branding support
  • list_templates — Discover all 8 built-in templates
  • show_template — Inspect a template's design tokens, cover style, and page config
  • batch_render — Render multiple documents in one call (Pro feature)

The server also exposes a paperquire://config resource that returns your project's .paperquire.yml configuration, so Claude Code can discover your preferred template and branding before rendering.

What It Means For You — No More Manual PDF Export

If you generate reports, specs, or documentation with Claude Code, this MCP server eliminates the final manual step. You can now ask Claude Code to:

  • "Write a project status report for Q2 and render it as a branded PDF."
  • "What templates does PaperQuire have? Show me the technical design template, then use it to render my spec."
  • "Render all the markdown files in my docs/ folder as PDFs with the corporate template."

Claude Code generates the content, calls PaperQuire's MCP tools, and reports back with the file path. No copy-paste, no formatting fiddling.

Under the hood, PaperQuire reuses its Electron-based Chromium render pipeline, so MCP-rendered PDFs are identical to what you'd get from the GUI or CLI. The MCP server keeps a long-running renderer alive — the first render takes a few seconds, but subsequent ones are fast.

Try It Now — Setup in Your Claude Code Project

  1. Install PaperQuire (if you haven't already):

    brew install --cask paperquire/paperquire/paperquire
    

    Or download v0.3.0 from the releases page.

  2. Add the MCP server to your project's .mcp.json:

    {
      "mcpServers": {
        "paperquire": {
          "command": "paperquire",
          "args": ["mcp-server"]
        }
      }
    }
    
  3. Restart Claude Code and verify the tools appear in the MCP panel.

  4. Ask Claude Code to render something:

    Claude, write a brief project update and render it as a PDF using PaperQuire's default template.
    

Important: PaperQuire's free tier allows 3 renders per day. Upgrade to Pro for unlimited renders and batch export.

Architecture Notes for Power Users

  • Stdout isolation: PaperQuire suppresses Chromium's startup noise on stdout so it doesn't interfere with the JSON-RPC protocol.
  • Render lock: The Chromium renderer is single-threaded, so concurrent tool calls are serialized with a Promise-based mutex. This shouldn't affect most workflows, but be aware if you're batching many renders.

For full configuration and tool reference, see the MCP setup guide.


Source: dev.to

Source: gentic.news · · author= · citation.json

AI-assisted reporting. Generated by gentic.news from multiple verified sources, fact-checked against the Living Graph of 4,300+ entities. Edited by Ala SMITH.

Following this story?

Get a weekly digest with AI predictions, trends, and analysis — free.

AI Analysis

Claude Code users should immediately add PaperQuire's MCP server to their `.mcp.json` if they produce any kind of documentation, reports, or specs. The key workflow change is: instead of asking Claude Code to write Markdown and then manually exporting, you can now ask for a PDF directly in a single prompt. To get the most out of this, configure a `.paperquire.yml` file in your project with your preferred template and branding. That way, Claude Code can auto-discover your settings via the `paperquire://config` resource and render documents consistently without you specifying details each time. For teams, consider using the `batch_render` tool (Pro) to render all Markdown files in a `docs/` folder as PDFs in one call — useful for generating documentation sets or client deliverables.
Compare side-by-side
Claude Code vs PaperQuire

Mentioned in this article

Enjoyed this article?
Share:

AI Toolslive

Five one-click lenses on this article. Cached for 24h.

Pick a tool above to generate an instant lens on this article.

Related Articles

From the lab

The framework underneath this story

Every article on this site sits on top of one engine and one framework — both built by the lab.

More in Open Source

View all