Skip to main content
Claude Code can open a PDF when you give it the path. To search across many PDFs, or to read scanned ones as text, add Linkly AI over MCP.

What Claude Code does on its own

According to the tools reference:
  • PDFs of up to 10 pages are read whole.
  • Longer ones are read in ranges, such as pages 1-5, up to 20 pages at a time.
  • Reading ranges needs poppler. On macOS run brew install poppler; on Debian or Ubuntu run apt-get install poppler-utils.
This is fine for one known file. It doesn’t search inside PDFs.

When to add Linkly AI

Set it up

1

Install Linkly AI and add folders

Add the folders that hold your PDFs. Indexing runs on your computer.
2

Connect Claude Code

3

Try it

More options are in Using Linkly AI in Claude Code.