PageIndex MCP for Developers
Connect PageIndex to your agent framework or LLM via MCP (Model Context Protocol) . Works with Claude Agent SDK, Vercel AI SDK, LangChain, OpenAI Agents SDK, and any MCP-compatible client.
PageIndex MCP uses API Key authentication for reliable deployment in production. It shares the same PageIndex API under the hood, so your existing API key, documents, and plan work seamlessly across both REST and MCP access.
This PageIndex MCP is designed for developer integration in production environments. It does not share files or usage with PageIndex Chat , which is designed for end users.
Integration
- Go to the PageIndex Developer Dashboard to create an API Key.
- Add to your MCP client configuration:
{
"mcpServers": {
"pageindex": {
"type": "http",
"url": "https://api.pageindex.ai/mcp",
"headers": {
"Authorization": "Bearer your_api_key"
}
}
}
}Cookbook: MCP Integration Examples
Step-by-step Jupyter notebooks showing how to connect PageIndex MCP with popular agent frameworks and LLM APIs. Each notebook walks through performing agentic, reasoning-based retrieval with PageIndex from an uploaded PDF.
Anthropic · Claude Sonnet 4.6
OpenAI · GPT-5.4
Google · Gemini 2.5 Pro
RecommendedAnthropic · Claude Sonnet 4.6
OpenAI · GPT-5.4
Google · Gemini 3.1 Pro
LangChain · Claude Sonnet 4.6
LangChain · Claude Sonnet 4.6
Kimi, DeepSeek, GLM, Qwen, etc.
See more notebooks and details in the MCP Integration Cookbook.
Open Source
The PageIndex MCP server is open-source. For more details, visit the PageIndex MCP GitHub repo .