PDFShift

A remote MCP server to convert HTML documents (URL or raw source) to PDF or screenshots

Should I use this

Quality & Safety

A
Description quality
95%
Schema completeness
80%
Naming quality
96%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~989Tokens (tool definitions)
~790 BTypical response size
Moderate attention impact (0.77% 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": {
    "pdfshift": {
      "url": "https://api.pdfshift.io/mcp"
    }
  }
}

Remote endpoints

https://api.pdfshift.io/mcpstreamable-http

What it can do

Tool inventory

Tools (11)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢convert(source, sandbox, landscape, format, css, ...)

Convert an HTML document or a URL to a PDF, PNG, JPEG or WEBP file. Returns a temporary download URL (valid ~2 days).

Input Schema

{
  "type": "object",
  "properties": {
    "source": {
      "type": "string",
      "description": "A URL (http/https) or a raw HTML string to convert."
    },
    "sandbox": {
      "type": "boolean",
      "description": "Generate a free, watermarked document that does not consume credits. Useful for testing."
    },
    "landscape": {
      "type": "boolean",
      "description": "Landscape orientation instead of portrait (PDF only)."
    },
    "format": {
      "type": "string",
      "description": "Output format: pdf (default), png, jpeg or webp.",
      "enum": [
        "pdf",
        "png",
        "jpeg",
        "webp"
      ]
    },
    "css": {
      "type": "string",
      "description": "Extra CSS to inject, as a URL or raw string."
    },
    "wait_for": {
      "type": "string",
      "description": "A JS variable/function or CSS selector to wait for before capturing."
    },
    "delay": {
      "type": "integer",
      "description": "Milliseconds to wait before capture (max 10000)."
    },
    "use_print": {
      "type": "boolean",
      "description": "Use the print CSS media type instead of screen."
    }
  },
  "required": [
    "source"
  ],
  "additionalProperties": true
}
🟢list_templates

List all saved HTML templates for the account.

Input Schema

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢get_template(slug)

Get the raw HTML content of a template by its slug.

Input Schema

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string",
      "description": "The template slug."
    }
  },
  "required": [
    "slug"
  ],
  "additionalProperties": false
}
🟡create_template(slug, name, content)

Create a new reusable HTML template.

Input Schema

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string",
      "description": "Unique identifier for the template."
    },
    "name": {
      "type": "string",
      "description": "Human-readable name."
    },
    "content": {
      "type": "string",
      "description": "HTML content of the template."
    }
  },
  "required": [
    "slug",
    "name",
    "content"
  ],
  "additionalProperties": false
}
🟡update_template(slug, name, content)

Update the name and/or HTML content of an existing template.

Input Schema

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string",
      "description": "The template slug to update."
    },
    "name": {
      "type": "string",
      "description": "New name."
    },
    "content": {
      "type": "string",
      "description": "New HTML content."
    }
  },
  "required": [
    "slug",
    "content"
  ],
  "additionalProperties": false
}
🔴delete_template(slug)

Delete a template by its slug.

Input Schema

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string",
      "description": "The template slug to delete."
    }
  },
  "required": [
    "slug"
  ],
  "additionalProperties": false
}
🟢generate_from_template(slug, format)

Render a saved template to HTML, PDF, PNG, JPEG or WEBP. Document formats return a temporary download URL; html returns the rendered markup. Pass template variables and any conversion option as extra properties.

Input Schema

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string",
      "description": "The template slug to render."
    },
    "format": {
      "type": "string",
      "description": "Output: html, pdf (default), png, jpeg or webp.",
      "enum": [
        "html",
        "pdf",
        "png",
        "jpeg",
        "webp"
      ]
    }
  },
  "required": [
    "slug"
  ],
  "additionalProperties": true
}
🟢credits_usage

Get the current credit usage for the account (remaining, total, used).

Input Schema

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢pricing

List the available PDFShift plans and their pricing (credits, price, overage, monthly/yearly). Custom plans specific to the account are included when authenticated.

Input Schema

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢list_logs(limit, status, key, cursor)

List recent conversion logs for the account.

Input Schema

{
  "type": "object",
  "properties": {
    "limit": {
      "type": "integer",
      "description": "Number of items to return (5-100, default 20).",
      "minimum": 5,
      "maximum": 100
    },
    "status": {
      "type": "string",
      "description": "Filter by status.",
      "enum": [
        "error",
        "success",
        "all"
      ]
    },
    "key": {
      "type": "string",
      "description": "Filter to a specific API key (public id). Default: all keys."
    },
    "cursor": {
      "type": "string",
      "description": "Pagination cursor from a previous response."
    }
  },
  "additionalProperties": false
}
🟢get_log(request_id)

Get a single conversion log by its request id.

Input Schema

{
  "type": "object",
  "properties": {
    "request_id": {
      "type": "string",
      "description": "The request id of the conversion."
    }
  },
  "required": [
    "request_id"
  ],
  "additionalProperties": false
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded11 tools