pdf

Extract text and tables from PDFs using Python libraries.

1|Updated Jan 5, 2026
One-click install
npx skills add https://github.com/wedsamuel1230/electronic-mcp-server --skill pdf-wedsamuel1230
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/wedsamuel1230/electronic-mcp-server/tree/main/.github/skills/pdf
Command: npx skills add https://github.com/wedsamuel1230/electronic-mcp-server --skill pdf-wedsamuel1230

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdf2image, Pillow, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates comprehensive PDF processing tasks, enabling efficient text and table extraction, PDF creation and merging, and form handling without manual editing.

Core Features & Use Cases

  • Text & Table Extraction: Retrieve text and tabular data from PDF pages for analysis and reporting.
  • PDF Creation & Merging: Create new PDFs from sources and merge documents for consolidated outputs.
  • Form Handling: Fill fillable forms, annotate non-fillable forms, and automate form-related workflows.
  • Use Case: Process hundreds of invoices to extract totals, dates, and vendor details into a CSV.

Quick Start

Install the required dependencies (pypdf, pdf2image, Pillow) and run the included scripts to extract text from sample.pdf or fill a form.

Frequently Asked Questions about pdf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract text and tables from PDF files for analysis?

PDF text and table extraction retrieves content from pages for analysis and reporting. It reads PDF files and parses text and tabular data without manual editing, allowing you to process documents like invoices or reports at scale.

What's the best way to batch process PDFs and extract data into a CSV?

Batch processing PDFs automates the extraction of data like totals, dates, and vendor details into structured outputs. It applies scripted utilities to read hundreds of documents sequentially, outputting the retrieved data into a CSV file.

Can I fill fillable PDF forms and annotate non-fillable forms programmatically?

Yes, form handling allows you to fill fillable PDF forms and annotate non-fillable ones programmatically. It automates form-related workflows by writing data into form fields and overlaying annotations on documents.

Does this PDF processing approach work with pypdf, pdf2image, and Pillow?

Yes, this PDF processing approach relies on the Python libraries pypdf, pdf2image, and Pillow. These dependencies are required to read, write, annotate, and convert PDFs through the included scripted utilities.

How do I create and merge PDFs from multiple sources?

Creating and merging PDFs combines multiple documents into a single consolidated output. It generates new PDF files from various sources and merges them together, streamlining document consolidation without manual editing.

Are there limitations when digitizing paper forms or extracting data from scanned PDFs?

Digitizing paper forms or extracting data from scanned PDFs may face limitations with non-textual image content. While pdf2image and Pillow handle image conversion, the extraction logic primarily parses embedded text and tabular data.