Api2Pdf MCP server. MCP server for Api2Pdf — generate PDFs & images from HTML, URLs or office files; merge, barcodes.
Add to your MCP config, then reload & authorize:
{
"mcpServers": {
"api2pdf": {
"url": "https://api2pdf.usefulapi.io/mcp"
}
}
}| Tool | Type | What it does |
|---|---|---|
api2pdf_get_balance | read | Get balance Return the remaining credit balance and usage for your Api2Pdf account without generating anything billable. |
api2pdf_get_status | read | Get status Report the current Api2Pdf service health so you can confirm the API is operational before generating files. |
api2pdf_html_to_pdf | write | 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_pdf | write | 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_pdf | write | Markdown to pdf Render a Markdown string to a polished PDF via headless Chrome and return a hosted download link. |
api2pdf_html_to_image | write | Html to image Render an HTML string to a PNG image with headless Chrome, returning a link or base64 bytes. |
api2pdf_url_to_image | write | Url to image Capture a full-page screenshot of a live web page by URL using headless Chrome. |
api2pdf_wkhtml_to_pdf | write | Wkhtml to pdf Render HTML to a PDF using the wkhtmltopdf engine, with optional table-of-contents support. |
api2pdf_office_to_pdf | write | Office to pdf Convert an office document (Word, Excel, PowerPoint, ODT and more) at a URL to a PDF via LibreOffice. |
api2pdf_merge_pdfs | write | Merge pdfs Merge several existing PDFs (given as URLs, in order) into a single combined PDF. |
api2pdf_compress_pdf | write | Compress pdf Compress an existing PDF given by URL to reduce its file size, returning a hosted download link. |
api2pdf_extract_pages | write | Extract pages Extract a range of pages (0-based indices) from an existing PDF by URL into a new PDF. |
api2pdf_add_password | write | Add password Encrypt an existing PDF with a user password to open and an optional owner password for permissions. |
api2pdf_convert_to_markdown | write | Convert to markdown Convert a document or file at a URL (PDF, Office and more) to Markdown text via MarkItDown for agents. |
api2pdf_generate_barcode | write | Generate barcode Generate a barcode or QR code image (QRCode, Code128, PDF417, DataMatrix and more) from a value. |
api2pdf_delete_file | write | Delete file Delete a previously generated file by its ResponseId to clean up hosted output. |
api2pdf_usage_status | 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_upgrade | 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. |
| Plan | Price | Limit |
|---|---|---|
| Free | $0 | 100 tool calls / month |
| Pro | $9/mo · $90/yr | Unlimited |
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.