Skip to content
Skillpedia
βœ“ Official Β· Vectify AI● Free and open sourceπŸ’» LocalπŸ”‘ Needs an API keyData and databases

PageIndex MCP

Lets your AI agent chat with long PDFs by reasoning over the document structure instead of searching by similarity.

408 stars on GitHubby Vectify AILicense MITUpdated 20 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add pageindex -- npx -y @pageindex/mcp

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Summarize chapter 3 of this 400-page PDF and tell me which pages it covers.
Find where this contract talks about termination and quote the clause.

What it is

PageIndex MCP connects your AI agent to PageIndex, a system that turns a document into a tree of sections, like a book's index. The agent then reasons over that tree to find the right passages. It works with local and online PDFs, so you can ask questions about long files without hitting context limit errors.

What it can do

  • Chat with long PDFs through a tree index of the document
  • Add local PDF files (using the local server)
  • Work with online PDFs
  • Retrieve passages by reasoning over document structure, with no vector database

When to use

  • β€ΊWhen you have a long PDF that is too big for your AI agent's context window.
  • β€ΊWhen you want answers that point back to the right section of a report or book.
  • β€ΊWhen you want to reuse the same documents across Claude, Cursor or other MCP agents.

What you need

A PageIndex API key from the PageIndex dashboard, or a PageIndex App account for the OAuth route. The local server for uploading local PDFs needs Node.js 18 or newer.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free?

The readme says you get 1000 free pages and unlimited conversations. It does not describe pricing beyond that.

Is it open source?

Yes. The project is under the MIT license.

What do I need to connect?

Create an API key in the PageIndex dashboard and add it as a Bearer token in your MCP config. App users can connect by OAuth instead.

Can it read PDFs on my computer?

Yes, through the local MCP server run with npx @pageindex/mcp, which needs Node.js 18 or newer.

Which agents does it work with?

Claude, Cursor and other MCP-compatible clients, including Claude Agent SDK, Vercel AI SDK, OpenAI Agents SDK and LangChain.

Does it use a vector database?

No. It builds a tree structure of the document and uses reasoning to search it.

If it does not work

  • β€ΊCheck that the API key is copied in full and that the Authorization header reads Bearer followed by your key.
  • β€ΊFor local PDF upload, make sure Node.js 18 or newer is installed, then restart your MCP client.
  • β€ΊFor Claude Desktop, install the .mcpb file from the Releases page and sign in when OAuth asks.

5 new skills a week. 1 minute to read.