hermind-mcp
Summary: This server lets an agent recall and browse previously saved memory notes; as shown it is read-only.
Search notes by keyword/phrase, with optional alternate wordings or languages (
queries), kind, tags, date range,as_of, result limit, detail level, and history.Fetch the full text of a specific note by id, including older versions.
List the most recent notes, optionally filtered by kind.
Find notes about a named entity or alias, including related entities, in recent or timeline mode, optionally as of a date.
It cannot create, update, or delete notes in this schema; write tools are only available in the server’s optional write mode.
Integrates with the Hermes agent as a memory provider/plugin, enabling automatic recall before turns, capture after replies, a review queue, and memory tools for storing, searching, updating, and reviewing long-term notes.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@hermind-mcp remember that we chose PostgreSQL for the Atlas orders database"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Hermind
Long-term memory for AI agents, in one SQLite file on your machine.
Decisions, preferences and facts survive between sessions and come back even when you ask in other words, in English, Chinese or Cantonese. No server, no cloud account, no LLM or API key needed. Built first for Hermes; any MCP-capable agent can use the same notes.
English · 繁體中文
What it does
On day 1 the agent stores a decision (by itself, or because you asked). A week later, in a new session:
That is real output from a fresh database with three notes and lexical search only. A question that shares no word with the note can still miss; the optional semantic search closes most of that gap with a local model (one download, no API key).
Privacy in 1.1.1: Hermind cleans marked private text from selected fields when importing its own JSON. Preview and apply reports explain invalid metadata without quoting its value. Existing records are not rewritten. See the changelog for the batch-tool and model-client fixes.
Related MCP server: Memory MCP Server
Install
The easy way: let your agent do it. Tell it: "Read AGENTS.md in https://github.com/fungane/hermind and set Hermind up for me." It asks you where to install, shows a dry run, backs up first and gives you a rollback command (AGENTS.md).
Hermes agent (recall before every turn, capture after every reply, review queue):
git clone --branch v1.1.1 https://github.com/fungane/hermind.git ~/hermind
cd ~/hermind
python3 hermind_cli.py install-hermes --dry-run # shows what it will do; add --profile NAME for another profile
python3 hermind_cli.py install-hermes # backs up, copies the plugin, checks the result
hermes config set memory.provider hermind # then restart the Hermes gateway / desktop appClaude Code, Cursor, Codex and other MCP clients (needs uv):
claude mcp add hermind -e HERMIND_MCP_WRITE=1 -- uvx --from git+https://github.com/fungane/hermind@v1.1.1 hermind-mcphermind config CLIENT --write prints the entry for 20+ other clients (docs/setup.md).
Without --write the server is read-only: the agent can recall but not save. On its own the agent looks notes up only
when it decides to; in Claude Code, hermind install-hook adds automatic recall before every prompt
(details). The server was run against Claude Code and the official MCP
TypeScript SDK; the other entries follow each client's documentation.
Check it, and try it without any agent:
uvx --from git+https://github.com/fungane/hermind@v1.1.1 hermind selftest # a few seconds; touches no real data
uvx --from git+https://github.com/fungane/hermind@v1.1.1 hermind remember "Atlas uses PostgreSQL for orders" --keywords "orders database 訂單 資料庫"
uvx --from git+https://github.com/fungane/hermind@v1.1.1 hermind search "which database for orders"@v1.1.1 pins the tested release; change the number to upgrade. Below, hermind stands for that whole
uvx --from git+https://github.com/fungane/hermind@v1.1.1 hermind (or install the command once with
uv tool install git+https://github.com/fungane/hermind@v1.1.1).
Your data
Route | Database |
MCP server and |
|
Hermes plugin |
|
The two routes use different files unless you point them at the same one (hermind config CLIENT --db-from-profile NAME).
Each is a single SQLite file readable only by you.
Export everything:
hermind export --out notes.json(also--format jsonlor--format markdown --out DIR).Import from Markdown folders, Claude Code, ChatGPT or Claude exports, instruction files or another Hermind:
hermind import SOURCEpreviews,--applyimports after a backup,--revertundoes it.Delete one note with the
memory_forgettool (the Hermes plugin has it; the MCP server offers it only with--write --tools search,get,remember,update,forget). Uninstall completely: docs/import-export.md lists every file Hermind can create.Upgrades copy the database first (
memory.db.bak-v<N>-..., the three newest are kept) and stop if the copy fails.
Details: docs/import-export.md.
Projects
With the Hermes plugin, each note remembers the project it was written in: the working directory of the session (your home directory, a filesystem root and a folder that holds several of your projects count as no project). The project is stored inside the database only; it is never shown in a result and never exported.
What changes: in automatic recall,
chatandsummarynotes written in a different project rank lower (a factor of 0.5; with semantic search on, a note that the embedding results also surface can be scaled a second time, 0.25 overall). They are never hidden. Pinned notes, notes you have opened or confirmed, and technical facts, decisions and preferences are never demoted. A session or note with no project is never demoted, and explicit searches (memory_search,hermind search, the MCP server) are unchanged.Settings (
plugins.hermind):project_penalty(0.5;1.0turns this off) andproject_penalty_kinds(chat,summary).Notes written before the upgrade have no project. Give them one from a file that maps session ids to working directories, which you produce yourself (Hermind does not read Hermes' own databases):
echo '{"20260301_093000_ab12cd": "/home/you/work/atlas"}' > projects.json hermind import-projects projects.json --dry-run # counts only; writes nothing, not even a backup hermind import-projects projects.json # saves a backup copy first, then sets the empty projectsOnly notes with no project are set, and nothing else in the database changes. Run it again whenever you like.
Why Hermind
One file, nothing running | No database server, no background service, no account. A search takes about 20 ms with 5,000 notes |
English, Chinese and Cantonese | Synonym groups for all three, Traditional/Simplified folding, and optional local semantic search (four model sizes, 52 to 568 MB) for questions that share no word with the note |
Remembers when things were true | A newer fact supersedes an older one without deleting it; |
Private by default | Works fully offline. Credentials are refused, |
Good fit: you run agents on your own machine, want their memory in a file you can read, back up and move, and do not want to run a service. Not a fit: you need a hosted service, several users with access control in one database, document ingestion or a web UI.
How light is it?
Measured on Linux with 5,000 short synthetic notes; your numbers will vary with note length.
Installed package (wheel, no dependencies) | about 240 KB |
MCP server after 20 searches | about 29 MB of RAM idle, about 40 MB at peak |
Database | about 6 MB per 5,000 short notes |
Optional semantic search (a separate worker that exits after 5 idle minutes) | about 180 to 960 MB of RAM while awake, depending on the model |
The MCP figures are the Python server process itself; the uvx one-liner above also keeps a small uv launcher
process running beside it (about 30 MB), which installing with uv tool install and running hermind-mcp directly avoids.
How it works
In Hermes the agent gets ten tools: memory_remember, memory_search, memory_get, memory_related (with timeline
and as_of), memory_update, memory_feedback, memory_forget, memory_list, memory_review and memory_reflect.
The MCP server lists the four read-only ones by default, six with --write, and the rest when you name them.
docs/how-it-works.md explains the data model, search and ranking, and how well it recalls. In
short: on the public LongMemEval-S set (470 English questions) lexical search alone puts the right session in the top 5
for 96.4%; on 54 casual Cantonese and English questions about one person's real notes, the right note was in the top 5
for 42 with lexical search and 49 with semantic search. One user's data: indications, not guarantees.
Privacy
Notes stay in the file on your machine; nobody, including the author, receives them. Nothing leaves the machine unless you turn it on: an LLM endpoint you configure for the optional tools (off by default), the one-time model download for semantic search, and whatever your MCP client sends to its own model provider. Pattern-based redaction misses unusual formats, and stored text can still carry prompt injection; both are reduced, not eliminated. docs/privacy.md has the full list and the encryption guide. Vulnerabilities: SECURITY.md.
Documentation
install routes, every MCP client, Hermes plugin settings, semantic search, optional LLM tools | |
bringing notes in, taking them out, backups | |
what is stored, what can leave the machine, encryption | |
data model, search and ranking, every tool, recall measurements | |
what does not work well yet | |
install runbook for AI agents · changes per version |
Status and support
An early version, used daily by one person, so expect bugs. The tests run on Linux and macOS before each release; Windows is not supported yet. Report problems through the issue forms (they ask for what is needed and remind you not to paste real notes). Issues are read first by an AI assistant that may draft a fix; the maintainer reviews and sends every reply, so answers can take a few days. Please open an issue rather than a pull request: pull requests from outside are not accepted (CONTRIBUTING.md).
Hermind was designed by its maintainer and largely written by Claude (Anthropic) through Claude Code and the Hermes agent, then reviewed and tested by the maintainer. The test data is synthetic. It is an independent project, not made by, endorsed by or affiliated with Nous Research, Anthropic or any other product it works with.
License
MIT, see LICENSE.
Available Tools
4 toolsmemory_getARead-only
Full text of one note by id, with older versions.
Inputs: id (required).
memory_listBRead-only
Most recent notes, optionally of one kind.
Inputs: kind, limit.
memory_searchARead-only
Search saved notes (decisions, preferences, facts). Returns #id, kind, date, short text; memory_get(id) gives the full note.
Inputs: query (required), kind, tags, as_of, +6 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a distinct retrieval axis: query-based search, id-based get, recency-based list, and entity-based related. The only mild overlap is memory_search vs memory_list, both returning notes, but descriptions make the search-vs-browse distinction clear enough.
All four tools share a single memory_ prefix with a clear verb/noun suffix (search, get, list, related). Predictable and easy to pattern-match.
Four read-only tools is a tight, well-scoped set for a memory retrieval server with no redundant entries. It sits at the thin end of the comfortable range, but each tool earns its place.
The read surface is good (search, fetch, browse, related), but there is no tool to create, update, or delete notes, nor to enumerate available kinds, so agents cannot write to memory through this server. Assuming notes are saved elsewhere this is workable, but it is a notable gap for a memory domain.
Maintenance
Related MCP Connectors
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Persistent memory for AI agents. Search, store, and recall across sessions.
Persistent memory for AI agents: add, search, update, and delete long-term memories.
Persistent memory for AI agents. Search and store durable facts, preferences and decisions.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceGives AI coding agents persistent memory by storing observations, decisions, and learnings in a local SQLite database with vector search, full-text search, and a rules engine.4MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to store, search, and manage persistent memories, todos, kanban boards, reminders, and progress trackers in a local SQLite database.1Apache 2.0

memiofficial
AlicenseNot gradedqualityBmaintenanceGives AI agents a local-first, persistent memory backed by a single SQLite file, letting them save decisions, preferences, and facts, then recall them by meaning or keyword across sessions and projects. Exposes tools for loading pinned context, searching, adding, updating, listing, and deleting memories, so agents stop forgetting between sessions.22 npm1Apache 2.0- AlicenseNot gradedqualityBmaintenanceEnables AI agents to save, recall, and forget persistent memories stored entirely on the local machine in SQLite, using hybrid semantic and keyword search with on-device embeddings, plus spaces and profile context injection.MIT