# FileToPDF

> FileToPDF is an open-source MCP server for files and documents. Convert files, HTML, and Markdown to PDF via the FileToPDF API. Bring your own API key. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Open source
- **Website:** https://filetopdf.dev
- **Repository:** https://github.com/filetopdf/filetopdf-mcp
- **MCP Registry name:** dev.filetopdf/filetopdf-mcp
- **Categories:** files and documents
- **Listing updated:** 2026-11-13

## About

Convert files, HTML, and Markdown to PDF via the FileToPDF API. Bring your own API key.

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http filetopdf-mcp https://api.filetopdf.dev/mcp
```

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

```sh
https://api.filetopdf.dev/mcp
```

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

```json
{
  "mcpServers": {
    "filetopdf-mcp": {
      "url": "https://api.filetopdf.dev/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "filetopdf-mcp": {
      "type": "http",
      "url": "https://api.filetopdf.dev/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "filetopdf-mcp": {
      "serverUrl": "https://api.filetopdf.dev/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "filetopdf-mcp": {
      "type": "http",
      "url": "https://api.filetopdf.dev/mcp"
    }
  }
}
```

## FAQ

### Is FileToPDF free?

Yes. FileToPDF is open source, so you can use and self-host it for free.

### How do I add FileToPDF to Claude Code?

Run this command in your terminal: claude mcp add --transport http filetopdf-mcp https://api.filetopdf.dev/mcp

### What are the best alternatives to FileToPDF?

The closest alternatives to FileToPDF are ASTra, CARTESIAN ECU, Invoices, SigPen and ConvertAudioToText.

## Alternatives

- [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.
- [DocJacket](https://ai-powered.com/mcp/docjacket): DocJacket is a freemium MCP server for productivity.

---
Source: https://ai-powered.com/mcp/filetopdf
