Skip to main content
Glama

aichivist

Clean up your files – like an archivist.

Your AI renames, sorts and de-duplicates your documents.You approve every step, and everything can be undone.

tests Windows · macOS · Linux License: MIT

Get started · Why not just ask an AI? · What it can do

Why not just ask an AI?

Tell ChatGPT or Claude "tidy up my documents" and you usually get a quick job: folders by file type (PDFs, Images, Misc), the same cryptic names, duplicates left where they were – and sometimes a game or program that no longer starts because its files were moved. It happens all at once, with no plan to check and no way back. Next time, the AI invents a different system.

Asking an AI alone vs. an AI with aichivist

aichivist gives your AI what a professional archivist works with: your own filing rules, a plan you approve, names read from the document itself, duplicates found by content, programs that keep working, and a record of every step that can be undone. Tried in real use on 25,000 photos and 1,500 documents.

Related MCP server: everkeep

How it works

Demo: "Tidy up my Downloads" – the AI proposes a plan, you approve, the files are filed and the duplicate goes to the trash

The AI reads, proposes a plan, you approve, everything is filed

  • Nothing happens without your OK. You see the plan first and can change or strike any line.

  • Nothing gets lost. Every step is recorded and can be undone; duplicates go to the trash only after you agree.

  • Your files stay yours. Normal folders, your own cloud, no account, no server.

  • Speaks your language. Messages in English or German; rule templates in English, German, French, Italian and Spanish.

What it can do

Reads scans, names in your style, finds duplicates, programs keep working, seals finished folders, retention periods, backup check, private stays private

Get started

Claude Desktop – the easiest way, no technical knowledge needed

  1. Click Download for Claude Desktop above (no Claude Desktop yet? claude.ai/download).

  2. Double-click the downloaded file and choose the folders Claude may organize. If Windows asks which app to use, open Claude Desktop instead: Settings → Extensions → Advanced settings → Install Extension… and pick the file.

  3. Ask Claude: "Tidy up my Downloads."

Claude Code – type /plugin install aichivist --marketplace luftphilipp/aichivist, then say "Set up aichivist." The setup installs the command-line tool if it is missing (it asks first).

Codex, Gemini CLI, Cursor – pipx install aichivist (or uv tool install aichivist), then copy templates/AGENTS.md to where your agent reads instructions.

Other AI apps – aichivist's MCP server runs locally with uv installed:

  • Cursor: one-click install (organizes the open project folder).

  • VS Code / GitHub Copilot: one-click install (organizes the open folder).

  • Codex (OpenAI) – add to ~/.codex/config.toml, with the folders it may organize:

    [mcp_servers.aichivist]
    command = "uvx"
    args = ["--from", "aichivist[mcp]", "aichivist", "mcp", "--root", "~/Downloads", "--root", "~/Documents"]
  • Antigravity CLI (Google) – the same server in ~/.gemini/config/mcp_config.json under mcpServers; Gemini CLI (paid plans): gemini extensions install https://github.com/luftphilipp/aichivist.

  • ChatGPT connects only to servers on the internet, not to local ones – aichivist keeps your files on your computer, so it does not offer that. Use Codex instead.

Downloaded the ZIP? Unpack it and double-click Start (Mac).command or Start (Windows).bat (Linux: start.sh). A simple menu opens – look at your Downloads, check your backups, and see which AI app on your computer can tidy up. No installation needed, only Python 3 (a new Mac offers to install it by itself). The first time, your computer warns because the file comes from the internet:

  • Mac: click Done, open System Settings → Privacy & Security, scroll down and click Open Anyway next to "Start (Mac).command", then confirm.

  • Windows: click More info → Run anyway.

Just curious? See what's going on in your folders – no AI, nothing is changed:

pipx install aichivist
aichivist survey ~/Downloads

It shows how many files you have, duplicates that waste space, files with meaningless names, folders that slow down your cloud, program folders to leave alone, and whether your hard drive is healthy. aichivist storage storage.md checks whether your backups are safe and what your storage costs per year (it shows the table format on first run). aichivist catalog-page <folder> --open turns your catalogs into a searchable page, aichivist photos sorts photos by year, and aichivist watch ~/Downloads --install reminds you once 25 files have piled up.

aichivist demo

Built on real archive practice

Archives have organized documents reliably for centuries. aichivist brings their rules to your computer:

In an archive

In aichivist

A filing plan says where everything belongs

Your rules say which documents go where – the AI follows them

Nothing is thrown away without a decision

Duplicates and old files are only removed after your OK

Every document is described in a catalog

Each folder gets a list of what is in it, so you find things later

Finished collections are sealed

