MCP server
Api2Pdf MCP by usefulapi
io.usefulapi/api2pdf
Checked 26 Oct 2026, 08:29 UTC · Connected to it and listed its tools
MCP server for Api2Pdf — generate PDFs & images from HTML, URLs or office files; merge, barcodes.
Working at last checkVerified publisher: usefulapi.ioAbout 6,847 tokens per request once connected16 tools
https://api2pdf.usefulapi.io/mcp
At a glance
- Type
- MCP server
- Publisher
- usefulapi.io (verified by the MCP Registry)
- Status
- Working at last check
- Tools
- 16
- Token cost
- About 6,847 tokens per request
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 26 Oct 2026, 08:29 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http api2pdf https://api2pdf.usefulapi.io/mcp
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.api2pdf] url = "https://api2pdf.usefulapi.io/mcp"
Gemini CLI
{"mcpServers":{"api2pdf":{"httpUrl":"https://api2pdf.usefulapi.io/mcp"}}}
Cursor
{"mcpServers":{"api2pdf":{"url":"https://api2pdf.usefulapi.io/mcp"}}}
VS Code
{"servers":{"api2pdf":{"type":"http","url":"https://api2pdf.usefulapi.io/mcp"}}}
Antigravity
agy mcp add api2pdf https://api2pdf.usefulapi.io/mcp
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"api2pdf","server_url":"https://api2pdf.usefulapi.io/mcp","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"api2pdf","server_url":"https://api2pdf.usefulapi.io/mcp"}
Tools
api2pdf_add_password~575 tokens
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.api2pdf_compress_pdf~489 tokens
Compress an existing PDF (given as a URL) to reduce its file size. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /pdfsharp/compress.api2pdf_convert_to_markdown~523 tokens
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.api2pdf_delete_fileChanges files · Deletes data · ~130 tokens
Delete a previously generated file by its ResponseId (the `ResponseId` returned in a generation response). Api2Pdf API: DELETE /file/{ResponseId}.api2pdf_extract_pages~600 tokens
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.api2pdf_generate_barcode~327 tokens
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.api2pdf_get_balance~72 tokens
Return the remaining balance / usage for the configured Api2Pdf account. Api2Pdf API: GET /balance.api2pdf_get_status~66 tokens
Return the current Api2Pdf service / health status. Api2Pdf API: GET /status.api2pdf_html_to_image~506 tokens
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.api2pdf_html_to_pdf~516 tokens
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.api2pdf_markdown_to_pdf~494 tokens
Render a Markdown string to a PDF using headless Chrome. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /chrome/pdf/markdown.api2pdf_merge_pdfs~514 tokens
Merge several existing PDFs (given as URLs, in order) into a single PDF. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /pdfsharp/merge.api2pdf_office_to_pdf~508 tokens
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.api2pdf_url_to_image~492 tokens
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.api2pdf_url_to_pdf~514 tokens
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.api2pdf_wkhtml_to_pdf~521 tokens
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.
Browse
Related MCP servers
- APITemplate.io MCP by usefulapi
Generate PDFs and images with APITemplate.io from templates, HTML, Markdown or a URL. - PDF & Office Tools (Tanod)
Bank statement PDF to CSV, OCR, Office to PDF, PDF to Word, any file to Markdown, merge and split. - CraftMyPDF MCP by usefulapi
Generate PDFs and images from CraftMyPDF templates; read templates, versions and usage. - vøiddo utilities
26 deterministic tools: PDF, image, QR, CSV/Excel, HTML to PDF, DNS/RDAP, FX rates, time zones. - Agent Tools UK
Pay-per-use agent tools: screenshots, web to Markdown, PDF tables, OCR, UK company checks - Docforge
12 paid document tools: PDF to markdown, OCR, tables, invoices, Word/Excel/HTML, merge/split. x402 - Googleapis
Interact with the Stitch API using natural language commands. - HelpySelf
More than a hundred everyday tools: PDFs, images, text, data, calculators, dice and currency.
Badge for your README
[](https://aptlynx.net/servers/io.usefulapi/api2pdf)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents