1. Conduid
  2. RAG
  3. Pdf Toolbox
MCP server · RAG

Pdf Toolbox

Expose local PDFs via MCP or the standalone pdf-reader CLI with deterministic chunking, sandboxed access, and semantic search.

39Low

Scored 6 months ago · breakdown

About Pdf Toolbox

Pdf Toolbox is an MCP server in the RAG category: expose local PDFs via MCP or the standalone pdf-reader CLI with deterministic chunking, sandboxed access, and semantic search.

Install

From source
git clone https://github.com/patriciomartinns/pdf-toolbox

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 Toolbox

Powered by Claude · Grounded in docs

I know everything about Pdf Toolbox. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

PDF Toolbox

Python License Status

Expose local PDFs to MCP-compatible agents or run the standalone pdf-reader CLI with deterministic chunking, semantic search, and configurable defaults.


Highlights

  • FastMCP/STDIO server ready for Cursor, VS Code, Claude, and other MCP clients.
  • Typer/Click/Rich CLI (pdf-reader) prints JSON for easy piping.
  • read_pdf – extracts ordered text with page-window controls for quick inspection.
  • search_pdf – runs semantic similarity search over cached embeddings with custom top_k, score threshold, and chunk parameters.
  • describe_pdf_sections – emits deterministic chunks for classic RAG flows or, with --mode tables, returns structured tables (bbox, headers, cells) detected straight from the pages.
  • configure_pdf_defaults – adjusts chunk size/overlap, page windows, and the default embedding model at runtime.
  • Strict .pdf validation, sandboxed base path, and aggressive caching.

Documentation

Quick install (uv)

Run the MCP server directly

# Run the MCP server directly
uvx --from git+https://github.com/patriciomartinns/pdf-toolbox -- pdf-toolbox --quiet

# Install/run the CLI
uv tool install --from git+https://github.com/patriciomartinns/pdf-toolbox pdf-reader
pdf-reader --help

Note: If you had the old mcp-pdf-reader CLI installed via uv tool install, run uv tool uninstall mcp-pdf-reader before installing pdf-reader to avoid conflicts.

CLI quick tour

Command Purpose Example
pdf-reader read-pdf Extract ordered text for a bounded page range. pdf-reader read-pdf reports/Q1.pdf --start-page 3 --end-page 5
pdf-reader search-pdf Run semantic similarity search over cached embeddings. pdf-reader search-pdf reports/Q1.pdf "rate limiting" --top-k 8
pdf-reader describe-pdf-sections List deterministic chunks with offsets for RAG pipelines. pdf-reader describe-pdf-sections reports/Q1.pdf --max-chunks 5
pdf-reader configure-pdf-defaults Update runtime defaults for chunk size/overlap/page window/model. pdf-reader configure-pdf-defaults --chunk-size 600 --chunk-overlap 120 --max-pages 10

Tip: the first search-pdf invocation on a new document downloads the SentenceTransformers model and builds embeddings, so it can take longer once per model/PDF combo. Subsequent searches reuse the cache.

See the docs/ folder for full recipes covering both CLI commands and MCP client configuration. Questions or ideas? Open an issue on github.com/patriciomartinns/pdf-toolbox.

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Pdf Toolbox

How do I install Pdf Toolbox?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Pdf Toolbox safe to use with an AI agent?

Its trust score is 39 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Pdf Toolbox still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.