DocRaptor

DocRaptor MCP Connector for Claude

A+

Convert HTML to professional PDFs and Excel spreadsheets using the high-quality Prince XML engine.

4 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Connect DocRaptor to your AI agent to transform HTML content or URLs into professional-grade PDFs and Excel documents. Powered by the Prince XML engine, it provides the most accurate CSS-to-PDF rendering available.

What you can do

  • Document Creation — Generate PDFs, XLS, or XLSX files directly from HTML strings or public URLs using create_document.
  • Asynchronous Processing — Handle large documents in the background by setting the async flag and monitoring progress with get_document_status.
  • Hosted Documents — Create publicly accessible, temporary download links for your generated files without managing your own storage.
  • Advanced Styling — Leverage full Prince XML support for headers, footers, page numbers, and complex CSS layouts.
  • Management & Security — List previously generated documents and retrieve DocRaptor's IP addresses for secure asset fetching.

How it works

  1. Subscribe to this server
  2. Enter your DocRaptor API Key
  3. Start generating high-fidelity documents from Claude, Cursor, or any MCP-compatible client

Who is this for?

  • Developers — Automate the creation of invoices, reports, and certificates directly from your coding environment.
  • Data Analysts — Export complex data visualizations or tables into perfectly formatted Excel spreadsheets.
  • Operations Teams — Convert web-based dashboards or internal tools into shareable PDF reports with a single prompt.
pdf-generationexcel-exporthtml-to-pdfprincexmldocument-automation

4 tools expose this connector's capabilities to your AI agent.

create_document

Use async=true or hosted=true to avoid large binary responses in the tool output. Create a PDF or Excel document from HTML

get_document_status

Check the status of an asynchronous document generation

list_documents

List previously generated documents

list_ips

List IP addresses used by DocRaptor

See how to talk to your AI agent using DocRaptor.

Create a test PDF document from the URL https://example.com and make it hosted.

I've initiated the document creation. Since it's a test, it will have a watermark. You can download your hosted PDF here: https://docraptor.com/download/example-link

Check the status of my async document with ID 'status_12345'.

The document generation is complete! It resulted in a 3-page PDF. You can download it using the provided URL.

List the last 5 documents generated in my account.

I've retrieved your recent documents. Here are the last 5: 'Invoice_Jan.pdf', 'Report_Q4.xlsx', 'Test_Layout.pdf', etc. Would you like details on any of these?

Yes! When calling the `create_document` tool, set the `test` parameter to `true`. This creates a free, watermarked document for testing your layout.

Related Connectors