Paperless-AI analyzes your documents and fills in title, tags, correspondent, document type, date and custom fields – and lets you ask questions about your whole archive in natural language, with answers that cite their sources. It works as an extension of Paperless-ngx (2.x and 3.x) or on its own with the built-in archive.
AI providers: OpenAI, Anthropic (Claude), Ollama (fully local), Azure OpenAI and every OpenAI-compatible API (DeepSeek, OpenRouter, LiteLLM, vLLM, LM Studio, Gemini, …).
💡 “When did I sign my rental agreement?” · “What was the amount of the last electricity bill?” · “Which documents mention my health insurance?”
- Automatic processing – metadata for new documents on a schedule or instantly via a Paperless-ngx workflow; trigger and exclude tags; restrict the AI to existing tags, correspondents and types; prompt rules per kind of document
- Ask your archive – questions in plain language, hybrid keyword and vector search, answers with sources
- OCR – reads scans and photos locally with PaddleOCR (CPU or NVIDIA GPU) before the analysis; optionally lays the text into the PDF (searchable PDF)
- Built-in archive – run without Paperless-ngx: upload, watch folders, e-mail, WebDAV, phone; PDFs, images, text files, e-mails and – with LibreOffice built in, no extra service – Office documents; versions, trash, libraries with roles; move over from Paperless-ngx with the same document ids; the mobile apps made for Paperless-ngx work with it
- AI agents (MCP) – an MCP server for Claude, Hermes, OpenCode and other agents: search, read, ask, change and add documents, with fine-grained permissions, libraries and rate limits per API key
- Search and metadata – search syntax (
tag:steuer from:adac created:2024), find and merge duplicate tags and correspondents - Workflows – when something happens and the document matches, do something (tags, fields, e-mail, webhooks …), with test runs and undo
- Calendar – appointments and deadlines from your documents as an iCal subscription
- Tools – chat with every document, manual review, prompt playground and library, history with undo, live logs; two-factor authentication and single sign-on
| Ask your archive | Manual review |
|---|---|
![]() |
![]() |
# 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: schedules, dates, logs
# - TRUST_PROXY=1 # behind a reverse proxy (Traefik, Caddy, nginx, Coolify …)
volumes:
- paperless-ai_data:/app/data
# Built-in archive: a folder for your scanner – set /scans as the watch folder in Settings → Archive
- ./scans:/scans
extra_hosts:
- "host.docker.internal:host-gateway" # to reach Ollama on the Docker host
volumes:
paperless-ai_data:docker compose up -dOpen http://<your-server>:3000 – the setup wizard asks for your account, the archive (Paperless-ngx or built-in), the AI provider and the processing options.
Important
Complete the setup before the instance is reachable from other networks, and keep Paperless-AI in your local network or behind a VPN or an authenticating reverse proxy.
More: Installation (NVIDIA image, Paperless-ngx API user, instant processing, reverse proxy) · Upgrading from 3.x · Configuration
All guides: docs/guide – installation, configuration, built-in archive, getting documents in, mobile apps, AI agents (MCP), search, prompt rules, OCR, Ask your archive, calendar, single sign-on, local models, certificates, API and development. Release notes: GitHub Releases.
- Issues
- Discord
- Contributing: pull requests are welcome – see Development
MIT – see LICENSE.
AI-assisted development – Paperless-AI is a hobby project, and large parts of the v4 code are written with the help of AI coding tools. The code is covered by automated tests, but AI-assisted code can still contain bugs or security issues that are easy to miss. Please report security problems privately as described in SECURITY.md.
No warranty – this software is provided "as is", without warranty of any kind (see LICENSE). Don't expose it to the internet without additional protection, such as a VPN or an authenticating reverse proxy.


