Api2Pdf MCP by usefulapi

io.usefulapiPublished by usefulapi.ioOfficial publisherv1.36.4Updated Nov 7, 2026

MCP server for Api2Pdf — generate PDFs & images from HTML, URLs or office files; merge, barcodes.

The publisher's own server: Ably MCP by usefulapi

VerifiedStreamable HTTPWeb executableBrowser AutomationFiles & StorageMedia & Design

Overview

AI-generated overview

Hosted Api2Pdf server that lets an assistant turn HTML, URLs, Markdown or office files into PDFs and images, and merge, compress or protect PDFs.

What you can do
  • Convert HTML, URLs, Markdown or office documents into PDFs, and HTML or live web pages into images and screenshots
  • Merge, compress, extract pages from and password-protect existing PDFs
  • Convert documents back to Markdown text and generate barcodes or QR codes
  • Check account balance, service status and monthly usage, and delete previously generated files
  • Request a missing feature, upgrade to a paid plan or cancel the subscription
When to use it
Useful when you want an assistant to produce invoices, reports or letters as PDFs, capture a web page as PDF or screenshot, assemble or shrink existing PDFs, or read a document's contents back as Markdown without running conversion tools locally.
Requirements
Remote MCP endpoint, no local install. Sign-in is by OAuth on first connect, where an Api2Pdf API key is pasted and stored per user; do not add an Authorization header or key to the client config. A free plan allows 50 tool calls per month; paid plans are available.
Before you install
Most conversion tools are billed per document and consume the monthly call quota; the free tier is limited to 50 calls. Upgrade tools return Stripe Checkout payment links, and cancelling gives no refund for the current period. Generated files are returned as links valid about 24 hours, and the delete tool removes generated files. Documents and URLs you submit are sent to the third-party Api2Pdf service.

Installation

In SourceWeft

  1. Open Api2Pdf MCP by usefulapi in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.usefulapi%2Fapi2pdf/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "api2pdf-by-usefulapi": {
      "type": "http",
      "url": "https://api2pdf.usefulapi.io/mcp"
    }
  }
}

README

Api2Pdf MCP by usefulapi

Generate PDFs and images from HTML, URLs, Markdown or office files, from Claude, Cursor, or any MCP client. Hosted, no local install — connect with your Api2Pdf API key.

Live endpoint: https://api2pdf.usefulapi.io/mcp · Homepage: https://usefulapi.io/api2pdf

Connect

  • Claude (claude.ai, Desktop): open Customize → Connectors, click + Add → Add custom connector, and paste https://api2pdf.usefulapi.io/mcp.
  • Claude Code: claude mcp add --transport http api2pdf https://api2pdf.usefulapi.io/mcp, then run /mcp to log in.
  • VS Code: Add to VS Code.
  • Cursor and other clients: add the URL as a remote MCP server:
json
{  "mcpServers": {    "api2pdf": {      "url": "https://api2pdf.usefulapi.io/mcp"    }  }}

Add only the URL. Do not add an Authorization header or an API key to the client config: the server signs you in with OAuth, and the login page asks for your Api2Pdf credentials.

Step-by-step setup, where to find your credentials, and FAQ: https://usefulapi.io/api2pdf/

On first connect you'll paste your Api2Pdf API key. It's validated, stored per-user, and scoped to you.

Tools

