1. Conduid
  2. Developer Tools
  3. PDF reader MCP
MCP server · Developer Tools

PDF reader MCP

An MCP server to extraxt/search text from pdf

Unclaimed files
67Good

Scored yesterday · breakdown

About PDF reader MCP

PDF reader MCP is an MCP server published by gpetraroli in the Developer Tools category: an MCP server to extraxt/search text from pdf.

The repository has 32 stars and 8 forks, with the last commit 2 days ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

Claude Code
claude mcp add pdf-reader -- npx -y @sylphlab/pdf-reader-mcp
npx
npx -y @sylphlab/pdf-reader-mcp
uvx
uvx pdf-insight-mcp
pip
pip install pdf-insight-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about PDF reader MCP

Powered by Claude · Grounded in docs

I know everything about PDF reader MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 3 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • !License declaredNo license file. Legally you have no right to use it in a product.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

MCP PDF Reader Enhanced

A comprehensive Model Context Protocol (MCP) server that provides advanced PDF text extraction, search, and analysis functionality.

Features

Core Functionality

  • ✅ Text Extraction: Extract text content from PDF files with customizable options
  • ✅ Text Search: Search for specific text within PDFs with advanced options
  • ✅ Metadata Extraction: Retrieve comprehensive PDF metadata
  • ✅ Page-specific Processing: Extract content from specific page ranges
  • ✅ Text Cleaning: Normalize and clean extracted text
  • ✅ File Size Limits: Protection against overly large files (50MB limit)
  • ✅ Async Processing: Non-blocking file operations

Advanced Features

  • 🔄 Multiple Tools: 3 specialized tools for different PDF operations
  • 🔍 Smart Search: Case-sensitive, whole-word, and regex search options
  • 📊 Rich Metadata: Extract author, title, creation date, keywords, and more
  • ⚡ Performance: Efficient processing with size limits and error handling
  • 🛡️ Security: File validation and path sanitization

Installation

npm install

Tools Available

1. read-pdf - Enhanced PDF Reading

Extract text from PDF files with customizable options.

Parameters:

  • file (string, required): Path to the PDF file
  • pages (string, optional): Page range (e.g., '1-5', '1,3,5', 'all'). Default: 'all'
  • include_metadata (boolean, optional): Include PDF metadata. Default: true
  • clean_text (boolean, optional): Clean and normalize text. Default: false

Example Usage:

// Basic extraction
{ "file": "/path/to/document.pdf" }

// Extract with clean text and no metadata
{ 
  "file": "/path/to/document.pdf", 
  "clean_text": true, 
  "include_metadata": false 
}

2. search-pdf - Search Within PDFs

Search for specific text within PDF documents.

Parameters:

  • file (string, required): Path to the PDF file
  • query (string, required): Text to search for
  • case_sensitive (boolean, optional): Case sensitive search. Default: false
  • whole_word (boolean, optional): Match whole words only. Default: false

Example Usage:

// Case-insensitive search
{ "file": "/path/to/document.pdf", "query": "important term" }

// Whole word, case-sensitive search
{ 
  "file": "/path/to/document.pdf", 
  "query": "API", 
  "case_sensitive": true, 
  "whole_word": true 
}

3. pdf-metadata - Extract Metadata Only

Get comprehensive metadata from PDF files without extracting text.

Parameters:

  • file (string, required): Path to the PDF file

Returns:

  • Filename, file size, page count
  • Author, title, subject, creator, producer
  • Creation/modification dates, keywords
  • Encryption status, PDF version

Configuration

Cursor Integration

Add to your Cursor settings:

{
  "mcpServers": {
    "mcp-gp-pdf-reader": {
      "command": "node",
      "args": ["/absolute/path/to/mcp_gp_pdf_reader/index.js"]
    }
  }
}

Future Enhancements

Planned Features

  • 🔮 OCR Support: Extract text from scanned/image-based PDFs
  • 🔮 Image Extraction: Extract images from PDF documents
  • 🔮 Table Detection: Identify and extract tabular data
  • 🔮 Form Data: Extract form fields and values
  • 🔮 Password Support: Handle password-protected PDFs
  • 🔮 Batch Processing: Process multiple PDFs simultaneously
  • 🔮 Caching: Cache parsed results for better performance
  • 🔮 Page-by-Page: True page-specific text extraction

Technical Improvements

  • 🔧 Streaming: Handle very large PDFs with streaming
  • 🔧 Progress Tracking: Progress indicators for long operations
  • 🔧 Resource Management: Better memory usage optimization
  • 🔧 Configuration API: Runtime configuration updates

Usage Examples

Basic Text Extraction

# Via MCP client
"Extract all text from /documents/report.pdf"

Searching PDFs

# Via MCP client  
"Search for 'quarterly results' in /documents/financial-report.pdf"

Getting Metadata

# Via MCP client
"Get metadata from /documents/contract.pdf"

Development

Requirements

  • Node.js 18.0.0 or higher
  • Memory: Sufficient for PDF file size + processing overhead
  • Storage: Temporary space for file operations

Contributing

This MCP server is designed to be extensible. Key areas for contribution:

  • Additional PDF processing libraries integration
  • Performance optimizations
  • New extraction features
  • Better error handling
  • Test coverage

License

MIT License

README fetched from the repository 3 hours ago. The original is authoritative.

Questions

About PDF reader MCP

How do I install PDF reader MCP?

Run claude mcp add pdf-reader -- npx -y @sylphlab/pdf-reader-mcp, then add the server to your MCP client's configuration.

Is PDF reader MCP safe to use with an AI agent?

Its trust score is 67 out of 100 (good). It passes 3 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is PDF reader MCP still maintained?

Yes — the last commit was 2 days ago. The repository has 32 stars and 8 forks and 1 open issues.