Back to Home
patriciomartinns icon

mcp-pdf-reader

Verified Safe

by patriciomartinns

Overview

Exposes local PDFs for reading, semantic search, chunking, and table extraction to MCP-compatible agents or via a CLI.

Installation

Run Command
uvx --from git+https://github.com/patriciomartinns/pdf-toolbox -- pdf-toolbox --quiet

Security Notes

The server implements strong security measures, notably sandboxing PDF paths to a configurable base directory (defaults to CWD) and strictly validating file extensions to '.pdf'. It does not use 'eval' or other dangerous dynamic code execution. Network activity is limited to downloading SentenceTransformer models from Hugging Face for semantic search. `subprocess.run` is used only in development/testing scripts (`scripts/check.py`) and not in the server's runtime logic, with appropriate security comments (`nosec`). Memory usage is controlled via document and index caching limits.

Similar Servers

Stats

Interest Score86
Security Score9
Cost ClassMedium
Avg Tokens1000
Stars10
Forks0
Last Update2025-11-27

Tags

PDF processingRAGSemantic SearchMCPPython