Skip to content
Back to skills

Search Large Pdfs And Read Only The Relevant Pages Before Answering

ASecurity

Use pdf-mcp to inspect a PDF, search it, and load only the pages that matter so an agent can answer questions from long documents without brute-forcing the whole file into context.

  • 36 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 2, 2026
ai-agentspythongobashsqlgitsecuritydocumentation

Works with

  • cli
  • mcp

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned June 2, 2026

npx -y skills add agentskillexchange/skills --skill search-large-pdfs-and-read-only-the-relevant-pages-before-answering --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Search Large Pdfs And Read Only The Relevant Pages Before Answering?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Search Large Pdfs And Read Only The Relevant Pages Before Answering
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-search-large-pdfs-and-read-only-the-relevant-pages/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-search-large-pdfs-and-read-only-the-relevant-pages)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Search large PDFs and read only the relevant pages before answering"
slug: "search-large-pdfs-and-read-only-the-relevant-pages-before-answering"
description: "Use pdf-mcp to inspect a PDF, search it, and load only the pages that matter so an agent can answer questions from long documents without brute-forcing the whole file into context."
github_stars: 17
verification: "security_reviewed"
source: "https://github.com/jztan/pdf-mcp"
author: "jztan"
publisher_type: "individual"
category: "Data Extraction & Transformation"
framework: "MCP"
tool_ecosystem:
  github_repo: "jztan/pdf-mcp"
  github_stars: 17
  npm_package: "pdf-mcp"
  npm_weekly_downloads: 42
---

# Search large PDFs and read only the relevant pages before answering

Use pdf-mcp to inspect a PDF, search it, and load only the pages that matter so an agent can answer questions from long documents without brute-forcing the whole file into context.

## Prerequisites

Python 3.10+; an MCP-compatible client; local PDFs or accessible PDF URLs; optional extra dependencies for semantic search.

## Installation

Use the upstream install or setup path that matches your environment:
- pip install pdf-mcp
- pip install 'pdf-mcp[semantic]'
- brew install tesseract
- git clone https://github.com/jztan/pdf-mcp.git

Requirements and caveats from upstream:
- [![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)
- A [Model Context Protocol](https://modelcontextprotocol.io/) (MCP) server that enables AI agents to read, search, and extract content from PDF files. Built with Python and PyMuPDF, with SQLite-based caching for persis...
- For OCR on scanned PDFs (requires system Tesseract):

Basic usage or getting-started notes:
- bash
- For semantic search (adds fastembed and numpy, ~67 MB model download on first use):
- # macOS

- Source: https://github.com/jztan/pdf-mcp
- Extracted from upstream docs: https://raw.githubusercontent.com/jztan/pdf-mcp/HEAD/README.md

## Documentation

- https://github.com/jztan/pdf-mcp

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/search-large-pdfs-and-read-only-the-relevant-pages-before-answering/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.