pdf-search-mcp

v0.5.1
pdf-search-mcp Checked 1 day ago Published 2 months ago

MCP server for full-text search across PDF document collections

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

read_page

Read the full text of a specific page from an indexed PDF. Use after search() to read the complete page content around a match. If the result contains garbled text, broken symbols, or unreadable formulas, use read_page_image() instead — it renders the page as a PNG that preserves formulas, diagrams, and tables exactly. For tables and dense data, crop to the relevant region to read values reliably. Args: filename: PDF filename exactly as shown in search results. page: 1-based page number. subfolder: Subfolder as shown in search results. Requir…

ParameterTypeDescription
filename *string
page *integer
subfolder

read_page_image

Render a PDF page (or cropped region) as a PNG for visual inspection. Use instead of read_page() when text extraction misses formulas, diagrams, or tables. Workflow: 1. First call: render the full page (no region, default dpi) to orient yourself. Do NOT raise dpi — default 140 already fills the vision model's 1568 px input limit. Higher DPI just gets downscaled. 2. ALWAYS crop before reading values. Tables, formulas, and dense data are NOT reliably readable at full-page scale. Call again with region to crop the area of interest. DPI auto-scal…

ParameterTypeDescription
filename *string
page *integer
dpiinteger
region
subfolder

stats

Show PDF search index statistics (file count, page count, DB size, renderer).