Reasoning-based RAG system for chatting with long PDFs. Supports local and online files.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
If you find this repo useful, please also star our main PageIndex repo β
π PageIndex is a vectorless, reasoning-based RAG system that represents documents as hierarchical tree structures. It enables LLMs to navigate and retrieve information through structure and reasoning, not vector similarity β much like a human would retrieve information using a book's index.
π PageIndex MCP exposes this LLM-native, in-context tree index directly to LLMs via MCP, allowing platforms like Claude, Cursor, and other MCP-compatible agents or LLMs to reason over document structure and retrieve the right information β without vector databases.
Want to chat with long PDFs but hit context limit reached errors? Add your file to PageIndex to seamlessly chat with long PDFs on any agent/LLM platforms.
β¨ Chat to long PDFs the human-like, reasoning-based way β¨
For more information, visit the PageIndex MCP page.
π‘ Looking for a fully hosted experience? Try PageIndex App π€: a human-like document analyst that lets you chat with long PDFs using the same agentic, reasoning-based workflow as PageIndex MCP.
PageIndex is a vectorless, reasoning-based RAG system that generates hierarchical tree structures of documents and uses multi-step reasoning and tree search to retrieve information like a human expert would. It has the following key properties:
Connect PageIndex to your agent framework or AI SDK via MCP. Works with Claude Agent SDK, Vercel AI SDK, OpenAI Agents SDK, LangChain, and any MCP-compatible client. Simple API Key authentication β no OAuth flow required.
For more details, visit the PageIndex API Dashboard.
If you already have a PageIndex App account, you can connect your MCP client directly via OAuth.
Claude Desktop β One-Click Install:
Download the .mcpb file from Releases and double-click to install. OAuth authentication is handled automatically.
Other MCP Clients:
Local MCP Server (with local PDF upload):
If you need to upload local PDF files, you can run the local MCP server (requires Node.js β₯18.0.0):
For more details, visit PageIndex App.
This project is licensed under the terms of the MIT open source license. Please refer to MIT for the full terms.
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/pageindex-mcp)<a href="https://allmcps.com/mcp/pageindex-mcp"><img src="https://allmcps.com/api/badge/pageindex-mcp?style=directory" alt="Pageindex Mcp on AllMCPs" /></a>