PDFCabin — Self-Hosted PDF & OCR Toolkit

    by LegitAntiAA

    1

    Privacy-first local PDF skill for MCP agents. Merge, split, compress, OCR (English & Russian), and full-text search documents in Docker without sending files to the cloud.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    PDFCabin — Self-Hosted PDF & OCR Toolkit

    Example session with this skill installed

    Scan my local ./scans/contract_scan.pdf, run OCR if it has no text layer, compress it, and find all pages mentioning "payment".

    • Read your context and instructions
    • Compiled the pdfcabin

    Summary

    Imported contract_scan.pdf, detected no text layer, ran English+Russian OCR, compressed the file by 62%, and located 3 matching pages.

    StepActionResult
    1. Importupload_documentAdded contract_scan.pdf (14 pages)
    2. Inspectpdf_infohas_text_layer: false (scan detected)
    3. OCRpdf_ocr (rus+eng)Searchable text layer added & indexed
    4. Compresspdf_compress (strong)18.4 MB → 7.0 MB (-62%)
    5. Searchsearch_documents("payment")Found 3 matches (pages 2, 7, 11)
    {
      "file": "contract_scan_compressed.pdf",
      "matches": [
        { "page": 2, "snippet": "...initial payment is due within 10 business days..." },
        { "page": 7, "snippet": "...late payment fee of 0.5% per day..." },
        { "page": 11, "snippet": "...payment schedule and bank details..." }
      ]
    }
    

    Next steps

    • Export the compressed, searchable PDF to your desktop using save_document, or extract full text from pages 2, 7, and 11 with extract_text.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    PDFCabin turns your AI agent into a private, local document workshop.

    Instead of uploading sensitive contracts, scans, or invoices to third-party cloud APIs, this skill teaches your agent (Claude Code, Cursor, Copilot, Antigravity) how to operate a self-hosted PDFCabin Docker container (http://localhost:8420/mcp) with 15 dedicated MCP tools.

    What your agent can do:

    • Smart OCR (English + Russian): Automatically checks if a PDF already has a text layer (pdf_info) before running Tesseract/OCRmyPDF (pdf_ocr), saving time.
    • Full-Text Search: Searches across all indexed documents via SQLite FTS5 (search_documents) and returns exact page numbers and snippets.
    • Edit & Optimize: Merge (pdf_merge), split (pdf_split), rotate (pdf_rotate), delete pages (pdf_delete_pages), and compress (pdf_compress — lossless or strong Ghostscript downsampling).
    • Safe File Handling: Imports and exports files cleanly without overwriting existing documents unless explicitly requested.

    Requires PDFCabin running in Docker at http://localhost:8420/mcp. Search matches exact word forms only (no stemming). OCR is limited to English and Russian.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 17 days ago

    Software
    DockerPDFCabin MCP server (http://localhost:8420/mcp)

    Permissions

    Network Access
    Read Files
    Write Files
    Listed17 days ago

    What's inside

    Frequently Asked Questions

    This skill acts as a secure bridge between your AI agent and a self-hosted PDFCabin instance, allowing you to perform heavy-duty tasks like OCR, merging, and full-text search locally without uploading sensitive files to the cloud.

    Yes, the skill is designed to work with any AI agent that supports the Model Context Protocol (MCP), though it requires a running PDFCabin Docker container at its default local address to function.

    Unlike standard agents that struggle with large files, this skill uses a dedicated SQLite FTS5 index to search across your entire library and provides specific tools for binary operations like page rotation, splitting, and high-ratio Ghostscript compression.

    The skill currently supports high-accuracy OCR for documents in both English and Russian, making it ideal for processing multilingual archives or scanned receipts.

    You will receive the MCP tool definitions and connection protocols necessary to integrate PDFCabin into your agent environment; please note that the PDFCabin Docker image itself is a prerequisite for the skill to operate.

    New in LLM Ops

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.