# CraftMyPDF MCP by usefulapi

> CraftMyPDF MCP by usefulapi is an MCP server. Generate PDFs and images from CraftMyPDF templates; read templates, versions and usage. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Website:** https://usefulapi.io/craftmypdf/
- **Repository:** https://github.com/m190/usefulapi-mcp/tree/HEAD/servers/craftmypdf
- **MCP Registry name:** io.usefulapi/craftmypdf
- **Listing updated:** 2026-11-13

## About

Generate PDFs and images from CraftMyPDF templates; read templates, versions and usage.

## Install

### Claude Code (Terminal)

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

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

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

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

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

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

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

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

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

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

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

## Tools

- `craftmypdf_get_account_info`: The CraftMyPDF account behind the API key: username, quota used (quota_counter) and quota total (quota_max), template count and limit, creation date. Check the quota before generating many documents. GET /get-account-info.
- `craftmypdf_list_transactions`: Recent generation transactions of the account, newest first: transaction_ref, type (PDFGEN, PDFPREVIEW, ...), execution time, credits used, time, file size and result status. Use it to see what was billed. GET /list-transactions.
- `craftmypdf_list_templates`: List the PDF/image templates of the account: template_id, name, status, group, created and updated time. The template_id is what the generation tools need. Read only; templates cannot be edited here. GET /list-templates.
- `craftmypdf_get_template`: One template: its name and the sample JSON data it expects (the placeholders to fill when generating). The full layout body is only returned with include_body (it can be very large and is cut). GET /get-template.
- `craftmypdf_list_template_versions`: The saved versions of a template (version number, description, time, whether it is retained). Use a version number when generating to pin the layout. GET /list-template-versions.
- `craftmypdf_query_template_usage`: Usage statistics (how many generations) of up to 20 templates within an optional date range. Dates are ISO 8601 UTC date-times such as 2026-10-01T00:00:00Z. GET /query-template-usage.
- `craftmypdf_get_pdf_info`: Metadata of a PDF that CraftMyPDF downloads from a public https URL: page count, title, author, creator, producer, dates. May count against the account's rate limit. GET /get-pdf-info.
- `craftmypdf_create_pdf`: WRITE: uses the CraftMyPDF account's own quota (credits; a successful generation is a billable transaction, typically 1 credit per document, and every call counts even with identical data). Generate ONE PDF from a template and your JSON data. Returns a hosted file URL (never file bytes) that expires after `expiration` minutes, plus the transaction reference and any anchors (page numbers for a tabl
- `craftmypdf_create_image`: WRITE: uses the CraftMyPDF account's own quota (credits; a successful generation is a billable transaction, typically 1 credit per document, and every call counts even with identical data). Generate ONE image (JPEG or PNG) from a template and your JSON data. Returns a hosted file URL (never file bytes) that expires after `expiration` minutes. POST /create-image with export_type=json.
- `craftmypdf_create_pdf_from_templates`: WRITE: uses the CraftMyPDF account's own quota (credits; a successful generation is a billable transaction, typically 1 credit per document, and every call counts even with identical data). Generate ONE combined PDF from 2-10 templates, each with its own data (or the shared `data`). Costs credits for each template rendered. Returns a hosted file URL that expires after `expiration` minutes. Uses th
- `craftmypdf_merge_pdfs`: WRITE: uses the CraftMyPDF account's own quota (credits; a successful generation is a billable transaction, typically 1 credit per document, and every call counts even with identical data). Merge 2-10 existing PDFs, given as public https URLs, into ONE PDF. CraftMyPDF downloads the files from your URLs. Returns a hosted file URL that expires after `expiration` minutes. POST /merge-pdfs.

## FAQ

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

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

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