A completed folder (e.g. last year's taxes) is locked, checked and searchable

Records are kept for a set time, then archived or destroyed

Old records come up when their time is over – you choose

Copies are kept in separate places

It checks the 3-2-1 rule: 3 copies, 2 kinds of storage, 1 away from home

Privacy Policy

aichivist itself works only on your computer: no account, no server, no telemetry. The AI that reads your documents (e.g. Claude) receives the content of the documents it reads – so you decide which folders it may open, and can exclude private ones completely. Full text: PRIVACY.md.

How this was built

aichivist was designed by Philipp Luft, a trained archivist and information professional (Fachmann Information & Dokumentation) studying Business AI, who brought the archival principles and the requirements. The code was written with Claude Code – every commit lists Claude as co-author.

More

Available Tools

26 tools
catalog_checkCatalog checkC

Is every file of an area in its catalog? add_missing appends rows to describe.

Inputs: catalog_file (required), prefill, add_missing.

catalog_describeCatalog describeB

Fill one '⚠ to describe' catalog row: content, search terms, date from the document.

Inputs: date (required), file (required), content (required), catalog_file (required), +1 more.

find_duplicatesFind duplicatesC
Read-only

Byte-identical files: new items vs. a target area and among themselves.

Inputs: area (required), paths (required).

find_similarFind similarC
Read-only

Near-duplicates by text (new scan or re-download of the same document).

Inputs: paths (required), area, threshold.

get_rulesGet rulesB
Read-only

The person's filing rules. Read first.

Inputs: no named parameters.

inventoryInventoryC
Read-only

Files in a folder; for areas also what changed or was moved by hand since the last run.

Inputs: path (required).

list_folderList folderC
Read-only

Entries of a folder (first 100; 'total' gives the count).

Inputs: path (required).

naming_examplesNaming examplesC
Read-only

How the person named files before – match this style.

Inputs: area (required).

plan_addPlan addC

Add one plan row: source, target path (or TRASH) and reason.

Inputs: reason (required), source (required), target (required), plan_name.

plan_applyPlan applyA
Destructive

Execute approved rows (logged, undoable). create_folders only if the person approved them.

Inputs: plan_name, create_folders.

plan_approvePlan approveB
Destructive

Approve plan rows ONLY after the person said yes in chat. leave_link only if they chose it.

Inputs: rows, plan_name, leave_link.

plan_checkPlan checkB
Read-only

Simulate the plan (missing folders, closed collections, clashes, program data). Changes nothing.

Inputs: plan_name, create_folders.

plan_photosPlan photosB

Plan rows for photos/videos: <photos_root>//, year from the capture date.

Inputs: inbox (required), photos_root (required), plan_name.

plan_reviewPlan reviewC

Open the plan in the person's browser to tick and approve rows.

Inputs: plan_name.

plan_showPlan showD
Read-only

Rows of a filing plan.

Inputs: plan_name.

program_checkProgram checkB
Read-only

Does a program depend on these paths (program folders, libraries, links, open files)?

Inputs: paths (required).

read_documentRead documentB
Read-only

Text of a document, first page by default (scans via local OCR). next_offset continues.

Inputs: path (required), offset, max_chars.

retention_dueRetention dueC
Read-only

Records older than a retention period – ask per record: archive or delete.

Inputs: area (required), years (required).

statusStatusD
Read-only

Is a folder an open or a closed collection?

Inputs: path (required).

storage_checkStorage checkC
Read-only

3-2-1 backup check and yearly cost from a storage table. Never invent prices.

Inputs: table_file (required).

structure_adviceStructure adviceC
Read-only

Structure problems of an area (too deep, empty, by type, duplicate names) to discuss.

Inputs: area (required).

suggest_nameSuggest nameC
Read-only

Date, issuer, kind, summary, keywords and a name for one document. confident=false: read it.

Inputs: path (required).

suggest_namesSuggest namesC
Read-only

For all files in folders: date, issuer, kind and a suggested name, one row each. Start here.

Inputs: paths (required).

surveySurveyC
Read-only

Stock-take of folders: sizes, types, duplicates, unclear names, stale files, drive health.

Inputs: paths (required), stale_years.

verifyVerifyC
Read-only

Check a closed collection against its fixity manifest.

Inputs: path (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.6/5.0

    Scored across 26 tools

    Disambiguation4/5

    Most tools target clearly different stages of filing work, and descriptions distinguish the close ones reasonably well. A few clusters remain easy to confuse: list_folder/inventory/survey and suggest_names/suggest_name/naming_examples require careful reading before selection.

    Naming Consistency3/5

    All names use snake_case and several useful prefixes (plan_, catalog_) group related tools. However, the set mixes verb_noun, noun_noun, and bare verb/noun conventions, so there is no single predictable pattern.

    Tool Count2/5

    At 26 tools, the surface is heavy for a personal filing assistant and many operations could likely be consolidated. The domain is broad, but the tool count exceeds a comfortably scoped set.

    Completeness4/5

    The set covers the main lifecycle: inventory, naming suggestions, duplicate detection, planning, approval, application, verification, search, and catalog maintenance. Minor gaps exist around direct search/update operations outside closed collections and direct editing of rules, but core workflows are covered.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      B
      maintenance
      Enables AI assistants to analyze, rename, categorize, and organize local documents using OCR, metadata extraction, and batch processing, with preview mode and undo support.
      13
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Keeps your notes, decisions and projects in one folder on your own server, so your AI assistant picks up where the last chat ended. Reads and searches PDF, Word, Excel and mail as text; write policies per folder, a trash instead of delete.
      20
      40 npm
      2
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI assistants to scan a messy folder, preview a dry-run plan that renames and sorts files into folders using a fully offline local model, then apply or undo it and surface duplicate files. Nothing is ever deleted — duplicates and old installers go to _tidy_trash/.
      6
      MIT