everkeep
Everkeep is an MCP server that lets an AI assistant read, search, and safely edit a confined vault of notes and documents, including PDFs/office files and read-only SQLite databases.
Read whole or partial text files with line numbers and
rev, multiple files at once, images/audio, PDF text or rendered pages, and document formats as extracted text.Search file contents by regex (including documents) and find files/directories by name; list directories, trees, sizes, and metadata.
Create/overwrite files, edit by literal replacement or line-addressed edits guarded by
rev, create directories, move/rename, copy, and trash files (no delete).Inspect SQLite schemas and run one read-only
SELECT/WITH/VALUES/EXPLAINquery with row limits.Enforce vault confinement and per-directory write policies (
readonly,rev,never,free) with rev checks and trash restoration.
Runs Everkeep as a Home Assistant app via the ha-filesystem-mcp app, keeping the vault under /media or /share and adding a Vault policies page to the Home Assistant sidebar for managing write rules.
Everkeep
Stop re-explaining yourself to your AI.
Everkeep keeps your notes, decisions and projects in one folder on your own server. Your AI assistant reads it when a chat starts and writes down what you worked out — so tomorrow's conversation picks up where today's ended. You decide what it may change; it can't delete or overwrite anything you haven't allowed.
Works with Claude and any MCP client · runs on Linux, macOS, Windows, Docker or Home Assistant
Your documents, too
Drop contracts, invoices, manuals, price lists and exported reports into the folder as they are — PDF, Word, Excel, PowerPoint, e-mails. Your AI reads them as text, searches all of them at once and tells you where it found the answer: "which contract has a 30-day payment term?" comes back with the file and the page. No uploading files into every chat, no copy-pasting; a new version of a file is read the next time it is needed. Scanned pages it looks at as images.
Files go into the folder by ordinary copying, like into any other folder: see putting your files in.
Quick start
This gets Everkeep running on your own computer with Docker and connects Claude to it. You need about ten minutes and no programming.
Only Claude Desktop, on Windows or macOS? You do not need Docker: download the Everkeep extension from the latest release, install it in Claude Desktop's settings and pick your notes folder, see Claude Desktop.
1. Install Docker. On Windows or macOS, install Docker Desktop and start it; wait until it says Docker is running. On Linux, install Docker Engine.
2. Start Everkeep. Open a terminal (on Windows: PowerShell; on macOS: Terminal) and paste the two lines for your system. The first creates the folder everkeep-notes in your home folder; that folder is where your notes will live. The second downloads Everkeep and starts it in the background; it starts again by itself after a reboot.
Windows (PowerShell):
mkdir $HOME\everkeep-notes
docker run -d --name everkeep --restart unless-stopped -p 127.0.0.1:3100:3100 -v "$HOME\everkeep-notes:/vault" -v everkeep-data:/data ghcr.io/st412m/everkeep:1.2.0macOS or Linux:
mkdir -p ~/everkeep-notes
docker run -d --name everkeep --restart unless-stopped -p 127.0.0.1:3100:3100 -v "$HOME/everkeep-notes:/vault" -v everkeep-data:/data ghcr.io/st412m/everkeep:1.2.0On Linux the folder must be writable by user id 1000. If the command id -u prints a different number, follow Docker: who owns the folder instead.
3. Protect your notes. One more line, in the same terminal:
docker exec everkeep everkeep policy set . --mode rev --trashFrom now on Claude can create new files in the folder, but it can change an existing file only after reading it, so it never overwrites what it has not seen. Nothing is deleted: a file Claude discards goes into the folder .vault-trash inside everkeep-notes, and you can take it back from there.
4. Get your token. Everkeep made a secret token on its first start. Show it:
docker exec everkeep everkeep tokenIt prints two lines. The first is the secret path for claude.ai, the second the header for other clients:
/private_<token>/mcp
Authorization: Bearer <token>Treat both like a password: whoever has them can read and change your notes.
5. Connect Claude.
Claude Code on the same computer:
claude mcp add --transport http everkeep http://127.0.0.1:3100/mcp --header "Authorization: Bearer <token>"Claude Desktop on the same computer: install the Everkeep extension, see Claude Desktop. It runs an Everkeep of its own; point it at the same
everkeep-notesfolder.claude.ai in the browser, or the Claude apps: they connect from the internet, so Everkeep needs a public HTTPS address. Remote access shows two free ways, step by step. Then, in claude.ai → Settings → Connectors → Add custom connector, paste
https://<your public address>/private_<token>/mcp.
6. Try it.
Ask Claude: "Use Everkeep to create a file
about-me.mdwith what you know about my current projects." The file appears in youreverkeep-notesfolder.Open the folder: on Windows, type
explorer $HOME\everkeep-notesin the same PowerShell (or go to This PC → Users → your name →everkeep-notes); on macOS, typeopen ~/everkeep-notesin Terminal (or Finder → your home folder); on Linux, open your home folder in the file manager.Copy a contract, an invoice or any PDF or Word file into it, by dragging or copy and paste, as into any folder. Everkeep sees it at once; nothing needs restarting. Folders inside it are fine and useful:
contracts/,projects/….Ask Claude: "Use Everkeep: what does the contract in my notes say about payment terms? Give the page."
To have Claude read your notes at the start of every chat, add a line like this in Settings → Account → Instructions for Claude, or to a project's instructions: "At the start of a chat, read /vault/about-me.md with Everkeep." Inside Docker your folder is /vault.
To change the rules for a folder, see Write policies.
Related MCP server: Satchel
What it is
Everkeep is an MCP server. MCP is the way AI clients such as Claude call tools on other machines. Everkeep's tools work on one directory tree, the vault: read, search, edit, move and discard files, read documents and PDFs, query SQLite databases read-only. Nothing outside the vault can be reached through it.
What the assistant may change is set per directory with write policies: a directory can be read-only, editable only by someone who has read the current version of a file, open to new files only, or free. There is no delete: discarding moves a file into a trash directory of its zone. The assistant cannot change the policies; you set them on the server.
It runs as one process, over HTTP for remote clients such as claude.ai and over stdio for local ones such as Claude Desktop.
What it looks like
The assistant lists a directory. The first line says what is allowed there:
Policy: overwrite=rev, trash=.vault-trash, auto-purge after 30 d — own marker (/vault/wiki/.vault-policy)
[FILE] .vault-policy
[DIR] .vault-trash
[FILE] decisions.md
[FILE] todo.mdIt tries to overwrite todo.md without having read it, and is refused:
Error: Refused — policy "overwrite: rev": changing an existing file requires its current rev, which is 5db20d56. Nothing was written. Repeat the call with rev: "5db20d56".It searches, gets line numbers and the file's rev, and edits one line:
/vault/wiki/todo.md · rev 5db20d56 · 212 lines
148: - [ ] Check backup-rotation settings on the NAS
— 1 match(es) in 1 file(s) · scanned 37/37 files, 190 KB, 12 msRequirements
Docker | Docker Desktop (Windows, macOS) or Docker Engine (Linux); images for amd64 and arm64 (Raspberry Pi 4/5) |
Without Docker | Node.js ≥ 22.17 on Linux, macOS or Windows; for PDF page images and SQLite also poppler ( |
Claude Desktop | the extension, on Windows or macOS; Claude Desktop brings its own Node.js; PDF page images and SQLite need poppler and |
Home Assistant | OS or Supervised, through the ha-filesystem-mcp app |
Disk | the Docker image is about 340 MB; the npm package with its dependencies about 48 MB |
For claude.ai | a public HTTPS address: see remote access |
Installation
Docker
The image ghcr.io/st412m/everkeep runs everkeep serve on port 3100 as user id 1000, with the vault at /vault and its own state (token, document cache) in the volume /data. The Quick start shows docker run; compose.example.yaml does the same with Docker Compose. Folder ownership, updates and building the image yourself: installation.
Without Docker
Install Node.js 22.17 or later; Claude Code's own installer does not include it. For PDF page images and SQLite, also install poppler and sqlite3. Installation has the lines for Linux, macOS and Windows. Then run it with npx:
npx --yes --package=everkeep everkeep init
npx --yes --package=everkeep everkeep serveIn Windows PowerShell, type npx.cmd instead of npx: under PowerShell's default script policy, npx may be refused.
The command everkeep init creates ~/everkeep with an instruction file for the assistant and a starter write policy, and saves it as the default vault; --vault DIR still names another one.
On first start it prints the token once; everkeep token shows it again. For a permanent everkeep command, a CPU without AVX (some Celeron, Atom and Pentium models) and a systemd service, see installation. macOS is tested in CI on GitHub's macOS runners, not yet on a real Mac.
Home Assistant
Install the ha-filesystem-mcp app. It runs Everkeep with the vault under /media or /share and adds the Vault policies page to the sidebar.
Configuration
Settings come from flags, environment variables and an optional JSON file (EVERKEEP_CONFIG, else ~/.config/everkeep/config.json). The ones to know first:
Setting | Flag / variable | Default |
|
| saved by |
|
|
|
|
|
|
|
|
|
token |
| generated into |
everkeep check-config prints what is in force and checks the tools Everkeep needs. Every key, the token rules and the request log: configuration.
Connecting
claude.ai, Claude Desktop connectors, the Claude apps: Settings → Connectors → Add custom connector with
https://<your-host>/private_<token>/mcp. The address must be public HTTPS: remote access.Claude Code: over HTTP with the Bearer header, or on stdio:
claude mcp add --scope user --transport stdio everkeep -- npx --yes --package=everkeep everkeepAfter
everkeep init; without it, add--vault DIRat the end.Claude Desktop on Windows or macOS: the Everkeep extension, no address and no token, see Claude Desktop.
Cursor and other clients: the URL
http://127.0.0.1:3100/mcp(or your HTTPS address) with the headerAuthorization: Bearer <token>, see installation.
There is no OAuth: the token is the only key. A wrong path gets an empty 404, a wrong Bearer token 401.
Tools
20 tools. Parameters and return formats: tools.
Reading
read_text_file— a whole file,head/taillines, or anoffset/limitrange with line count andrev; documents as numbered linesread_multiple_files— several whole files in one responseread_media_file— image or audio as base64read_pdf_text— text of a PDF or a page range, numbered likeread_text_fileread_pdf_page— one PDF page rendered as JPEG
Searching
grep_files— regex search of file contents, documents included; returns path,rev, line count and matching linessearch_files— find files and directories by name
Writing
write_file— create or overwrite a fileedit_file— literaloldTextreplacement, or line-addressed edits guarded byrevcreate_directory— create a directory and its parentsmove_file— move or rename a file or directory; also restores from the trashcopy_file— copy a file; the destination follows the rules ofwrite_filetrash_file— move a file into its zone's trash; there is no delete
Listing
list_directory— entries of one directory, after the policy linelist_directory_with_sizes— entries with file sizes, sorted by name or sizedirectory_tree— tree view, two levels deepget_file_info— size, times and format, plus line count andrevfor text fileslist_allowed_directories— the vault root
SQLite (read-only)
sqlite_schema— DDL of every object, file pragmas, optional row countssqlite_query— oneSELECT/WITH/VALUES/EXPLAINstatement, with a row limit
The search-then-edit workflow is in search and edit, SQLite in sqlite.
Write policies
With no policies, any tool may write anywhere in the vault. A policy is a small file .vault-policy in a directory; it covers the directory and everything below it. Set it on the server:
everkeep policy set wiki --mode rev --trash --purge-days 30 --vault /home/me/notes
everkeep policy set raw --mode readonly --vault /home/me/notesMode | Effect |
| no writes, edits, moves in or out, or discards |
| new files are free; changing, moving out or discarding an existing file needs its current |
| new files only; existing files cannot be changed |
| no checks |
With Docker, run the same commands inside the container: docker exec everkeep everkeep policy show. With everkeep serve, the Vault policies page is at the connector address with /policies in place of /mcp. In the Home Assistant app, use the Vault policies page in the sidebar. In the Claude Desktop extension, list folders under Read-only folders in its settings. The trash, auto-purge and what a broken marker does: write policies.
Documents and formats
read_text_file and grep_files read PDF, Word, Excel, PowerPoint, OpenDocument, EPUB, FB2, RTF, HTML and mail files as numbered lines with page, sheet and slide markers; grep_files reports where a match is (L8 (p.1), L2 (sheet Data)). A scanned PDF has no text; the answer says which pages to read as images with read_pdf_page. Documents are read-only. Extracted text is cached outside the vault. Formats, limits and the cache: documents.
Limitations
macOS is tested in CI only, on GitHub's macOS runners, not yet on a real Mac; the Claude Desktop extension has been tested on Windows only. Reports are welcome.
No OAuth. The token in the path or the Bearer header is the only key.
No delete.
trash_filemoves a file into a trash directory, and only in a zone that has one.SQLite is read-only and will stay so.
Documents are read-only, and scans are not recognized as text (no OCR).
Policies stop Everkeep's tools only. Anything else that writes to the folder — you, a sync job, a file share — does not see them.
Clients cache the tool list. After an update that changes tools, an open conversation keeps the old list.
Troubleshooting
Claude shows no Everkeep tools. Check that the container runs (
docker ps), that the token in the URL or header is the current one (everkeep token), and for claude.ai that the HTTPS address answers from outside.Every write fails with
EACCES. The vault folder is not writable by the user Everkeep runs as (user id 1000 in Docker).400 / 401 / 403 / 404 / 405 / 406. 401: wrong Bearer token. 404: wrong path or token in the path. 403: a
HostorOriginthat is neither local nor inallowed_hosts, on a server listening on127.0.0.1. 405: notPOST. 406: theAcceptheader lists neither JSON nor event streams. 400: bad JSON, an unsupported protocol version, or request headers that disagree with the body.Every write is refused and listings print
⚠ Policy: BROKEN MARKER. A.vault-policyfile is broken and locks its zone. Fix it witheverkeep policyor by hand.
More: troubleshooting.
Security
The token is a password. It is generated by the server, at least 32 characters, never logged; put TLS in front of any address that leaves your machine.
Every path is confined to the vault, including through symlinks and on case-insensitive file systems.
On
127.0.0.1(the default without Docker) requests whoseHostorOriginis not local are refused, which stops websites in your browser from reaching it.The token and the document cache live in the state directory, which must be outside the vault.
grep_filesruns in a worker thread stopped after 10 seconds; documents are extracted in worker threads with a timeout and a memory cap; SQLite runssqlite3 -readonly -safe.
More: security.
Links
Documentation — installation, putting your files in, remote access, configuration, write policies, tools, search and edit, documents, sqlite, security, troubleshooting, internals
Issues: problems of the server here; problems of installing or running the Home Assistant app in ha-filesystem-mcp
License
MIT — by st412m.
Available Tools
20 toolscopy_fileCopy fileADestructive
Copy a file to a new path inside the vault; the source stays. The destination follows the rules of write_file: overwriting an existing file needs its current rev in a zone with overwrite="rev" and is refused with overwrite="never"; read-only zones and the trash are refused. Directories are not copied.
Inputs: source (required), destination (required), rev.
create_directoryCreate directoryAIdempotent
Create a directory (and parents); an existing one is not an error. Refused where the zone policy forbids writing.
Inputs: path (required).
directory_treeShow directory treeARead-onlyIdempotent
Recursive tree view, 2 levels deep. One level: list_directory.
Inputs: path (required).
edit_fileEdit fileADestructive
Edit a file. Two mutually exclusive edit shapes: {oldText,newText} literal replacement, or line edits (1-based). {startLine,endLine,newText} replaces the inclusive range; newText "" deletes, no trailing newline. Omitting endLine INSERTS before startLine instead of replacing, and startLine = lines+1 appends at EOF. Line edits require rev and are applied bottom-up in one atomic pass, so numbers from a single grep/read stay valid; a stale rev is rejected, never applied. Returns the new rev. dryRun shows the diff. In a zone with policy overwrite="rev" every edit needs rev, including {oldText}; in overwrite="never" zones editing is refused outright. To replace a whole file use write_file. Document formats are read-only.
Inputs: path (required), edits (required), rev, dryRun.
get_file_infoGet file infoARead-onlyIdempotent
Metadata for a file or directory: size, times, format, plus line count and rev for text files (the rev that writes in a strict zone ask for). Content: read_text_file.
Inputs: path (required).
grep_filesSearch file contentsARead-onlyIdempotent
Search file CONTENTS by regex, recursively. Per file returns path, rev, line count, then matching line numbers with their text. Long lines are clipped around the match (max_line_length, default 200). Line numbers and rev feed straight into read_text_file offset/limit and edit_file line edits. Documents (PDF, Word, spreadsheets…) are searched in their extracted text: matches as L (p.N / slide N / sheet Name), no rev; documents:false skips them. Other binaries and symlinks are skipped; output is capped and flags truncation when incomplete. To find files by name use search_files.
Inputs: path (required), pattern (required), context, exclude, +5 more.
list_allowed_directoriesList allowed directoriesARead-onlyIdempotent
The vault root; every path must be inside it. Start here if the vault path is unknown.
Inputs: no named parameters.
list_directoryList directoryARead-onlyIdempotent
List one directory; the first line is the policy in force. Sizes: list_directory_with_sizes; deeper levels: directory_tree.
Inputs: path (required).
list_directory_with_sizesList directory with sizesARead-onlyIdempotent
List a directory with file sizes, sorted by name or size. Without sizes: list_directory.
Inputs: path (required), sortBy.
move_fileMove or renameADestructive
Move or rename a file or directory. Taking a file out of a zone with policy overwrite="rev" requires its current rev, exactly like overwriting it in place; directories are not moved out of a strict zone at all. Use trash_file, not this, to discard something; moving a file out of the trash restores it.
Inputs: source (required), destination (required), rev.
read_media_fileRead media fileARead-onlyIdempotent
Read an image or audio file as base64 with its MIME type. Not for PDF: one page as an image is read_pdf_page, the text is read_pdf_text.
Inputs: path (required).
read_multiple_filesRead multiple filesARead-onlyIdempotent
Read several whole files at once (documents as numbered lines, as read_text_file; the trash is skipped). For a line range or rev use read_text_file.
Inputs: paths (required).
read_pdf_pageRender PDF pageARead-onlyIdempotent
Render one PDF page (1-based) as JPEG. Prefer read_pdf_text unless layout or graphics matter.
Inputs: page (required), path (required).
read_pdf_textExtract PDF textARead-onlyIdempotent
Text of a PDF, whole or a page range, as numbered lines with page markers (the same numbers as read_text_file). Much cheaper than page images — prefer it; for scans use read_pdf_page.
Inputs: path (required), last_page, first_page.
read_text_fileRead text fileARead-onlyIdempotent
Read one file. Whole file by default; head/tail = N lines from an edge; offset/limit = an arbitrary 1-based line range, which also reports total lines and rev (needed for edit_file line edits). Documents (PDF, DOCX, XLSX, PPTX, ODF, EPUB, MSG…) come as numbered lines with section markers, no rev, read-only; HTML, RTF, EML and FB2 read raw, extract:true gives their text. Several files at once: read_multiple_files; images and page images: read_media_file / read_pdf_page.
Inputs: path (required), head, tail, limit, +2 more.
search_filesFind files by nameARead-onlyIdempotent
Find files by NAME substring, recursively. For content use grep_files.
Inputs: path (required), pattern (required), excludePatterns.
sqlite_queryQuery SQLite databaseARead-onlyIdempotent
Run one read-only SQL statement on a SQLite file (sqlite3 -readonly -safe -json; ATTACH and other escapes are disabled). Must start with SELECT, WITH, VALUES, or EXPLAIN [QUERY PLAN] followed by one of those. Runs wrapped as SELECT * FROM () LIMIT <limit+1>; truncated=true means more rows exist. ";" is allowed only inside string literals, quoted identifiers and comments, plus one trailing. Bind parameters (?, :x, @x, $x, #x) are rejected — write values as literals. EXPLAIN describes the wrapped statement. BLOBs are not converted — use hex(col) or length(col). A database with a -wal journal is read from a temporary copy (wal_copy in the response).
Inputs: sql (required), path (required), limit, timeout_ms.
sqlite_schemaInspect SQLite schemaARead-onlyIdempotent
Inspect a SQLite database file: schema-neutral, no interpretation of the data. File type is decided by the first 16 bytes, not the extension. Returns table/index/view/trigger DDL from sqlite_master, the journal_mode/page_size/page_count/encoding/user_version/application_id PRAGMAs, the sqlite3 version, whether -wal/-shm siblings exist next to the ORIGINAL file, plus path/size/mtime (UTC and local with numeric offset). A database with no journal (or an empty leftover one) is opened in place and leaves no new files behind; one with a real -wal is read from a private copy instead, cleaned up after the call — wal_copy/wal_copy_ms in the response say whether that happened and how long it took. Either way nothing is ever left next to the original. counts=true adds COUNT(*) per table, off by default — it is a full scan and can take minutes on a large database. counts_timeout_ms is a PER-TABLE budget covering the whole call (spawning sqlite3 and opening the file, not just the COUNT itself) — on a large database file a very small budget can time out even a tiny table. A table that does not finish is null in counts; every such table is listed in counts_incomplete.tables with one shared counts_incomplete.note, not a message repeated per table. The rest of the schema is always returned in full. Call once without counts first, then again with counts only if row counts are actually needed — the DDL comes back in full either way, so a second call re-sends everything already read, which matters on a database with a hundred tables.
Inputs: path (required), counts, counts_timeout_ms.
trash_fileMove to trashADestructive
Discard a file by moving it into the trash of its own zone, keeping its relative path and adding an arrival timestamp to the name. There is no delete: this is the only way to remove something. Fails if the zone has no trash configured. In a zone with overwrite="rev" the current rev is required — you have to read a file before throwing it away. To restore, move_file it back out of the trash. A directory is not discarded as a unit: trash its files one by one.
Inputs: path (required), rev.
write_fileWrite fileADestructive
Create or overwrite a file with given content. In a zone with policy overwrite="rev", overwriting an EXISTING file requires its current rev (creating a new one does not); the refusal message carries the rev to use. For a change inside a file use edit_file. Document formats (PDF, DOCX…) are not overwritten.
Inputs: path (required), content (required), rev.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 20 tools
Most tools have clearly distinct purposes, and descriptions explicitly cross-reference alternatives (e.g. list_directory vs list_directory_with_sizes vs directory_tree; search_files vs grep_files). There is still mild overlap in the four directory-listing tools and five read/PDF/media tools, but the descriptions resolve it well enough for an agent.
Nearly all names use consistent snake_case with a verb_noun pattern (list_directory, read_text_file, write_file, move_file, search_files, grep_files). A few are noun-only or noun-prefixed (directory_tree, sqlite_schema, sqlite_query), which is a minor deviation rather than a breakdown.
At 20 tools the server is slightly heavy but each surface—filesystem, listing, reading, PDF/media, SQLite—has a legitimate role. The multiple list/read variants are justified by distinct use cases, though a couple could arguably be optional modes.
The vault lifecycle is well covered: create, write, edit, copy, move, trash, read, search, metadata, plus PDF/media and SQLite inspection. Deletion is intentionally replaced by trash_file and SQLite access is read-only by design; minor gaps like no dedicated rename are handled by move_file.
Maintenance
Related MCP Connectors
- Very Simple NotesDeprecatedcom.verysimplenotes
Markdown notes in folders, with files, that your AI assistant can read, write and organise.
Markdown notes in folders, with files, that your AI assistant can read, write and organise.
One memory for every AI chat: rules, profile and work history as plain files in your own cloud
Your second brain: documents, meetings, decisions, tables, agents and connected apps.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceOne shared memory for every AI you use, in plain Markdown files you own. Teach one AI something and the rest know it, with per-AI folder permissions so each assistant only sees what you allow.78 npm11Apache 2.0
- FlicenseNot gradedqualityBmaintenanceEnables MCP-capable AI agents to search, file, and manage personal records such as IDs, insurance, prescriptions, and leases that stay in your own local, NAS, or cloud-synced folders, with expiry reminders and approval-gated writes. Also supports switching between agents without lock-in via an embedded OAuth server, audit trail, and tunnel relay.-

OpenMyMemoofficial
AlicenseNot gradedqualityBmaintenanceGives AI apps a shared, plain-folder memory on your own machine, so whatever you tell one model the others can read, and you can inspect, review and undo every change they make. Memory stays portable across vendors, models and account changes instead of living on a provider's servers.42 PyPI31Apache 2.0- AlicenseAqualityBmaintenanceEnables saving, searching, retrieving, linking and importing AI work as plain markdown files with automatic provenance in a local folder the user owns. Runs entirely on the user's machine with no account, key or network calls, and never deletes anything.11AGPL 3.0