{"slug": "connect-claude-code-cursor-and-codex-to-an-open-source-pdf-ocr-engine-via-remote", "title": "Connect Claude Code, Cursor, and Codex to an Open-Source PDF OCR Engine via Remote MCP", "summary": "The PDFCraft team released a hosted Remote MCP server (Streamable HTTP) and public REST API that let AI coding agents such as Claude Code, Cursor, and Codex convert complex PDFs — scanned books, two-column papers, LaTeX-heavy manuals — into clean Markdown, reflowable EPUB, and 22-language translations. The server at api.pdfcraft.ai/v1/mcp supports OAuth 2.1 and Bearer API keys and is listed in the Official MCP Registry, alongside the MIT-licensed pdf-craft library (6,800+ GitHub stars) installable via pip.", "body_md": "Most AI coding agents struggle the moment you hand them a scanned book, a two-column academic PDF, or a technical manual full of LaTeX formulas and footnotes. Standard text extractors scramble columns, repeat running headers on every page, and lose table structure.\n\nWe built **[PDFCraft](https://pdfcraft.ai)** (backed by the MIT-licensed open-source library **[oomol-lab/pdf-craft](https://github.com/oomol-lab/pdf-craft)**, **6,800+ GitHub stars**, archived on CERN Zenodo at [DOI 10.5281/zenodo.24855404](https://doi.org/10.5281/zenodo.24855404)) to reconstruct clean reading order, Markdown, reflowable EPUB, and 22-language translations from complex PDFs.\n\nToday, in addition to running `pip install pdf-craft` locally or using the [online workspace](https://pdfcraft.ai), you can connect AI agents directly to PDFCraft over **Remote MCP (Streamable HTTP)** or the **Public REST API**.\n\n`Streamable HTTP`)\nPDFCraft exposes a hosted Streamable HTTP MCP server at:\n\n```\nhttps://api.pdfcraft.ai/v1/mcp\n```\n\nIt supports **OAuth 2.1** (scope `pdfcraft:use`, browser sign-in with zero key copying) or a standard **Bearer API key** (from [pdfcraft.ai/api-keys](https://pdfcraft.ai/api-keys)), and is listed in the Official MCP Registry under `io.github.oomol-lab/pdf-craft`.\n\n```\nclaude mcp add --transport http -s user pdfcraft https://api.pdfcraft.ai/v1/mcp\ncodex mcp add pdfcraft --url https://api.pdfcraft.ai/v1/mcp\n```\n\n`mcp.json`)\n\n```\n{\n  \"mcpServers\": {\n    \"pdfcraft\": {\n      \"url\": \"https://api.pdfcraft.ai/v1/mcp\"\n    }\n  }\n}\n```\n\nFull setup instructions for every client live at [pdfcraft.ai/connect/](https://pdfcraft.ai/connect/).\n\n```\n  pip install pdf-craft\n  # Or with local NVIDIA CUDA GPU acceleration:\n  pip install \"pdf-craft[local]\"\n```\n\n`oomol/pdf-craft`)\nIf you run into tricky multi-column papers or historical scans, drop an issue on [github.com/oomol-lab/pdf-craft](https://github.com/oomol-lab/pdf-craft) and let us know what layout edge cases you want improved next.", "url": "https://wpnews.pro/news/connect-claude-code-cursor-and-codex-to-an-open-source-pdf-ocr-engine-via-remote", "canonical_source": "https://dev.to/alwaysmavs/connect-claude-code-cursor-and-codex-to-an-open-source-pdf-ocr-engine-via-remote-mcp-2ca2", "published_at": "2026-12-05 07:12:22+00:00", "updated_at": "2026-12-05 07:13:57.327127+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "ai-tools", "developer-tools", "artificial-intelligence"], "entities": ["PDFCraft", "oomol-lab/pdf-craft", "Claude Code", "Cursor", "Codex", "Official MCP Registry", "CERN Zenodo"], "also_reported_by": [], "takeaway": "PDFCraft's hosted Streamable HTTP MCP server at api.pdfcraft.ai/v1/mcp can be added to Claude Code or Codex with a single command and supports OAuth 2.1 or Bearer API keys, giving agents clean Markdown/EPUB extraction from multi-column and scanned PDFs.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/connect-claude-code-cursor-and-codex-to-an-open-source-pdf-ocr-engine-via-remote", "markdown": "https://wpnews.pro/news/connect-claude-code-cursor-and-codex-to-an-open-source-pdf-ocr-engine-via-remote.md", "text": "https://wpnews.pro/news/connect-claude-code-cursor-and-codex-to-an-open-source-pdf-ocr-engine-via-remote.txt", "jsonld": "https://wpnews.pro/news/connect-claude-code-cursor-and-codex-to-an-open-source-pdf-ocr-engine-via-remote.jsonld"}}