pdf-search-mcp
v0.5.1MCP 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.
search
Search indexed PDFs using FTS5 full-text search. Supports FTS5 syntax: phrases ("exact phrase"), AND (implicit), OR, NOT, prefix (term*), NEAR(term1 term2, 10), parentheses. Terms with special characters (dots, hyphens, colons, slashes, ...) are auto-quoted — FTS5 treats them as token separators. You can also quote them yourself: "4200-3", "v2.1". German ß↔ss / ä↔ae / ö↔oe / ü↔ue variants are expanded automatically. When no results match all terms (implicit AND), the query is automatically relaxed: first by dropping the term least represented…
| Parameter | Type | Description |
|---|---|---|
query * | string | |
limit | integer |
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…
| Parameter | Type | Description |
|---|---|---|
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…
| Parameter | Type | Description |
|---|---|---|
filename * | string | |
page * | integer | |
dpi | integer | |
region | ||
subfolder |
stats
Show PDF search index statistics (file count, page count, DB size, renderer).