PDF.co

PDF.co

Official
pdfdotco

Connects to PDF.co's cloud API to handle document processing tasks like PDF conversion, form filling, OCR, merging, splitting, and password protection. Requires a PDF.co API key to access 30+ document processing tools.

Integrates with PDF.co's cloud API to provide 30+ document processing tools including PDF conversion, form handling, OCR, merging, splitting, password protection, and invoice parsing for automated document workflows.

9294 views5Local (stdio)

What it does

  • Convert PDFs to JSON, CSV, Excel, images, and other formats
  • Convert documents, spreadsheets, and images to PDF
  • Merge multiple PDFs or split PDFs by page ranges
  • Fill PDF forms and extract form field data
  • Extract text and tables from PDFs using OCR
  • Add password protection and security to PDFs

Best for

Automating document processing workflowsBuilding document management systemsProcessing invoices and forms at scaleConverting legacy documents to modern formats
30+ document processing toolsAI-powered invoice parsingCloud-based processing

About PDF.co

PDF.co is an official MCP server published by pdfdotco that provides AI assistants with tools and capabilities via the Model Context Protocol. Automate document workflows with PDF.co: convert PDF into text, use OCR text recognition, merge, split, and process PDFs It is categorized under productivity, auth security.

How to install

You can install PDF.co in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

License

PDF.co is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

PDF.co MCP

PDF.co MCP Server provides PDF.co API functionality through the Model Context Protocol (MCP), enabling AI assistants to easily perform various PDF processing tasks.

🚀 Key Features

📄 PDF Conversion Tools

  • PDF → Various Formats: Convert PDFs to JSON, CSV, Text, Excel (XLS/XLSX), XML, HTML, Images (JPG/PNG/WebP/TIFF)
  • Various Formats → PDF: Convert documents (DOC/DOCX/RTF/TXT), spreadsheets (CSV/XLS/XLSX), images, web pages, HTML, emails (MSG/EML) to PDF
  • Excel Conversions: Convert Excel files to CSV, JSON, HTML, TXT, XML, PDF

🛠️ PDF Editing & Modification

  • PDF Merging: Combine multiple PDF files into one
  • PDF Splitting: Split PDFs by specific pages or page ranges
  • Add Annotations & Images: Add text, links, images, shapes to PDFs
  • Form Operations: Read PDF form field information, fill forms, create new form elements

🔍 PDF Search & Analysis

  • Text Search: Search text in PDFs (supports regular expressions)
  • Table Detection: Find table locations and coordinates in PDFs
  • AI Invoice Parser: Extract invoice data using AI
  • PDF Information: Get detailed information including metadata, page count, security info

🔒 Security & Accessibility

  • Password Protection: Add/remove password protection to PDFs
  • Searchability: Make PDFs searchable via OCR or remove text layers
  • Attachment Extraction: Extract attachments from PDFs

💼 File Management

  • File Upload: Upload local files to PDF.co servers
  • Job Status Tracking: Monitor progress and results of asynchronous operations

⚙️ Configuration

🔑 Get API Key

  1. Sign up at PDF.co website
  2. Get your API key from the dashboard

📦 Install UV

You need to install UV (a fast Python packaging tool) to use this MCP server:

macOS and Linux

curl -LsSf https://astral.sh/uv/install.sh | sh

Windows

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Alternative Installation Methods

  • Homebrew: brew install uv
  • PyPI with pipx: pipx install uv
  • PyPI with pip: pip install uv

For more installation options and details, see the UV installation guide.

MCP Server Setup

Cursor IDE Configuration

Add the following to your .cursor/mcp.json file:

