usefulapi

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

Claude

  1. Open Settings → Connectors → Add custom connector
  2. Paste this URL:
    https://api2pdf.usefulapi.io/mcp
  3. Authenticate with Api2Pdf when prompted

Cursor · VS Code · Windsurf · Cline

Add to your MCP config, then reload & authorize:

{
  "mcpServers": {
    "api2pdf": {
      "url": "https://api2pdf.usefulapi.io/mcp"
    }
  }
}
live18 toolsFree 100 tool calls / monthPro $9/mo · $90/yr

Tools 18

ToolTypeWhat it does
api2pdf_get_balanceread
Get balance
Return the remaining credit balance and usage for your Api2Pdf account without generating anything billable.
api2pdf_get_statusread
Get status
Report the current Api2Pdf service health so you can confirm the API is operational before generating files.
api2pdf_html_to_pdfwrite
Html to pdf
Render an HTML string to a PDF with headless Chrome and return a short-lived download link (or base64).
api2pdf_url_to_pdfwrite
Url to pdf
Fetch a live web page by URL and render it to a PDF with headless Chrome, returning a hosted link.
api2pdf_markdown_to_pdfwrite
Markdown to pdf
Render a Markdown string to a polished PDF via headless Chrome and return a hosted download link.
api2pdf_html_to_imagewrite
Html to image
Render an HTML string to a PNG image with headless Chrome, returning a link or base64 bytes.
api2pdf_url_to_imagewrite
Url to image
Capture a full-page screenshot of a live web page by URL using headless Chrome.
api2pdf_wkhtml_to_pdfwrite
Wkhtml to pdf
Render HTML to a PDF using the wkhtmltopdf engine, with optional table-of-contents support.
api2pdf_office_to_pdfwrite
Office to pdf
Convert an office document (Word, Excel, PowerPoint, ODT and more) at a URL to a PDF via LibreOffice.
api2pdf_merge_pdfswrite
Merge pdfs
Merge several existing PDFs (given as URLs, in order) into a single combined PDF.
api2pdf_compress_pdfwrite
Compress pdf
Compress an existing PDF given by URL to reduce its file size, returning a hosted download link.
api2pdf_extract_pageswrite
Extract pages
Extract a range of pages (0-based indices) from an existing PDF by URL into a new PDF.
api2pdf_add_passwordwrite
Add password
Encrypt an existing PDF with a user password to open and an optional owner password for permissions.
api2pdf_convert_to_markdownwrite
Convert to markdown
Convert a document or file at a URL (PDF, Office and more) to Markdown text via MarkItDown for agents.
api2pdf_generate_barcodewrite
Generate barcode
Generate a barcode or QR code image (QRCode, Code128, PDF417, DataMatrix and more) from a value.
api2pdf_delete_filewrite
Delete file
Delete a previously generated file by its ResponseId to clean up hosted output.
api2pdf_usage_statusmeta
Usage status (free-tier meter)
Report the caller's current free-tier usage this month: calls used, monthly limit, remaining, and whether the cap is reached. Read-only; does not count against the meter.
api2pdf_upgrademeta
Upgrade to Pro (unlimited)
Subscribe to the Pro plan for UNLIMITED Api2Pdf tool calls (the free tier caps monthly usage). Choose monthly ($9/month) or yearly ($90/year — 2 months free) billing. Returns a Stripe Checkout link to open in your browser; after payment your account upgrades automatically. Read-only; does not count against the meter.

Pricing

PlanPriceLimit
Free$0100 tool calls / month
Pro$9/mo · $90/yrUnlimited

This is a Model Context Protocol endpoint — meant to be connected from an AI client, not opened in a browser. An invalid_token response at the URL is the auth gate working as designed; clients authenticate automatically.