PDF reader for vision LLMs. Auto-detects text corruption and switches to image mode.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Pdf4vllm.
list_pdfsFind PDF files with glob filtering (`name_pattern`)
read_pdfExtract PDF content as ordered blocks
grep_pdfSearch text in PDFs using pdfgrep (requires `pdfgrep` installed)
PDF reading MCP server optimized for vision LLMs.
| λ°©μ | λ¬Έμ μ |
|---|---|
| ν μ€νΈ μΆμΆ | μΈμ½λ© κΉ¨μ§ β μ°λ κΈ° μΆλ ₯, μ΄λ―Έμ§-ν μ€νΈ μμ λ€μμ |
| μ΄λ―Έμ§ λ³ν | ν ν° νλ° (νΉν νμ΄μ§ λ§μ λ) |
pdf4vllmμ PDFκ° μ§μ λΆνλ€κ³ κ°μ ν©λλ€.
λλ μ§μ μ€μ (~/Library/Application Support/Claude/claude_desktop_config.json):
| λꡬ | μ€λͺ |
|---|---|
list_pdfs | PDF νμΌ μ°ΎκΈ° (glob ν¨ν΄ name_pattern μ§μ) |
read_pdf | PDF λ΄μ© λΈλ‘μΌλ‘ μΆμΆ |
grep_pdf | PDF λ΄ ν
μ€νΈ κ²μ (pdfgrep μ€μΉ νμ) |
| λͺ¨λ | μ€λͺ |
|---|---|
auto (κΈ°λ³Έ) | ν μ€νΈ μΆμΆ μλ β μμ κ°μ§ μ μ΄λ―Έμ§λ‘ μ ν |
text_only | ν μ€νΈ/νλ§ μΆμΆ, μ΄λ―Έμ§ μμ |
image_only | νμ΄μ§λ₯Ό μ΄λ―Έμ§λ‘λ§ λ λλ§ |
| Approach | Issue |
|---|---|
| Text extraction | Encoding corruption β garbage output, mixed text-image ordering |
| Image conversion | Token explosion (especially with many pages) |
pdf4vllm assumes PDFs are messy.
Or manually edit ~/Library/Application Support/Claude/claude_desktop_config.json:
Create .mcp.json in your project:
| Tool | Description |
|---|---|
list_pdfs | Find PDF files with glob filtering (name_pattern) |
read_pdf | Extract PDF content as ordered blocks |
grep_pdf | Search text in PDFs using pdfgrep (requires pdfgrep installed) |
| Mode | Description |
|---|---|
auto (default) | Try text extraction β switch to image if corrupted |
text_only | Text/tables only, no images |
image_only | Render pages as images only |
When text is corrupted:
config.json or environment variables:
MIT
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/pdf4vllm)<a href="https://allmcps.com/mcp/pdf4vllm"><img src="https://allmcps.com/api/badge/pdf4vllm?style=directory" alt="Pdf4vllm on AllMCPs" /></a>