ToolTypeWhat it does
api2pdf_html_to_pdfwriteHTML to PDF (Chrome)
api2pdf_url_to_pdfwriteURL to PDF (Chrome)
api2pdf_markdown_to_pdfwriteMarkdown to PDF (Chrome)
api2pdf_html_to_imagewriteHTML to image (Chrome)
api2pdf_url_to_imagewriteURL to image / screenshot (Chrome)
api2pdf_wkhtml_to_pdfwriteHTML to PDF (wkhtmltopdf)
api2pdf_office_to_pdfwriteOffice document to PDF (LibreOffice)
api2pdf_merge_pdfswriteMerge PDFs (PDFSharp)
api2pdf_compress_pdfwriteCompress PDF (PDFSharp)
api2pdf_extract_pageswriteExtract PDF pages (PDFSharp)
api2pdf_add_passwordwritePassword-protect PDF (PDFSharp)
api2pdf_convert_to_markdownwriteConvert document to Markdown (MarkItDown)
api2pdf_generate_barcodewriteGenerate barcode / QR code (Zebra)
api2pdf_get_balancereadGet account balance
api2pdf_get_statusreadGet service status
api2pdf_delete_filewriteDelete a generated file
api2pdf_usage_statusmetaUsage status (free-tier meter)
api2pdf_request_featuremetaRequest a missing feature
api2pdf_upgrademetaUpgrade to Pro or Pro+
api2pdf_cancel_subscriptionmetaCancel the Pro subscription

read tools are read-only; write tools mutate data (clients should confirm them); meta tools report usage, manage your subscription or send a feature request.

Pricing

PlanPriceLimit
Free$050 tool calls / month
Pro$9/mo or $90/yr (2 months free)Unlimited*

*Pro has a fair use limit of 10,000 tool calls a month on this server. For more, write to [email protected].

Pro covers this server only. Subscribe with api2pdf_upgrade (it returns a Stripe Checkout link). Cancel any time with api2pdf_cancel_subscription: Pro continues to the end of the paid period, with no refund for the current period, and running api2pdf_upgrade before then undoes the cancel. Or write to [email protected].

License

MIT — see LICENSE. Documentation only; the server is hosted.

Source: servers/api2pdf/README.md at commit 4046075

Tools

16

api2pdf_html_to_pdf

HTML to PDF (Chrome)

Render an HTML string to a PDF using the headless-Chrome engine. Returns a { FileUrl } link (valid ~24h) by default. Great for invoices, reports, and letters produced as HTML. BILLED per document. Api2Pdf API: POST /chrome/pdf/html.

ParametershtmlrequiredinlineoptionsstoragefileNameoutput_binaryextraHTTPHeadersuseCustomStorage

api2pdf_url_to_pdf

URL to PDF (Chrome)

Fetch a web page by URL and render it to a PDF using headless Chrome. Returns a { FileUrl } (valid ~24h). Use extraHTTPHeaders to pass auth for a protected page. BILLED. Api2Pdf API: POST /chrome/pdf/url.

ParametersurlrequiredinlineoptionsstoragefileNameoutput_binaryextraHTTPHeadersuseCustomStorage

api2pdf_markdown_to_pdf

Markdown to PDF (Chrome)

Render a Markdown string to a PDF using headless Chrome. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /chrome/pdf/markdown.

ParametersinlineoptionsstoragefileNamemarkdownrequiredoutput_binaryextraHTTPHeadersuseCustomStorage

api2pdf_html_to_image

HTML to image (Chrome)

Render an HTML string to an image using headless Chrome. Returns a { FileUrl } (valid ~24h) by default, or base64 bytes with output_binary:true. BILLED. Api2Pdf API: POST /chrome/image/html.

ParametershtmlrequiredinlineoptionsstoragefileNameoutput_binaryextraHTTPHeadersuseCustomStorage

api2pdf_url_to_image

URL to image / screenshot (Chrome)

Take a screenshot of a live web page by URL using headless Chrome. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /chrome/image/url.

ParametersurlrequiredinlineoptionsstoragefileNameoutput_binaryextraHTTPHeadersuseCustomStorage

api2pdf_wkhtml_to_pdf

HTML to PDF (wkhtmltopdf)

Render an HTML string to a PDF using the wkhtmltopdf engine — an alternate to Chrome that supports a table of contents (pass enableToc / tocOptions inside `options`). Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /wkhtml/pdf/html.

ParametershtmlrequiredinlineoptionsstoragefileNameoutput_binaryextraHTTPHeadersuseCustomStorage

api2pdf_office_to_pdf

Office document to PDF (LibreOffice)

Convert an office document (Word, Excel, PowerPoint, ODT, and many more) at a URL to a PDF using LibreOffice. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /libreoffice/any-to-pdf.

ParametersurlrequiredinlineoptionsstoragefileNameoutput_binaryextraHTTPHeadersuseCustomStorage

api2pdf_merge_pdfs

Merge PDFs (PDFSharp)

Merge several existing PDFs (given as URLs, in order) into a single PDF. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /pdfsharp/merge.

ParametersurlsrequiredinlineoptionsstoragefileNameoutput_binaryextraHTTPHeadersuseCustomStorage

api2pdf_compress_pdf

Compress PDF (PDFSharp)

Compress an existing PDF (given as a URL) to reduce its file size. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /pdfsharp/compress.

ParametersurlrequiredinlineoptionsstoragefileNameoutput_binaryextraHTTPHeadersuseCustomStorage

api2pdf_extract_pages

Extract PDF pages (PDFSharp)

Extract a range of pages from an existing PDF (given as a URL) into a new PDF. `start`/`end` are 0-based page indices; omit `end` to extract a single page. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /pdfsharp/extract-pages.

ParametersendurlrequiredstartinlineoptionsstoragefileNameoutput_binaryextraHTTPHeadersuseCustomStorage

api2pdf_add_password

Password-protect PDF (PDFSharp)

Encrypt an existing PDF (given as a URL) with a user password (required to open) and an optional owner password (controls permissions). Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /pdfsharp/password.

ParametersurlrequiredinlineoptionsstoragefileNameuserpasswordrequiredoutput_binaryownerpasswordextraHTTPHeadersuseCustomStorage

api2pdf_convert_to_markdown

Convert document to Markdown (MarkItDown)

Convert a document or file (given as a URL — PDF, Office docs, and more) to Markdown text via MarkItDown. Great for feeding a document's contents back to an agent. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /markitdown.

ParametersurlrequiredinlineoptionsstoragefileNameoutput_binaryextraHTTPHeadersuseCustomStorage

api2pdf_generate_barcode

Generate barcode / QR code (Zebra)

Generate a barcode or QR code image. `format` is the symbology (e.g. 'QRCode', 'Code128', 'PDF417', 'DataMatrix') and `value` is the string to encode. Returns a { FileUrl } (valid ~24h) by default, or base64 with output_binary:true. BILLED. Api2Pdf API: GET /zebra.

Parametersvaluerequiredwidthformatrequiredheightshowlabeloutput_binary

api2pdf_get_balance

Get account balance

Return the remaining balance / usage for the configured Api2Pdf account. Api2Pdf API: GET /balance.

Takes no parameters.

api2pdf_get_status

Get service status

Return the current Api2Pdf service / health status. Api2Pdf API: GET /status.

Takes no parameters.

api2pdf_delete_file

Delete a generated file

Delete a previously generated file by its ResponseId (the `ResponseId` returned in a generation response). Api2Pdf API: DELETE /file/{ResponseId}.

ParametersresponseIdrequired

Version history

21
  1. v1.36.4LatestNov 7, 2026
  2. v1.35.3Nov 5, 2026
  3. v1.35.2Nov 5, 2026
  4. v1.35.1Nov 4, 2026
  5. v1.35.0Nov 3, 2026
  6. v1.34.1Nov 3, 2026
  7. v1.33.0Nov 1, 2026
  8. v1.31.0Oct 31, 2026
  9. v1.30.0Oct 31, 2026
  10. v1.29.2Oct 30, 2026
  11. v1.29.0Oct 30, 2026
  12. v1.24.0Oct 26, 2026
  13. v1.21.3Oct 25, 2026
  14. v1.21.0Oct 25, 2026
  15. v1.20.0Oct 24, 2026
  16. v1.17.0Oct 23, 2026
  17. v1.16.4Oct 22, 2026
  18. v1.16.3Oct 21, 2026
  19. v1.11.1Oct 9, 2026
  20. v1.10.0Oct 9, 2026
  21. v1.0.1Sep 16, 2026

Score

100% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Usefulapi integrations