Paperless-AI v4.5

Your documents, organised and answerable.

Paperless-AI fills in titles, tags, correspondents, dates and custom fields, reads bad scans with local OCR and answers questions about your whole archive – as an extension of Paperless-ngx or on its own with the built-in archive.

$ docker run -d \
    --name paperless-ai \
    -p 3000:3000 \
    -v paperless-ai_data:/app/data \
    clusterzx/paperless-ai:latest

Then open http://<your-server>:3000 – the setup wizard asks for the rest. With Docker Compose →

Runs with
Paperless-ngx 2.x / 3.x – or alone
AI
OpenAI, Claude, Ollama, Azure …
License
MIT, self-hosted
The dashboard of Paperless-AI
01

Two ways to run it

The setup asks once. Start next to Paperless-ngx and move to the built-in archive later – the migration keeps the document ids, so history, OCR and answers stay valid.

What you getWith Paperless-ngxcompanion modeBuilt-in archivestandalone mode
Where the documents liveIn Paperless-ngx (2.x and 3.x)In Paperless-AI – one container, no Redis or Postgres
AI analysis, OCR, Ask your archive, workflowsYes – results are written backYes
Getting documents inThrough Paperless-ngxUpload, REST, watch folders, e-mail, WebDAV, phone
File formatsWhat Paperless-ngx takes (Office with Tika and Gotenberg)PDF, images, text, e-mails – Office documents with LibreOffice built in, no extra service
Versions, trash, undoUndo for changes made by Paperless-AIYes – every change can be undone
Libraries with rolesPaperless-ngx permissions applyYes – for families and teams
Mobile apps made for Paperless-ngxConnect to Paperless-ngxYes – Swift Paperless, Paperless Mobile, Paperparrot …
SearchSearch syntax on top of Paperless-ngxFull-text search for 200,000+ documents
02

A short tour

With OpenAI, Anthropic (Claude), Azure OpenAI, any OpenAI-compatible API – or fully local with Ollama. Light and dark theme, a command menu (⌘K / Ctrl+K), and it works on the phone.

Ask your archive

Questions in plain language, answers with sources

“When did I sign my rental agreement?” – Paperless-AI finds the passages and answers with citations you can open.

  • Hybrid keyword and vector search, local embeddings included
  • A chat on every document
  • AI agents (Claude, Hermes …) connect over MCP
/ask
Ask your archive: an answer with sources
Automatic processing

Every new document, filled in

Title, tags, correspondent, document type, date and custom fields – on a schedule or instantly through a Paperless-ngx workflow.

  • Prompt rules: another prompt per kind of document
  • Only existing tags, correspondents and types, if you like
  • Review suggestions before they are applied
/review
Manual review of the AI suggestions
Documents and search

Find it, fix it, in bulk

Filters, saved views and bulk edits – and a search syntax like tag:steuer from:adac created:2024 that completes names as you type.

  • Duplicate tags and correspondents found and merged in one click
  • Workflows: when a document matches, set fields, send e-mails or webhooks
/documents
The document list with filters and search syntax
History

Nothing is lost

Every change – by you, the AI or a workflow – is recorded with its old values and can be undone, one document or a whole run at a time.

/history
The history with undo
03

Also in the box

Everything below is part of the one container – no add-ons to install.

Local OCR

Scans and photos are read with PaddleOCR on your CPU or NVIDIA GPU – the text is only replaced when it reads better, and can be laid into the PDF to make it searchable.

Getting documents in

Built-in archive: upload, a REST API, watch folders for scanners, IMAP mailboxes with rules, a WebDAV inbox and the share menu of your phone.

Mobile apps

The apps made for Paperless-ngx work with the built-in archive: browse, search, edit, upload from the phone.

AI agents (MCP)

An MCP server for Claude, Hermes, OpenCode and others – what an agent may do is set per API key.

Calendar

Appointments, payment due dates and deadlines from your documents, as a private iCal subscription.

Sign-in and API keys

Two-factor authentication, single sign-on with OpenID Connect, API keys with fine-grained permissions and rate limits.

04

Install

One container, one data volume. No restart after the setup.

  1. Save the file as docker-compose.yml and run docker compose up -d.
  2. Open http://<your-server>:3000.
  3. The setup wizard asks for your account, the archive (Paperless-ngx or built-in), the AI provider and the processing options.
  4. NVIDIA GPU for OCR? Use the image latest-cuda – see the installation guide.

Before others can reach it: complete the setup first, and keep Paperless-AI in your local network or behind a VPN or an authenticating reverse proxy. Coming from 3.x? See Upgrading.

docker-compose.yml
services:
  paperless-ai:
    image: clusterzx/paperless-ai:latest
    container_name: paperless-ai
    restart: unless-stopped
    ports:
      - "3000:3000"
    environment:
      - TZ=Europe/Berlin # your time zone
    volumes:
      - paperless-ai_data:/app/data
      - ./scans:/scans # built-in archive: scanner folder
    extra_hosts:
      - "host.docker.internal:host-gateway" # Ollama on the host

volumes:
  paperless-ai_data: