HuntPDF - PDF Tools

Merge, split, compress, rotate, protect and convert PDFs (Word, Excel, JPG) with HuntPDF.

Should I use this

Quality & Safety

A
Description quality
100%
Schema completeness
93%
Naming quality
83%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~4,694Tokens (tool definitions)
~3.1 KBTypical response size
Significant attention impact (3.67% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "pdf-tools": {
      "url": "https://mcp.huntpdf.com/mcp"
    }
  }
}

Remote endpoints

https://mcp.huntpdf.com/mcpstreamable-http

What it can do

Tool inventory

Tools (14)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢merge_pdf(files)

Combine 2-20 PDF files into one PDF, in the order given. Files are processed on HuntPDF servers and deleted automatically; the download link is temporary.

Input Schema

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "file_url": {
            "type": "string",
            "format": "uri",
            "description": "Public https:// link to the file (preferred, up to 150 MB). Must be directly downloadable."
          },
          "file_base64": {
            "type": "string",
            "description": "The file content as base64 (only for small files, max 10 MB). Use instead of file_url."
          },
          "filename": {
            "type": "string",
            "maxLength": 150,
            "description": "Original file name, e.g. report.pdf"
          }
        },
        "additionalProperties": false
      },
      "minItems": 2,
      "maxItems": 20,
      "description": "The files, each with file_url or file_base64"
    }
  },
  "required": [
    "files"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "download_url": {
      "type": "string",
      "description": "Link to download the result"
    },
    "file_name": {
      "type": "string"
    },
    "pages": {
      "type": "number"
    },
    "expires_in_minutes": {
      "type": "number",
      "description": "The link stops working after this time (or 3 minutes after the first download)"
    }
  },
  "required": [
    "download_url",
    "file_name",
    "expires_in_minutes"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢split_pdf(file_url, file_base64, filename, page_ranges)

Split a PDF into separate files. Without page_ranges every page becomes its own PDF (returned as a ZIP). With page_ranges like "1-3,4-6" each range becomes one PDF. Files are processed on HuntPDF servers and deleted automatically; the download link is temporary.

Input Schema

{
  "type": "object",
  "properties": {
    "file_url": {
      "type": "string",
      "format": "uri",
      "description": "Public https:// link to the file (preferred, up to 150 MB). Must be directly downloadable."
    },
    "file_base64": {
      "type": "string",
      "description": "The file content as base64 (only for small files, max 10 MB). Use instead of file_url."
    },
    "filename": {
      "type": "string",
      "maxLength": 150,
      "description": "Original file name, e.g. report.pdf"
    },
    "page_ranges": {
      "type": "string",
      "maxLength": 200,
      "description": "Ranges to split into, e.g. \"1-3,4-6,7\". 1-based page numbers."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "download_url": {
      "type": "string",
      "description": "Link to download the result"
    },
    "file_name": {
      "type": "string"
    },
    "pages": {
      "type": "number"
    },
    "expires_in_minutes": {
      "type": "number",
      "description": "The link stops working after this time (or 3 minutes after the first download)"
    }
  },
  "required": [
    "download_url",
    "file_name",
    "expires_in_minutes"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢compress_pdf(file_url, file_base64, filename, level)

Reduce PDF file size. Files are processed on HuntPDF servers and deleted automatically; the download link is temporary.

Input Schema

{
  "type": "object",
  "properties": {
    "file_url": {
      "type": "string",
      "format": "uri",
      "description": "Public https:// link to the file (preferred, up to 150 MB). Must be directly downloadable."
    },
    "file_base64": {
      "type": "string",
      "description": "The file content as base64 (only for small files, max 10 MB). Use instead of file_url."
    },
    "filename": {
      "type": "string",
      "maxLength": 150,
      "description": "Original file name, e.g. report.pdf"
    },
    "level": {
      "type": "string",
      "enum": [
        "low",
        "medium",
        "high"
      ],
      "default": "medium",
      "description": "low = smallest file (72 dpi), medium = balanced (150 dpi), high = best quality (300 dpi)"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "download_url": {
      "type": "string",
      "description": "Link to download the result"
    },
    "file_name": {
      "type": "string"
    },
    "pages": {
      "type": "number"
    },
    "expires_in_minutes": {
      "type": "number",
      "description": "The link stops working after this time (or 3 minutes after the first download)"
    }
  },
  "required": [
    "download_url",
    "file_name",
    "expires_in_minutes"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢rotate_pdf(file_url, file_base64, filename, angle)

Rotate every page of a PDF clockwise. Files are processed on HuntPDF servers and deleted automatically; the download link is temporary.

Input Schema

{
  "type": "object",
  "properties": {
    "file_url": {
      "type": "string",
      "format": "uri",
      "description": "Public https:// link to the file (preferred, up to 150 MB). Must be directly downloadable."
    },
    "file_base64": {
      "type": "string",
      "description": "The file content as base64 (only for small files, max 10 MB). Use instead of file_url."
    },
    "filename": {
      "type": "string",
      "maxLength": 150,
      "description": "Original file name, e.g. report.pdf"
    },
    "angle": {
      "type": "number",
      "enum": [
        90,
        180,
        270
      ],
      "default": 90,
      "description": "Degrees clockwise: 90, 180 or 270"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "download_url": {
      "type": "string",
      "description": "Link to download the result"
    },
    "file_name": {
      "type": "string"
    },
    "pages": {
      "type": "number"
    },
    "expires_in_minutes": {
      "type": "number",
      "description": "The link stops working after this time (or 3 minutes after the first download)"
    }
  },
  "required": [
    "download_url",
    "file_name",
    "expires_in_minutes"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢watermark_pdf(file_url, file_base64, filename, text, opacity, ...)

Stamp a diagonal text watermark on every page of a PDF. Files are processed on HuntPDF servers and deleted automatically; the download link is temporary.

Input Schema

{
  "type": "object",
  "properties": {
    "file_url": {
      "type": "string",
      "format": "uri",
      "description": "Public https:// link to the file (preferred, up to 150 MB). Must be directly downloadable."
    },
    "file_base64": {
      "type": "string",
      "description": "The file content as base64 (only for small files, max 10 MB). Use instead of file_url."
    },
    "filename": {
      "type": "string",
      "maxLength": 150,
      "description": "Original file name, e.g. report.pdf"
    },
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 50,
      "description": "Watermark text, e.g. CONFIDENTIAL"
    },
    "opacity": {
      "type": "number",
      "minimum": 0.1,
      "maximum": 1,
      "description": "0.1-1, default 0.3"
    },
    "font_size": {
      "type": "integer",
      "minimum": 20,
      "maximum": 200,
      "description": "20-200, default 60"
    }
  },
  "required": [
    "text"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "download_url": {
      "type": "string",
      "description": "Link to download the result"
    },
    "file_name": {
      "type": "string"
    },
    "pages": {
      "type": "number"
    },
    "expires_in_minutes": {
      "type": "number",
      "description": "The link stops working after this time (or 3 minutes after the first download)"
    }
  },
  "required": [
    "download_url",
    "file_name",
    "expires_in_minutes"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢extract_pdf_pages(file_url, file_base64, filename, pages)

Make a new PDF that contains only the chosen pages. Files are processed on HuntPDF servers and deleted automatically; the download link is temporary.

Input Schema

{
  "type": "object",
  "properties": {
    "file_url": {
      "type": "string",
      "format": "uri",
      "description": "Public https:// link to the file (preferred, up to 150 MB). Must be directly downloadable."
    },
    "file_base64": {
      "type": "string",
      "description": "The file content as base64 (only for small files, max 10 MB). Use instead of file_url."
    },
    "filename": {
      "type": "string",
      "maxLength": 150,
      "description": "Original file name, e.g. report.pdf"
    },
    "pages": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "Pages to keep, e.g. \"1-3,7\" (1-based)"
    }
  },
  "required": [
    "pages"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "download_url": {
      "type": "string",
      "description": "Link to download the result"
    },
    "file_name": {
      "type": "string"
    },
    "pages": {
      "type": "number"
    },
    "expires_in_minutes": {
      "type": "number",
      "description": "The link stops working after this time (or 3 minutes after the first download)"
    }
  },
  "required": [
    "download_url",
    "file_name",
    "expires_in_minutes"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡add_page_numbers(file_url, file_base64, filename, position, format, ...)

Add page numbers to every page of a PDF. Files are processed on HuntPDF servers and deleted automatically; the download link is temporary.

Input Schema

{
  "type": "object",
  "properties": {
    "file_url": {
      "type": "string",
      "format": "uri",
      "description": "Public https:// link to the file (preferred, up to 150 MB). Must be directly downloadable."
    },
    "file_base64": {
      "type": "string",
      "description": "The file content as base64 (only for small files, max 10 MB). Use instead of file_url."
    },
    "filename": {
      "type": "string",
      "maxLength": 150,
      "description": "Original file name, e.g. report.pdf"
    },
    "position": {
      "type": "string",
      "enum": [
        "bottom-center",
        "bottom-left",
        "bottom-right",
        "top-center",
        "top-left",
        "top-right"
      ],
      "default": "bottom-center"
    },
    "format": {
      "type": "string",
      "enum": [
        "n",
        "n-of-m",
        "page-n",
        "page-n-of-m"
      ],
      "default": "n",
      "description": "n = \"1\", n-of-m = \"1 of 9\", page-n = \"Page 1\", page-n-of-m = \"Page 1 of 9\""
    },
    "start_at": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100000,
      "description": "First number, default 1"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "download_url": {
      "type": "string",
      "description": "Link to download the result"
    },
    "file_name": {
      "type": "string"
    },
    "pages": {
      "type": "number"
    },
    "expires_in_minutes": {
      "type": "number",
      "description": "The link stops working after this time (or 3 minutes after the first download)"
    }
  },
  "required": [
    "download_url",
    "file_name",
    "expires_in_minutes"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢protect_pdf(file_url, file_base64, filename, password)

Encrypt a PDF with a password (AES-256). The password is used once and never stored. Files are processed on HuntPDF servers and deleted automatically; the download link is temporary.

Input Schema

{
  "type": "object",
  "properties": {
    "file_url": {
      "type": "string",
      "format": "uri",
      "description": "Public https:// link to the file (preferred, up to 150 MB). Must be directly downloadable."
    },
    "file_base64": {
      "type": "string",
      "description": "The file content as base64 (only for small files, max 10 MB). Use instead of file_url."
    },
    "filename": {
      "type": "string",
      "maxLength": 150,
      "description": "Original file name, e.g. report.pdf"
    },
    "password": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100,
      "description": "Password needed to open the PDF"
    }
  },
  "required": [
    "password"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "download_url": {
      "type": "string",
      "description": "Link to download the result"
    },
    "file_name": {
      "type": "string"
    },
    "pages": {
      "type": "number"
    },
    "expires_in_minutes": {
      "type": "number",
      "description": "The link stops working after this time (or 3 minutes after the first download)"
    }
  },
  "required": [
    "download_url",
    "file_name",
    "expires_in_minutes"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🔴unlock_pdf(file_url, file_base64, filename, password)

Remove the password/restrictions from a PDF the user owns. If it needs a password to open, the user must supply it. Files are processed on HuntPDF servers and deleted automatically; the download link is temporary.

Input Schema

{
  "type": "object",
  "properties": {
    "file_url": {
      "type": "string",
      "format": "uri",
      "description": "Public https:// link to the file (preferred, up to 150 MB). Must be directly downloadable."
    },
    "file_base64": {
      "type": "string",
      "description": "The file content as base64 (only for small files, max 10 MB). Use instead of file_url."
    },
    "filename": {
      "type": "string",
      "maxLength": 150,
      "description": "Original file name, e.g. report.pdf"
    },
    "password": {
      "type": "string",
      "maxLength": 100,
      "description": "Current password, if the PDF needs one to open"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "download_url": {
      "type": "string",
      "description": "Link to download the result"
    },
    "file_name": {
      "type": "string"
    },
    "pages": {
      "type": "number"
    },
    "expires_in_minutes": {
      "type": "number",
      "description": "The link stops working after this time (or 3 minutes after the first download)"
    }
  },
  "required": [
    "download_url",
    "file_name",
    "expires_in_minutes"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢pdf_to_word(file_url, file_base64, filename)

Convert a PDF into an editable Word (.docx) document. Files are processed on HuntPDF servers and deleted automatically; the download link is temporary.

Input Schema

{
  "type": "object",
  "properties": {
    "file_url": {
      "type": "string",
      "format": "uri",
      "description": "Public https:// link to the file (preferred, up to 150 MB). Must be directly downloadable."
    },
    "file_base64": {
      "type": "string",
      "description": "The file content as base64 (only for small files, max 10 MB). Use instead of file_url."
    },
    "filename": {
      "type": "string",
      "maxLength": 150,
      "description": "Original file name, e.g. report.pdf"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "download_url": {
      "type": "string",
      "description": "Link to download the result"
    },
    "file_name": {
      "type": "string"
    },
    "pages": {
      "type": "number"
    },
    "expires_in_minutes": {
      "type": "number",
      "description": "The link stops working after this time (or 3 minutes after the first download)"
    }
  },
  "required": [
    "download_url",
    "file_name",
    "expires_in_minutes"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢pdf_to_excel(file_url, file_base64, filename)

Extract the tables in a PDF into an Excel (.xlsx) workbook. Files are processed on HuntPDF servers and deleted automatically; the download link is temporary.

Input Schema

{
  "type": "object",
  "properties": {
    "file_url": {
      "type": "string",
      "format": "uri",
      "description": "Public https:// link to the file (preferred, up to 150 MB). Must be directly downloadable."
    },
    "file_base64": {
      "type": "string",
      "description": "The file content as base64 (only for small files, max 10 MB). Use instead of file_url."
    },
    "filename": {
      "type": "string",
      "maxLength": 150,
      "description": "Original file name, e.g. report.pdf"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "download_url": {
      "type": "string",
      "description": "Link to download the result"
    },
    "file_name": {
      "type": "string"
    },
    "pages": {
      "type": "number"
    },
    "expires_in_minutes": {
      "type": "number",
      "description": "The link stops working after this time (or 3 minutes after the first download)"
    }
  },
  "required": [
    "download_url",
    "file_name",
    "expires_in_minutes"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢pdf_to_jpg(file_url, file_base64, filename)

Convert each PDF page to a JPG image (several pages are returned as a ZIP). Files are processed on HuntPDF servers and deleted automatically; the download link is temporary.

Input Schema

{
  "type": "object",
  "properties": {
    "file_url": {
      "type": "string",
      "format": "uri",
      "description": "Public https:// link to the file (preferred, up to 150 MB). Must be directly downloadable."
    },
    "file_base64": {
      "type": "string",
      "description": "The file content as base64 (only for small files, max 10 MB). Use instead of file_url."
    },
    "filename": {
      "type": "string",
      "maxLength": 150,
      "description": "Original file name, e.g. report.pdf"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "download_url": {
      "type": "string",
      "description": "Link to download the result"
    },
    "file_name": {
      "type": "string"
    },
    "pages": {
      "type": "number"
    },
    "expires_in_minutes": {
      "type": "number",
      "description": "The link stops working after this time (or 3 minutes after the first download)"
    }
  },
  "required": [
    "download_url",
    "file_name",
    "expires_in_minutes"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢word_to_pdf(file_url, file_base64, filename)

Convert a Word document (.docx, .doc, .rtf) to PDF. Files are processed on HuntPDF servers and deleted automatically; the download link is temporary.

Input Schema

{
  "type": "object",
  "properties": {
    "file_url": {
      "type": "string",
      "format": "uri",
      "description": "Public https:// link to the file (preferred, up to 150 MB). Must be directly downloadable."
    },
    "file_base64": {
      "type": "string",
      "description": "The file content as base64 (only for small files, max 10 MB). Use instead of file_url."
    },
    "filename": {
      "type": "string",
      "maxLength": 150,
      "description": "Original file name, e.g. report.pdf"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "download_url": {
      "type": "string",
      "description": "Link to download the result"
    },
    "file_name": {
      "type": "string"
    },
    "pages": {
      "type": "number"
    },
    "expires_in_minutes": {
      "type": "number",
      "description": "The link stops working after this time (or 3 minutes after the first download)"
    }
  },
  "required": [
    "download_url",
    "file_name",
    "expires_in_minutes"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢jpg_to_pdf(files)

Turn 1-20 JPG or PNG images into one PDF, one image per page, in the order given. Files are processed on HuntPDF servers and deleted automatically; the download link is temporary.

Input Schema

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "file_url": {
            "type": "string",
            "format": "uri",
            "description": "Public https:// link to the file (preferred, up to 150 MB). Must be directly downloadable."
          },
          "file_base64": {
            "type": "string",
            "description": "The file content as base64 (only for small files, max 10 MB). Use instead of file_url."
          },
          "filename": {
            "type": "string",
            "maxLength": 150,
            "description": "Original file name, e.g. report.pdf"
          }
        },
        "additionalProperties": false
      },
      "minItems": 1,
      "maxItems": 20,
      "description": "The files, each with file_url or file_base64"
    }
  },
  "required": [
    "files"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "download_url": {
      "type": "string",
      "description": "Link to download the result"
    },
    "file_name": {
      "type": "string"
    },
    "pages": {
      "type": "number"
    },
    "expires_in_minutes": {
      "type": "number",
      "description": "The link stops working after this time (or 3 minutes after the first download)"
    }
  },
  "required": [
    "download_url",
    "file_name",
    "expires_in_minutes"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded14 tools