What is PDF.co MCP Server?
The PDF.co MCP Server is a Model Context Protocol server that integrates PDF.co’s API into AI assistants, enabling them to perform common PDF operations such as merging, splitting, text extraction, conversion, and HTML-to-PDF generation. It is designed for developers and AI users who need to manipulate PDF documents programmatically through natural language or tool calls.
How to use PDF.co MCP Server?
- Clone the repository, run
npm install && npm run build.
- Obtain an API key from PDF.co.
- Configure your MCP client (e.g., Claude Desktop) by adding the server definition to your
mcpServers config, setting the PDFCO_API_KEY environment variable, and pointing command to the built dist/index.js.
Key features of PDF.co MCP Server
- Merge multiple PDFs into one document.
- Split a PDF into individual pages or ranges.
- Extract text content from PDF files.
- Convert PDF data to JSON format.
- Generate PDF from HTML input.
- Check your API credits balance.
Use cases of PDF.co MCP Server
- Automate document assembly by merging several PDF reports.
- Extract structured text from scanned invoices or forms.
- Convert web pages (HTML) to PDF for archival or sharing.
- Split a large PDF into smaller, page‑specific files.
- Programmatically check remaining API usage before processing.
评论