- PDF Reader MCP Server (@shtse8/pdf-reader-mcp)
Overview
What is PDF Reader MCP?
PDF Reader MCP is a Node.js/TypeScript server that enables AI agents to securely read PDF files from local or URL sources and extract text, metadata, or page counts using the pdf-parse library.
How to use PDF Reader MCP?
To use PDF Reader MCP, configure it in your MCP host settings, either using npx
or as a Docker container, ensuring the project root directory is correctly set for local file access.
Key features of PDF Reader MCP?
- Secure project root focus to prevent unauthorized access.
- Supports reading PDFs from both local files and public URLs.
- Efficient text and metadata extraction using the pdf-parse library.
- A single
read_pdf
tool for various extraction needs. - Easy integration with minimal configuration.
- Available as a Docker image for consistent deployment.
- Robust validation of incoming tool arguments using Zod schemas.
Use cases of PDF Reader MCP?
- Extracting metadata and page counts from multiple PDF files.
- Retrieving full text from a specific PDF document.
- Extracting text from specific pages of different PDF files.
FAQ from PDF Reader MCP?
- Can PDF Reader MCP read all types of PDF files?
Yes! It can read both local and publicly accessible PDF files.
- Is PDF Reader MCP easy to integrate into existing projects?
Yes! It is designed for easy integration with minimal setup required.
- How does PDF Reader MCP ensure security?
It confines all local file operations to the project root directory, preventing unauthorized access.