npm @pageindex/mcpstdioMITupdated 1mo ago
If you find this repo useful, please also star our main PageIndex repo ⭐
¿Qué puedes hacer con PageIndex MCP?
PageIndex MCP
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 ✨
- Support local and online PDFs
- Free 1000 pages
- Unlimited conversations
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.
What is PageIndex?
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:
- Higher Accuracy: Relevance beyond similarity
- Better Transparency: Clear reasoning trajectory with traceable search paths
- Like A Human: Retrieve information like a human expert navigates documents
- No Vector DB: No extra infrastructure overhead
- No Chunking: Preserve full document context and structure
- No Top-K: Retrieve all relevant passages automatically
PageIndex MCP Setup
For Developers
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.
- Go to PageIndex Dashboard to create an API Key
- Copy the generated key
- Add to your MCP configuration:
{
"mcpServers": {
"pageindex": {
"type": "http",
"url": "https://api.pageindex.ai/mcp",
"headers": {
"Authorization": "Bearer your_api_key"
}
}
}
}
For more details, visit the PageIndex API Dashboard.
For PageIndex App Users
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:
{
"mcpServers": {
"pageindex": {
"type": "http",
"url": "https://app.pageindex.ai/mcp"
}
}
}
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):
{
"mcpServers": {
"pageindex": {
"command": "npx",
"args": ["-y", "@pageindex/mcp"]
}
}
}
For more details, visit PageIndex App.
Related Links
License
This project is licensed under the terms of the MIT open source license. Please refer to MIT for the full terms.
Instalación
Añade PageIndex MCP a tu cliente. Elige el que uses.
claude mcp add mcp -- npx -y @pageindex/mcpcodex mcp add mcp -- npx -y @pageindex/mcpamp mcp add mcp -- npx -y @pageindex/mcp{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@pageindex/mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@pageindex/mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"mcp","command":"npx","args":["-y","@pageindex/mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@pageindex/mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@pageindex/mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@pageindex/mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@pageindex/mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"@pageindex/mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @pageindex/mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
Puntuación
39 / 100
Incompleta
- Documentación25/25
- Mantenimiento22/25
- Confianza16/20
- Capacidad0/15
- Instalación12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 38 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Historial de versiones
| Versiones | Publicada |
|---|---|
| 1.8.2Última | 25 jul 2026 |
| 1.8.1 | 28 may 2026 |
| 1.6.2 | 14 oct 2025 |