{
  "mcpServers": {
    "pdfco": {
      "command": "uvx",
      "args": ["pdfco-mcp"],
      "env": {
        "X_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

Claude Desktop Configuration

Add the following to your claude_desktop_config.json file:

{
  "mcpServers": {
    "pdfco": {
      "command": "uvx",
      "args": ["pdfco-mcp"],
      "env": {
        "X_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

🔧 Available Tools

PDF Conversion Tools

  • pdf_to_json: Convert PDF and scanned images into JSON representation with text, fonts, images, vectors, and formatting preserved
  • pdf_to_csv: Convert PDF and scanned images into CSV representation with layout, columns, rows, and tables
  • pdf_to_text: Convert PDF and scanned images to text with layout preserved
  • pdf_to_xls: Convert PDF and scanned images to XLS (Excel 97-2003) format
  • pdf_to_xlsx: Convert PDF and scanned images to XLSX (Excel 2007+) format
  • pdf_to_xml: Convert PDF and scanned images to XML format
  • pdf_to_html: Convert PDF and scanned images to HTML format
  • pdf_to_image: Convert PDF and scanned images to various image formats (JPG, PNG, WebP, TIFF)

Document to PDF Conversion Tools

  • document_to_pdf: Convert various document types (DOC, DOCX, RTF, TXT, XLS, XLSX, CSV, HTML, JPG, PNG, TIFF, WEBP) into PDF
  • csv_to_pdf: Convert CSV or spreadsheet files (XLS, XLSX) to PDF
  • image_to_pdf: Convert various image formats (JPG, PNG, TIFF) to PDF
  • webpage_to_pdf: Convert external webpage URL to PDF
  • html_to_pdf: Convert HTML to PDF
  • email_to_pdf: Convert email to PDF

Excel Conversion Tools

  • excel_to_csv: Convert Excel(XLS, XLSX) to CSV
  • excel_to_json: Convert Excel(XLS, XLSX) to JSON
  • excel_to_html: Convert Excel(XLS, XLSX) to HTML
  • excel_to_txt: Convert Excel(XLS, XLSX) to TXT
  • excel_to_xml: Convert Excel(XLS, XLSX) to XML
  • excel_to_pdf: Convert Excel(XLS, XLSX) to PDF

PDF Editing Tools

  • pdf_add_annotations_images_fields: Add text, images, forms, other PDFs, fill forms, links to external sites and external PDF files. You can update or modify PDF and scanned PDF files
  • pdf_merge: Merge PDF from two or more PDF, DOC, XLS, images, even ZIP with documents and images into a new PDF
  • pdf_split: Split a PDF into multiple PDF files using page indexes or page ranges

PDF Form Tools

  • read_pdf_forms_info: Extracts information about fillable PDF fields from an input PDF file
  • fill_pdf_forms: Fill existing form fields in a PDF document
  • create_fillable_forms: Create new fillable form elements in a PDF document

PDF Search Tools

  • find_text: Find text in PDF and get coordinates. Supports regular expressions
  • find_table: Find tables in PDF and get their coordinates

PDF Analysis Tools

  • ai_invoice_parser: AI Invoice Parser: Extracts data from invoices using AI
  • extract_attachments: Extracts attachments from a source PDF file
  • pdf_info_reader: Get detailed information about a PDF document - number of pages, metadata, security, form fields, and more

PDF Security Tools

  • pdf_add_password: Add password protection to a PDF file
  • pdf_remove_password: Remove password protection from a PDF file

PDF Searchability Tools

  • pdf_make_searchable: Convert scanned PDF documents or image files into a text-searchable PDF. Runs OCR and adds an invisible text layer that can be used for text search
  • pdf_make_unsearchable: Make existing PDF document non-searchable by removing the text layer from it

File Management Tools

  • upload_file: Upload a file to the PDF.co API
  • get_job_check: Check the status and results of a job. Status can be: working, success, failed, aborted, or unknown
  • wait_job_completion: Wait for a job to complete

📖 Usage Examples

Convert PDF to Text

Convert this PDF file to text: https://example.com/document.pdf

Merge Multiple Images into PDF

Create a PDF from these images: image1.jpg, image2.png, image3.jpg

Search for Specific Text in PDF

Find the word "contract" in this PDF document

Fill PDF Form Fields

Fill the name field in this PDF form with "John Doe"

Convert Web Page to PDF

Convert https://example.com webpage to PDF

Extract Invoice Data

Extract invoice information from this PDF using AI

Add Password Protection

Add password protection to this PDF file

📞 Support & Contact

📄 License

This project is distributed under the MIT License.


Note: A valid PDF.co API key is required to use this tool. Create a free account at PDF.co to get your API key.

Alternatives

Related Skills

Browse all skills
backend-security-coder

Expert in secure backend coding practices specializing in input validation, authentication, and API security. Use PROACTIVELY for backend security implementations or security code reviews.

17
firebase

Firebase gives you a complete backend in minutes - auth, database, storage, functions, hosting. But the ease of setup hides real complexity. Security rules are your last line of defense, and they're often wrong. Firestore queries are limited, and you learn this after you've designed your data model. This skill covers Firebase Authentication, Firestore, Realtime Database, Cloud Functions, Cloud Storage, and Firebase Hosting. Key insight: Firebase is optimized for read-heavy, denormalized data. I

16
senior-backend

Comprehensive backend development skill for building scalable backend systems using NodeJS, Express, Go, Python, Postgres, GraphQL, REST APIs. Includes API scaffolding, database optimization, security implementation, and performance tuning. Use when designing APIs, optimizing database queries, implementing business logic, handling authentication/authorization, or reviewing backend code.

11
supabase-rls-policy-generator

This skill should be used when the user requests to generate, create, or add Row-Level Security (RLS) policies for Supabase databases in multi-tenant or role-based applications. It generates comprehensive RLS policies using auth.uid(), auth.jwt() claims, and role-based access patterns. Trigger terms include RLS, row level security, supabase security, generate policies, auth policies, multi-tenant security, role-based access, database security policies, supabase permissions, tenant isolation.

10
api-security-best-practices

Implement secure API design patterns including authentication, authorization, input validation, rate limiting, and protection against common API vulnerabilities

9
email

Send and draft professional emails with seasonal HTML formatting, authentic writing style, contact lookup via Google Contacts, security-first approach, and Google Gmail API via Ruby CLI. This skill should be used for ALL email operations (mandatory per RULES.md).

6