About Paperless MCP
Paperless MCP is an MCP server published by nloui in the Developer Tools category: an MCP (Model Context Protocol) server for interacting with a Paperless-NGX API server. This server provides tools for managing documents, tags, correspondents, and document types in your Paperless-NGX instance. Conduid read 16 tools from its source: bulk_edit_correspondents, bulk_edit_document_types, bulk_edit_documents, bulk_edit_tags, create_correspondent, create_document_type and 10 more. It is published to npm as @nloui/paperless-mcp and starts with npx.
The repository has 256 stars and 90 forks, and its last commit was on 11 Nov 2025. Conduid has no tagged release on record for it. It passes 3 of the 6 static checks Conduid ran on the repository; it does not pass License declared, Tests present and Scoped permissions. Its topics include paperless-ngx, document-management and devtools.
Install
claude mcp add paperless-mcp-nloui -- npx -y @nloui/paperless-mcpnpx -y @nloui/paperless-mcpgit clone https://github.com/nloui/paperless-mcpTools (16)
bulk_edit_correspondentsPerform bulk operations on multiple correspondents: set permissions to control who can assign them to documents, or permanently delete multiple correspondents. Use with caution as deletion affects all associated documents.| Parameter | Type | Description |
|---|---|---|
| correspondent_ids * | array | Array of correspondent IDs to perform bulk operations on. Use list_correspondents to get valid correspondent IDs. |
| merge | boolean | Whether to merge with existing permissions (true) or replace them entirely (false). Default is false. |
| operation * | string | Bulk operation: 'set_permissions' to control who can assign these correspondents to documents, 'delete' to permanently remove correspondents from the system. Warning: Deleting correspondents will remove them from all associated documents. |
| owner | number | User ID to set as owner when operation is 'set_permissions'. The owner has full control over these correspondents. |
| permissions | object | User IDs who can see and assign these correspondents to documents |
bulk_edit_document_typesPerform bulk operations on multiple document types: set permissions to control who can assign them to documents, or permanently delete multiple types. Use with caution as deletion affects all associated documents.| Parameter | Type | Description |
|---|---|---|
| document_type_ids * | array | Array of document type IDs to perform bulk operations on. Use list_document_types to get valid document type IDs. |
| merge | boolean | Whether to merge with existing permissions (true) or replace them entirely (false). Default is false. |
| operation * | string | Bulk operation: 'set_permissions' to control who can assign these document types to documents, 'delete' to permanently remove document types from the system. Warning: Deleting document types will remove the classification from all associated documents. |
| owner | number | User ID to set as owner when operation is 'set_permissions'. The owner has full control over these document types. |
| permissions | object | User IDs who can see and assign these document types to documents |
bulk_edit_documentsPerform bulk operations on multiple documents simultaneously: set correspondent/type/tags, delete, reprocess, merge, split, rotate, or manage permissions. Efficient for managing large document collections.| Parameter | Type | Description |
|---|---|---|
| add_tags | array | Array of tag IDs to add when method is 'modify_tags'. Use list_tags to get valid IDs. |
| correspondent | number | ID of correspondent to assign when method is 'set_correspondent'. Use list_correspondents to get valid IDs. |
| degrees | number | Rotation angle in degrees when method is 'rotate'. Use 90, 180, or 270 for standard rotations. |
| delete_originals | boolean | Whether to delete original documents after merge/split operations. Use with caution. |
| document_type | number | ID of document type to assign when method is 'set_document_type'. Use list_document_types to get valid IDs. |
| documents * | array | Array of document IDs to perform bulk operations on. Get document IDs from search_documents first. |
| metadata_document_id | number | Source document ID when merging documents. The metadata from this document will be preserved. |
| method * | string | The bulk operation to perform: set_correspondent (assign sender/receiver), set_document_type (categorize documents), set_storage_path (organize file location), add_tag/remove_tag/modify_tags (manage labels), delete (permanently remove), reprocess (re-run OCR/indexing), set_permissions (control access), merge (combine documents), split (separate into multiple), rotate (adjust orientation), delete_pages (remove specific pages) |
| pages | string | Page specification for delete_pages method. Format: '1,3,5-7' to delete pages 1, 3, and 5 through 7. |
| permissions | object | User ID to set as document owner, or null to remove ownership |
| remove_tags | array | Array of tag IDs to remove when method is 'modify_tags'. Use list_tags to get valid IDs. |
| storage_path | number | ID of storage path to assign when method is 'set_storage_path'. Storage paths organize documents in folder hierarchies. |
| tag | number | Single tag ID to add or remove when method is 'add_tag' or 'remove_tag'. Use list_tags to get valid IDs. |
bulk_edit_tagsPerform bulk operations on multiple tags: set permissions to control access or permanently delete multiple tags at once. Efficient for managing large tag collections.| Parameter | Type | Description |
|---|---|---|
| merge | boolean | Whether to merge with existing permissions (true) or replace them entirely (false). Default is false. |
| operation * | string | Bulk operation: 'set_permissions' to control who can use these tags, 'delete' to permanently remove all specified tags from the system. |
| owner | number | User ID to set as owner when operation is 'set_permissions'. Owner has full control over the tags. |
| permissions | object | User IDs who can see and use these tags |
| tag_ids * | array | Array of tag IDs to perform bulk operations on. Use list_tags to get valid tag IDs. |
create_correspondentCreate a new correspondent (person, company, or organization) for tracking document senders and receivers. Can include automatic matching patterns for smart assignment to incoming documents.| Parameter | Type | Description |
|---|---|---|
| match | string | Text pattern to automatically assign this correspondent to matching documents. Use names, email addresses, or keywords that appear in documents from this correspondent. |
| matching_algorithm | string | How to match text patterns: 'any'=any word matches, 'all'=all words must match, 'exact'=exact phrase match, 'regular expression'=use regex patterns, 'fuzzy'=approximate matching with typos. Default is 'any'. |
| name * | string | Name of the correspondent (person, company, or organization that sends/receives documents). Examples: 'Bank of America', 'John Smith', 'Electric Company'. |
create_document_typeCreate a new document type for categorizing documents by their purpose or format (e.g., Invoice, Receipt, Contract). Can include automatic matching rules for smart classification.| Parameter | Type | Description |
|---|---|---|
| match | string | Text pattern to automatically assign this document type to matching documents. Use keywords that commonly appear in this type of document (e.g., 'invoice', 'receipt', 'contract terms'). |
| matching_algorithm | string | How to match text patterns: 'any'=any word matches, 'all'=all words must match, 'exact'=exact phrase match, 'regular expression'=use regex patterns, 'fuzzy'=approximate matching with typos. Default is 'any'. |
| name * | string | Name of the document type for categorizing documents by their purpose or format. Examples: 'Invoice', 'Receipt', 'Contract', 'Letter', 'Bank Statement', 'Tax Document'. |
create_tagCreate a new tag for labeling and organizing documents. Tags can have colors for visual identification and automatic matching rules for smart assignment.| Parameter | Type | Description |
|---|---|---|
| color | string | Hex color code for visual identification (e.g., '#FF0000' for red, '#00FF00' for green). If not provided, Paperless assigns a random color. |
| match | string | Text pattern to automatically assign this tag to matching documents. Use keywords, phrases, or regular expressions depending on matching_algorithm. |
| matching_algorithm | number | How to match text patterns: 0=any word, 1=all words, 2=exact phrase, 3=regular expression, 4=fuzzy matching. Default is 0 (any word). |
| name * | string | Tag name for labeling and organizing documents (e.g., 'important', 'taxes', 'receipts'). Must be unique and descriptive. |
delete_tagPermanently delete a tag from the system. This removes the tag from all documents that currently use it. Use with caution as this action cannot be undone.| Parameter | Type | Description |
|---|---|---|
| id * | number | ID of the tag to permanently delete. This will remove the tag from all documents that currently use it. Use list_tags to find tag IDs. |
download_documentDownload a document file as base64-encoded data. Choose between original uploaded file or processed/archived version with OCR improvements.| Parameter | Type | Description |
|---|---|---|
| id * | number | Document ID to download. Get this from search_documents or get_document results. |
| original | boolean | Whether to download the original uploaded file (true) or the processed/archived version (false, default). Original files preserve exact formatting but may not include OCR improvements. |
get_documentGet complete details for a specific document including full metadata, content preview, tags, correspondent, and document type information.| Parameter | Type | Description |
|---|---|---|
| id * | number | Unique document ID. Get this from search_documents results. Returns full document metadata, content preview, and associated tags/correspondent/type. |
list_correspondentsRetrieve all available correspondents (people, companies, organizations that send/receive documents). Returns names and automatic matching patterns for document assignment.list_document_typesRetrieve all available document types for categorizing documents by purpose or format (Invoice, Receipt, Contract, etc.). Returns names and automatic matching rules.list_tagsRetrieve all available tags for labeling and organizing documents. Returns tag names, colors, and matching rules for automatic assignment.post_documentUpload a new document to Paperless-NGX with metadata. Supports PDF, images (PNG/JPG/TIFF), and text files. Automatically processes for OCR and indexing.| Parameter | Type | Description |
|---|---|---|
| archive_serial_number | string | Custom archive number for document organization and reference. Useful for maintaining external filing systems. |
| correspondent | number | ID of the correspondent (sender/receiver) for this document. Use list_correspondents to find or create_correspondent to add new ones. |
| created | string | Document creation date in ISO format (YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss). If not provided, uses current date. |
| custom_fields | array | Array of custom field IDs to associate with this document. Custom fields store additional metadata. |
| document_type | number | ID of document type for categorization (e.g., Invoice, Receipt, Letter). Use list_document_types to find or create_document_type to add new ones. |
| file * | string | Base64 encoded file content. Convert your file to base64 before uploading. Supports PDF, images (PNG, JPG, TIFF), and text files. |
| filename * | string | Original filename with extension (e.g., 'invoice.pdf', 'receipt.png'). This helps Paperless determine file type and initial document title. |
| storage_path | number | ID of storage path to organize document location in folder hierarchy. Leave empty for default storage. |
| tags | array | Array of tag IDs to label this document. Use list_tags to find existing tags or create_tag to add new ones. |
| title | string | Custom document title. If not provided, Paperless will extract title from filename or document content. |
search_documentsSearch through documents using full-text search across content, titles, tags, and metadata. Returns document metadata WITHOUT the full OCR content field to prevent token overflow. Use get_document to retrieve full details for specific documents of interest. Supports Paperless-NGX advanced query syntax.| Parameter | Type | Description |
|---|---|---|
| page | number | Page number for pagination (starts at 1). Use to browse through large result sets without hitting token limits. |
| page_size | number | Number of documents per page (default 25, max 100). Smaller page sizes help avoid token limits when many documents match. |
| query * | string | Search query using Paperless-NGX syntax. By default, matches documents containing ALL words. Advanced syntax: Field searches: 'tag:unpaid', 'type:invoice', 'correspondent:university'. Logical operators: 'term1 AND (term2 OR term3)'. Date ranges: 'created:[2020 to 2024]', 'added:yesterday', 'modified:today'. Wildcards: 'prod*name'. Combine multiple criteria as needed. Search looks through document content, title, correspondent, type, and tags. |
update_tagModify an existing tag's name, color, or automatic matching rules. Useful for refining tag organization and improving automatic document classification.| Parameter | Type | Description |
|---|---|---|
| color | string | New hex color code for visual identification (e.g., '#FF0000' for red). Leave empty to keep current color. |
| id * | number | ID of the tag to update. Use list_tags to find existing tag IDs. |
| match | string | Text pattern for automatic tag assignment. Empty string removes auto-matching. Use keywords, phrases, or regex depending on matching_algorithm. |
| matching_algorithm | number | Algorithm for pattern matching: 0=any word, 1=all words, 2=exact phrase, 3=regular expression, 4=fuzzy matching. |
| name * | string | New tag name. Must be unique among all tags. |
Security checks
Static checks derived from the repository yesterday. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.1K words.
- !License declaredNo license file. Legally you have no right to use it in a product.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
- ✓No dynamic code executionScanned 6 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio, Streamable HTTP and HTTP with SSEsrc/index.ts:3, src/index.ts:4, src/index.ts:2
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 3 callssrc/api/PaperlessAPI.ts:19, src/api/PaperlessAPI.ts:83, src/api/PaperlessAPI.ts:134
- Writes or deletes files
- No file writes or deletes
- Lockfile
- package-lock.json
Pattern matches on the source text of 6 files: places to read, not proof of what the code does at run time.
README
The repository's README runs to about 1.1K words, fetched yesterday. The original in the repository is authoritative.
Read full README