mcp-server-paperless
Talk to your paperless-ngx archive.
Claude, Cursor, VS Code and every other MCP client can find, read, file, upload and organise
your documents, by name, and nothing final happens without your yes.


Quick start · What you can ask · Comparison ·
Toolsets · Safety · Documentation

Version 0.3.2 against a real paperless-ngx 3.4.2 with invented documents. The questions, the
yes and the tool calls are scripted, the answers are the server's own, shortened
(how it is recorded).
claude mcp add paperless --env PAPERLESS_URL=https://paperless.example.org \
--env PAPERLESS_TOKEN=your-api-token -- uvx mcp-server-paperless@latest
mcp-server-paperless is a Model Context Protocol server for
paperless-ngx 3.x, built on FastMCP 4. It gives Claude Code, Claude Desktop, claude.ai, Cursor, VS
Code and any other MCP client 97 tools in 13 toolsets that cover most of what the Paperless API
can do, from a search to saved views, mail rules and workflows. It starts small and careful: 20
tools by default, names instead of ids, and a confirmation step before anything that cannot be
undone.
flowchart LR
A["Claude Code · Claude Desktop<br>Cursor · VS Code"] -- stdio --> S
B["claude.ai<br>connector"] -- "HTTPS + OIDC" --> S
C["Other MCP<br>clients"] -- "HTTP + bearer token" --> S
S(["mcp-server-paperless"]) -- "REST API v10" --> P[("paperless-ngx 3.x")]
What you can ask
- "What is in my inbox? Suggest a correspondent, type and tags for each document and file them
once I agree."
- "Find last year's electricity bills and add up what I paid."
- "Upload this PDF as an invoice from ACME and tag it tax-2026."
- "Which documents mention the rental deposit? Show me the paragraph."
- "The date next to the signature is unreadable in the text. Show me that part of page 2."
- "Merge the three scans of the contract into one document and rotate page 2."
- "Give me a link to my insurance policy that expires in a week."
- "Set up a mail rule that files the invoices from billing@example.org."
- "Find duplicate and unused tags and propose how to clean them up."
- "Which documents have no document type yet? Then run my saved view To do."
An example of how that goes (illustrative):
You: What is still in my inbox?
Claude: Three documents. Here is how I would file them:
| Document |
Correspondent |
Type |
Tags |
| Electricity bill, March |
City Power |
Invoice |
utilities, tax-2026 |
| Policy update |
Northwind Insurance |
Letter |
insurance |
| Receipt, hardware store |
new: Brick & Bolt |
Receipt |
household |
"Brick & Bolt" does not exist yet as a correspondent; I would create it. Shall I apply this?
You: Yes, and tag the policy update tax-2026 too.
Four built-in prompts start such tasks from the client's prompt menu: triage_inbox,
find_document, annual_review and cleanup_taxonomy. Each one proposes its changes and waits
for your yes before it writes.
Why this one
There are already several MCP servers for paperless-ngx. This one is a new build, made for
people who want all of the following in one server:
- 🗂️ Much more than search. Besides finding, reading and filing documents it handles notes,
custom fields, saved views, file versions, the trash, PDF operations, share links, mail rules,
workflows, permissions and user administration: most of what paperless-ngx 3.x can do.
- 🏷️ Names instead of numbers. You say "invoices from ACME tagged tax-2026" and the server
finds the matching ids itself. If a name does not exist or fits more than one entry, it says so
and lists the candidates instead of guessing.
- 🛡️ Nothing final without your yes. Before a tool deletes, overwrites, publishes or shares
anything, it reports what would happen and waits for your confirmation. Changes to many
documents at once can be previewed first.
- 🪶 Small to start with. Only 20 tools by default out of the 97, so the assistant starts
with the essentials and you decide what else it may do. Search results are short lists and long
documents are read piece by piece, so a conversation does not fill up with text it does not
need.
- 🧪 Tested against a real Paperless. More than 600 tests run against a real paperless-ngx
after every change and every night, on top of more than 4,500 faster tests. Every week the
whole suite also runs against the newest Paperless release.
- 🔐 Safe to reach from outside. Over the network the server does not start without
authentication. Claude Code signs in with a token, claude.ai through your own identity
provider, and the container image runs without root rights.
How it compares
Some other paperless-ngx MCP servers, as their code stood on 23 November 2026 (read from their
sources, not run; ❌ means not found; open an issue if something is wrong or has changed):
Others exist; tb1337 and
chaosbit-dev also run saved views.
More tools is not better by itself: every tool a client loads costs context in every
conversation. This server keeps the default small and lets you switch on the rest.
Quick start
You need a Paperless API token: in Paperless open your profile menu, "My Profile", and create an
API auth token. The server acts as that user and sees and changes only what that user may.
Claude Code
With uv installed, one command, no clone:
claude mcp add paperless \
--env PAPERLESS_URL=https://paperless.example.org \
--env PAPERLESS_TOKEN=your-api-token \
-- uvx mcp-server-paperless@latest
Add --scope user to have it in every project. Then ask Claude for an overview of your Paperless
instance. @latest makes uvx check for a new release at every start; to stay on one, name its
version instead (mcp-server-paperless@0.2.0).
Or as a plugin, which asks for seven options (only the URL and the token are required), so the token
is in no command and Claude Code keeps it in its credential store. In a session (Claude Code 2.1.275 or later):
/plugin install mcp-server-paperless --marketplace gardenbaum/mcp-server-paperless
From your shell, followed by /plugin configure mcp-server-paperless@gardenbaum in a session and a
restart of Claude Code:
claude plugin marketplace add gardenbaum/mcp-server-paperless
claude plugin install mcp-server-paperless@gardenbaum
The plugin also brings four skills (inbox triage, finding a document, annual review, taxonomy
cleanup) that Claude can pick by itself. The
plugin runs a
fixed release of the package (its dependencies are resolved at install). For the next one, refresh
the marketplace first, then restart Claude Code or run /reload-plugins:
claude plugin marketplace update gardenbaum
claude plugin update mcp-server-paperless@gardenbaum
Remove an entry you added with claude mcp add (claude mcp remove paperless), or every tool
appears twice.
[!WARNING]
The package is mcp-server-paperless. The PyPI project
paperless-mcp is a different server by someone
else; uvx paperless-mcp would run it with your Paperless token.
Claude Desktop
Add the server to claude_desktop_config.json (Settings, Developer, Edit Config) and restart:
{
"mcpServers": {
"paperless": {
"command": "uvx",
"args": ["mcp-server-paperless@latest"],
"env": {
"PAPERLESS_URL": "https://paperless.example.org",
"PAPERLESS_TOKEN": "your-api-token"
}
}
}
}
If Claude Desktop cannot find uvx, give its full path (which uvx). Other MCP clients that
start a stdio server (Windsurf, Zed, Cline, Continue, ...) take the same command, arguments and
environment.
VS Code
Install in VS Code: VS Code asks for the Paperless URL and the API token and keeps the
token as a secret. By hand, add the server to .vscode/mcp.json with the same uvx command as
for Claude Desktop.
Cursor
Install in Cursor, then replace the placeholder URL and token in the server settings
(~/.cursor/mcp.json). The repository is also a Cursor
plugin
for teams that set the two values in the Cursor dashboard.
Container, for remote clients
The image serves MCP over Streamable HTTP and does not start without authentication: