# Api2Pdf MCP by usefulapi

> Api2Pdf MCP by usefulapi is a freemium MCP server for files and documents. Hosted MCP server that makes PDFs, images, barcodes and Markdown via Api2Pdf for AI. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $9 a month
- **Platforms:** API, Web
- **Website:** https://usefulapi.io/api2pdf/
- **Repository:** https://github.com/m190/usefulapi-mcp/tree/HEAD/servers/api2pdf
- **MCP Registry name:** io.usefulapi/api2pdf
- **Categories:** files and documents
- **Listing updated:** 2026-11-18

## About

The README says this is a hosted remote endpoint, so there is nothing to install locally: you point Claude, ChatGPT, Cursor or another MCP client at one URL and sign in with your Api2Pdf API key. Once connected, the assistant can call 20 tools that render HTML, URLs or Markdown to PDF through headless Chrome or wkhtmltopdf, convert Word, Excel and PowerPoint files with LibreOffice, and generate screenshots.

The same connection also covers document work on existing files: merging PDFs in a given order, compressing them, extracting page ranges, adding passwords, converting documents to Markdown, and creating barcode or QR code images. Most tools return a file link that stays valid for about 24 hours, and a delete tool removes a generated file by its response id.

The server is aimed at developers and office staff who already use Api2Pdf and want an assistant to run those jobs. It is an independent service from usefulapi and is not affiliated with Api2Pdf. Usage is metered per tool call, so the free tier suits occasional use while the paid plans suit regular automations.

## Features

- **Hosted remote endpoint:** Connects over Streamable HTTP with OAuth sign-in, so no local install is needed.
- **HTML, URL and Markdown rendering:** Turns HTML strings, live pages or Markdown text into PDFs using headless Chrome or wkhtmltopdf.
- **Office file conversion:** Converts Word, Excel, PowerPoint and similar files at a URL into PDF through LibreOffice.
- **PDF editing tools:** Merges, compresses, splits page ranges and password-protects existing PDFs.
- **Barcode and QR generation:** Creates barcode or QR code images in several symbologies from a value you provide.
- **Usage and balance checks:** Lets the assistant report remaining balance, service status and monthly tool-call usage.

## Good for

- Turn an invoice or price list web page into a PDF from inside a chat
- Merge several PDF links into one document in a set order
- Convert a Word or Excel attachment to PDF without opening it locally
- Generate QR codes that link to menus or forms for printing
- Extract text from a PDF or Office file as Markdown for an agent to read

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http api2pdf https://api2pdf.usefulapi.io/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://api2pdf.usefulapi.io/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "api2pdf": {
      "url": "https://api2pdf.usefulapi.io/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "api2pdf": {
      "type": "http",
      "url": "https://api2pdf.usefulapi.io/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "api2pdf": {
      "serverUrl": "https://api2pdf.usefulapi.io/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

- `api2pdf_html_to_pdf`: 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_url_to_pdf`: 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_markdown_to_pdf`: Render a Markdown string to a PDF using headless Chrome. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /chrome/pdf/markdown.
- `api2pdf_html_to_image`: 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_url_to_image`: 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_wkhtml_to_pdf`: 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.
- `api2pdf_office_to_pdf`: 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_merge_pdfs`: 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_compress_pdf`: 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_extract_pages`: 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_add_password`: 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_convert_to_markdown`: 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_generate_barcode`: 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`: Return the remaining balance / usage for the configured Api2Pdf account. Api2Pdf API: GET /balance.
- `api2pdf_get_status`: Return the current Api2Pdf service / health status. Api2Pdf API: GET /status.
- `api2pdf_delete_file`: Delete a previously generated file by its ResponseId (the `ResponseId` returned in a generation response). Api2Pdf API: DELETE /file/{ResponseId}.

## FAQ

### Is this an official Api2Pdf product?

No. The README and site say usefulapi is an independent service and is not affiliated with or endorsed by Api2Pdf.

### What do I need to connect?

The login page asks for your Api2Pdf API key, which you can find in the Api2Pdf portal under API keys.

### What does it cost?

The Free plan includes 50 tool calls a month. Pro is $9/mo or $90/yr for 10,000 calls, and Pro+ is $39/mo or $390/yr for 100,000 calls.

### Can the AI change my Api2Pdf data?

Yes, 14 of the 20 tools can create or change data, and most MCP clients ask for approval before a tool call runs.

### Is Api2Pdf MCP by usefulapi free?

Api2Pdf MCP by usefulapi has a free plan, with paid plans for more usage or features. Paid plans start at $9 a month.

### How do I add Api2Pdf MCP by usefulapi to Claude Code?

Run this command in your terminal: claude mcp add --transport http api2pdf https://api2pdf.usefulapi.io/mcp

### What are the best alternatives to Api2Pdf MCP by usefulapi?

The closest alternatives to Api2Pdf MCP by usefulapi are SSRS2, ASTra, CARTESIAN ECU, Invoices and SigPen.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 14 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [SSRS2](https://ai-powered.com/mcp/ssrs2): SSRS2 is an MCP server for files and documents.
- [ASTra](https://ai-powered.com/mcp/astra): ASTra is a freemium MCP server for files and documents.
- [CARTESIAN ECU](https://ai-powered.com/mcp/cartesian-ecu): CARTESIAN ECU is a paid MCP server for files and documents.
- [Invoices](https://ai-powered.com/mcp/invoices): Invoices is a paid MCP server for files and documents.
- [SigPen](https://ai-powered.com/mcp/sigpen): SigPen is a freemium MCP server for files and documents.
- [ConvertAudioToText](https://ai-powered.com/mcp/convertaudiototext): ConvertAudioToText is a freemium MCP server for design and media.
- [WhoScribe](https://ai-powered.com/mcp/whoscribe): WhoScribe is a freemium MCP server for design and media.
- [filex](https://ai-powered.com/mcp/filex): filex is an open-source MCP server for files and documents.

---
Source: https://ai-powered.com/mcp/api2pdf-mcp-by-usefulapi
