
PolyDoc
Render HTML or URLs to PDF, screenshots and e-invoices from an MCP client
- Pricing
- Freemium
- Platforms
- API, CLI, macOS
- Runs
- Locally
- Version
- 0.1.10
- Listing updated
- 3 days ago
About PolyDoc
PolyDoc is a freemium MCP server for files and documents. It runs locally on your machine and is started by your AI client.
Output can be made to meet archival and accessibility standards: the PDF/A levels 1b, 2b and 3b, and PDF/UA-1 for tagged, screen-reader-friendly files. Both are best effort by default. Setting verify runs veraPDF on the result and fails the request with a 422 instead of returning a non-conforming file.
Content comes from a URL, an inline HTML string or a saved template filled with Liquid data. Files are written to a local folder (POLYDOC_OUTPUT_DIR) and the path is returned. Small screenshots also come back as an inline image. You can instead send results to a presigned cloud-storage URL or a webhook.
The server runs over stdio with npx -y polydoc-mcp (Node.js 20.15 or later) and needs an API key from the PolyDoc dashboard. A sandbox mode produces watermarked output that does not use production quota.
Install
Run in a terminal
claude mcp add polydoc-mcp --env POLYDOC_API_KEY='<POLYDOC_API_KEY>' -- npx -y polydoc-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"polydoc-mcp": {
"command": "npx",
"args": [
"-y",
"polydoc-mcp"
],
"env": {
"POLYDOC_API_KEY": "<POLYDOC_API_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"polydoc-mcp": {
"command": "npx",
"args": [
"-y",
"polydoc-mcp"
],
"env": {
"POLYDOC_API_KEY": "<POLYDOC_API_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"polydoc-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"polydoc-mcp"
],
"env": {
"POLYDOC_API_KEY": "<POLYDOC_API_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"polydoc-mcp": {
"command": "npx",
"args": [
"-y",
"polydoc-mcp"
],
"env": {
"POLYDOC_API_KEY": "<POLYDOC_API_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"polydoc-mcp": {
"command": "npx",
"args": [
"-y",
"polydoc-mcp"
],
"env": {
"POLYDOC_API_KEY": "<POLYDOC_API_KEY>"
}
}
}
}Configuration
POLYDOC_API_KEYAPI key from dashboard.polydoc.tech.RequiredPOLYDOC_SANDBOXDefault sandbox mode (watermarked, does not use production quota). A tool call can override per request. Defaults to false.POLYDOC_BASE_URLOverride for self-hosted or staging use. Defaults to https://api.polydoc.tech.POLYDOC_OUTPUT_DIRDirectory downloads are written to. Defaults to the OS temp dir + /polydoc.
Tools this server provides (4)
Taken from the project documentation; the running server may differ.
- polydoc_html_to_pdf
- Converts HTML, a URL or a saved template to PDF with layout, bookmarks, tagged PDF and PDF/A or PDF/UA options.
- polydoc_screenshot
- Captures HTML, a URL or a template as PNG, JPEG or WebP.
- polydoc_generate_einvoice
- Creates a Factur-X or ZUGFeRD hybrid PDF/A-3 from structured invoice data.
- polydoc_test_credentials
- Checks the configured API key with a minimal sandbox render.
What it does
- HTML and URL to PDF
- Converts HTML, a URL or a saved template to PDF with control over margins, page format, page ranges, bookmarks and tagged output.
- PDF/A and PDF/UA targets
- Aims for archival PDF/A levels and accessible PDF/UA-1, with optional veraPDF verification.
- Factur-X e-invoices
- Builds Factur-X or ZUGFeRD hybrid PDF/A-3 invoices from structured data in basic, en16931 and extended profiles.
- Screenshots
- Captures PNG, JPEG or WebP images with viewport and device-pixel-ratio settings.
- Delivery options
- Saves locally, uploads to a presigned URL or posts to a webhook.
- Sandbox mode
- Test renders are watermarked and do not draw production quota.
Good for
- Generate archival PDF/A copies of web pages
- Produce accessible PDFs for compliance work
- Create Factur-X invoices from invoice data
- Capture screenshots of URLs or HTML during agent workflows
- Fill saved templates with JSON data and render them to PDF
Pricing
Freemium
Free start available; paid plan prices not published
Prices change. Check polydoc.tech before you buy.
PolyDoc FAQ
Does it need an API key?
Yes. POLYDOC_API_KEY, created in the PolyDoc dashboard, is required.
Can I test without using quota?
Yes. Sandbox mode renders with a watermark and does not use production quota; polydoc_test_credentials checks your key with a sandbox render.
Which e-invoice profiles are supported?
Basic, EN 16931 and Extended, as Factur-X or ZUGFeRD hybrid PDF/A-3.
Where do output files go?
To the directory in POLYDOC_OUTPUT_DIR, which defaults to a polydoc folder in the OS temp directory. Output never escapes that folder.
Is PolyDoc free?
PolyDoc has a free plan, with paid plans for more usage or features.
How do I add PolyDoc to Claude Code?
Run this command in your terminal: claude mcp add polydoc-mcp --env POLYDOC_API_KEY='<POLYDOC_API_KEY>' -- npx -y polydoc-mcp
What are the best alternatives to PolyDoc?
The closest alternatives to PolyDoc are ASTra, CARTESIAN ECU, Invoices, SigPen and ConvertAudioToText.
Alternatives to PolyDoc

ASTra
MCP serverLet agents read, edit, validate and undo Word .docx files with exact operations
Runs locally- 5 tools
- Freemium
- Files and documents

CARTESIAN ECU
MCP serverCheck and repair ECU and TCU flash-file checksums from Claude (Ultimate plan)
Not checked yet- 5 tools
- Remote
- Paid
- Files and documents
Invoices
MCP serverMCP server that reads supplier invoices and returns data plus DATEV, CSV or Excel files
- 4 tools
- Remote
- Paid
- Files and documents

SigPen
MCP serverMCP server that drafts e-signature documents while you approve every send
Not checked yet- 13 tools
- Remote
- Freemium
- Files and documents

ConvertAudioToText
MCP serverTranscribe audio and video links from Claude or ChatGPT and read the results
Not checked yet- 5 tools
- Remote
- Freemium
- Design and media

WhoScribe
MCP serverSearch and read your WhoScribe audio and video transcripts from ChatGPT, read-only
Not checked yet- Remote
- Freemium
- Design and media