Large PDFs cannot be consumed by Claude Desktop #5
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Reading large PDFs from Obsidian results in the following error in Claude:
"Output too large (26.3MB). Full output saved to: /sessions/blissful-loving-ramanujan/mnt/.claude/projects/-sessions-blissful-loving-ramanujan/b4356531-59f8-4e81-b961-78bd891c750e/tool-results/toolu_018NNa4YyBeRLXSSEgUt1j25.json
Preview (first 2KB): ..."
Key fixes for local MCP
Instead of sending the whole PDF as a single large string, break it into smaller chunks (e.g., 5–10 pages per chunk) and send them sequentially. This keeps each request under the context window and allows Claude to process them in parts.
Example (Python):
If your MCP server supports it, send the PDF in streaming chunks so Claude can process and respond to each chunk as it arrives, rather than waiting for the whole file.