Skip to main content
Glama
chrisguidry

paperless-mcp

by chrisguidry

paperless-mcp

A read-only MCP server for your paperless-ngx document archive. It lets an AI assistant search your documents by full text, tags, correspondents, and dates, and read the text of any document — without being able to change or delete anything.

Setup

uv sync

You'll need an API token from your paperless-ngx instance: log in, open your profile (the person icon in the top right), and copy or generate the API token there.

The server is configured entirely through environment variables:

export PAPERLESS_URL=https://paperless.example.com
export PAPERLESS_TOKEN=your-api-token

Related MCP server: paperlessngx-mcp

Connecting a client

For Claude Code:

claude mcp add paperless \
  -e PAPERLESS_URL=https://paperless.example.com \
  -e PAPERLESS_TOKEN=your-api-token \
  -- uv run --directory /path/to/paperless-mcp paperless-mcp

For Claude Desktop, add this to claude_desktop_config.json:

{
  "mcpServers": {
    "paperless": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/paperless-mcp", "paperless-mcp"],
      "env": {
        "PAPERLESS_URL": "https://paperless.example.com",
        "PAPERLESS_TOKEN": "your-api-token"
      }
    }
  }
}

Tools

Tool

What it does

search_documents

Full-text search (whoosh syntax) plus filters for title, content, tags, correspondent, document type, storage path, and dates

get_document

One document's full metadata, with optional inline text content

list_tags

Tags, filterable by name

list_correspondents

Correspondents, filterable by name

list_document_types

Document types, filterable by name

list_storage_paths

Storage paths, filterable by name

list_custom_fields

Custom field definitions

Every document result includes a uri like paperless://documents/42 that can be read as an MCP resource.

Resources

Resource

Contents

paperless://documents/{id}

The document's full text

paperless://documents/{id}/thumbnail

A WebP thumbnail of the first page

Security

This server is read-only by construction: it only ever issues GET requests to paperless-ngx, and it exposes no way to create, modify, or delete documents. It performs no authentication of its own — anyone who can reach the running server can read whatever the configured token can read, so treat the token accordingly and run the server close to where you use it.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivitySlowing
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    A
    maintenance
    An Agentic RAG MCP Server that transforms Paperless-ngx into a conversational document assistant, enabling LLMs to search, filter, and summarize documents using natural language.
    4
    GPL 3.0
  • F
    license
    A
    quality
    B
    maintenance
    A privacy-first MCP server for Paperless-ngx that lets an LLM agent search, organize, tag, and reference documents without exposing full text unless explicitly requested.
    13
    -
  • A
    license
    Not graded
    quality
    A
    maintenance
    A read-only and write MCP server for Paperless-ngx, enabling document listing, metadata retrieval, and creation of tags, correspondents, document types, and sorting workflows via natural language.
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chrisguidry/paperless-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server