okraPDF PDF MCP server
This MCP server enables AI agents to view PDFs as accessible HTML with bounding-box citations, and provides tools for layout-aware parsing, schema extraction, cross-document Q&A, and PDF rendering.
README
okraPDF — PDF MCP server
Give your AI agent real PDF tools over the Model Context Protocol. One command connects Claude, Cursor, ChatGPT, or any MCP host to okraPDF — turn any PDF into a bbox-cited accessible HTML twin, then parse, extract, query, and render.
This package is a thin launcher around the hosted okraPDF MCP endpoint
(https://okrapdf.com/mcp). There's no server to run locally — it bridges your MCP host
(over stdio) to the remote server and handles sign-in for you.
Quickstart
npx @okrapdf/pdf-mcp
view_html (PDF → accessible HTML twin) works with no account. The doc-intelligence tools
prompt a one-time Clerk sign-in in your browser the first time an agent calls them.
Claude Code
claude mcp add okrapdf -- npx -y @okrapdf/pdf-mcp
Claude Desktop / Cursor
Add to your MCP config (claude_desktop_config.json or Cursor's mcp.json):
{
"mcpServers": {
"okrapdf": {
"command": "npx",
"args": ["-y", "@okrapdf/pdf-mcp"]
}
}
}
Hosts with native remote MCP (Claude web, ChatGPT, Cursor)
Skip this package and add the URL directly: https://okrapdf.com/mcp. The launcher above is only
needed for hosts that speak stdio. Same endpoint, same sign-in.
Tools
| Tool | What it does | Auth |
|---|---|---|
view_html |
Stream any public PDF as a live, bbox-cited accessible HTML twin | None |
| doc-intelligence — parse · extract · query · resolve · upload · execute · render · workflow | Layout-aware parse, schema extraction with page/bbox citations, cross-document Q&A, renders, and multi-step workflows | Clerk sign-in |
Sign-in is identity, not a paywall — the doc-intelligence tools are free with an okraPDF account. The public
view_htmlaccessibility twin needs no account. See okrapdf.com.
Configuration
| Override | How |
|---|---|
| Point at a different okraPDF endpoint | OKRA_MCP_URL=http://localhost:8787/mcp npx @okrapdf/pdf-mcp (or pass the URL as the first arg) |
| Pass flags to the underlying bridge | Anything after the command is forwarded to mcp-remote, e.g. --transport sse-only, --debug |
How it works
MCP host ──stdio──▶ @okrapdf/pdf-mcp ──HTTPS (Streamable HTTP + OAuth)──▶ okrapdf.com/mcp
okraPDF's MCP is a hosted, remote server (Cloudflare Streamable HTTP). This launcher wraps
mcp-remote so stdio-only hosts can reach it and complete the Clerk OAuth sign-in for the
account-gated tools.
Links
- Website: https://okrapdf.com
- Docs / connector setup: https://okrapdf.com/docs
- Issues: https://github.com/okrapdf/pdf-mcp/issues
License
MIT © okraPDF
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.