> pdf-archive.com · For developers Pro

Your archive,
from the command line.

One token, four ways in: MCP for AI assistants, a CLI with no dependency, a REST API, and an S3 endpoint that works with aws-cli and rclone. The scope stays limited to the folder you choose.

  • access.waysCLI · REST · S3 · MCP
  • access.tokenscoped revocable
  • access.signatureV4
  • access.dataFrance 100%
§ 01 CLI One binary
SubjectThe self-hosted client
Dependenciesnone
AuthPDF_ARCHIVE_TOKEN
Rev.I

The one line client

Self-hosted, with no npm and no dependency. The token is read from an environment variable.

Install in one command

$ curl -fsSL https://my.pdf-archive.com/cli/pdf-archive -o pdf-archive && chmod +x pdf-archive
pdf-archive
# 1. install (one line, no dependency) $ curl -fsSL https://my.pdf-archive.com/cli/pdf-archive \ -o pdf-archive && chmod +x pdf-archive # 2. set the token, then use it $ export PDF_ARCHIVE_TOKEN="pdfa_••••••••" $ pdf-archive upload contract.pdf # upload $ pdf-archive search "commercial lease" # search $ pdf-archive fetch 9f3a… # read the text
§ 02 REST API One request
SubjectThe upload endpoint
AuthBearer header
Bodymultipart or raw
Rev.I

From any script

An authenticated POST, with the token in a header. Multipart or raw body.

curl
$ curl -H "Authorization: Bearer pdfa_••••" \ -F "file=@invoice.pdf" \ https://my.pdf-archive.com/integrations/api/upload/ {"ok":true, "hash":"9f3a…", "folder_id":42}
§ 03 S3 compatible Signature V4
SubjectThe S3 endpoint
Endpoints3.pdf-archive.com
Mappingone folder, one bucket
Rev.I

The S3 tools you already use

Signature V4: aws-cli, rclone, s3cmd and the SDKs work as they are. Each folder is a bucket.

aws-cli / rclone
$ aws --endpoint-url https://s3.pdf-archive.com \ s3 cp folder/ s3://my-folder/ --recursive $ rclone copy ./scans pdfarchive:my-folder # access key + secret = your token
§ 04 Security 03 guarantees

You set the scope

01

Limited to one folder

The token only sees the folder you open to it. The rest of the archive stays invisible.

02

Fine grained permissions

Search, read, upload: switch on only what the tool actually needs.

03

Revocable, logged

Every call is traced; a token is revoked in one click.

§ 05 Frequently asked 05 questions

What developers ask us

And on a Mac, without living in the terminal?

The same client backs a quick action in the Finder: right click a document and it goes into the folder of your choice, with no browser. The install is done once.

Which token for which access?

The same token, created in your account, serves MCP, the CLI and the REST API (Bearer header). For S3 it also provides an access key and secret key pair (signature V4).

What file sizes?

On the free account, up to 100 MB per file, whichever way you use. On a paid tier, up to 8 GB per file, and a multi-part S3 upload, which rclone starts by itself for large files.

Does it work with rclone?

Yes: set up an S3 remote (provider Other), endpoint s3.pdf-archive.com, access key and secret from your token, in path style.

Where are my files?

Hosted in France, under the GDPR. Nothing is transferred outside the European Union.

Start archiving your documents
today.

Create a free account
FREU
HOSTED IN FRANCE
DATA IN THE EU
GDPR COMPLIANT
© 2026 PDF ARCHIVE · e.i. Valentin Beck · 67200 Strasbourg · hosted in France