Mnemoloci
Mnemoloci is a personal second brain for Claude Code. Its source of truth is a Markdown vault, compatible with Obsidian. A deterministic Python engine does the hashing, locking, transactional writes and indexing. Your Claude Code session does the part that needs judgement.
Mnemoloci runs on Windows and Linux. Leggi questo file in italiano: README.it.md.
A quick look
These screenshots show the app on a demo vault with invented content (a small tide-forecasting project).
Today: open to-dos, what is waiting for review, and the pages published today.

Search: results with the page type, a summary and the line that matched.

A page: every sentence carries a numbered citation back to the source line it came from.

Graph: how the pages link to each other, with hubs, bridges and communities listed below.

Review: pages the engine is not sure about wait for your decision before they are published.

What it does
- Compiles your projects (code and
.md files) into cited wiki pages, written in the language of your vault with the original text kept.
- Saves web pages, PDFs, YouTube videos (transcript), files and pasted text. Pages created from external material always go through review.
- Imports your existing Claude Code sessions. Searches past sessions and resumes the right one ("where did we leave off?"). At the end of a session it writes a handoff for the next one on its own.
- Imports ChatGPT and claude.ai conversations from their export, including exports split into several files, and makes them searchable.
- To-dos that carry over from one session to the next. Daily and weekly summaries. A Today view in the app, which is also its home page.
- Git backup of the vault: automatic commit at the end of a session, an optional remote copy, earlier versions always recoverable.
- Maintenance happens only with your approval: it merges duplicates and leaves a redirect, adds missing links and proposes synthesis pages. A lesson you confirm again is strengthened, and relevant lessons are shown when they apply. Instincts become skills. The skill curator archives only on your command.
- Exploration:
- people and entities ranked by current importance;
- graph analysis: central pages, bridges, communities, unexpected connections;
- validity over time, with "what was true on date X" search;
- a quality score with history;
- Canvas and Bases for Obsidian;
llms.txt export;
- an optional scheduled daily maintenance job.
- Saves good answers as pages (
wiki/queries/), linked to the pages they rest on. Lint flags them when those pages change.
- Protection from hidden instructions (prompt injection) in external content, in memory and in the context injected at session start.
- Saves screenshots from your phone: Remote Control or Telegram.
- Keeps a profile, goals, decisions, lessons and handoffs, injected at the start of every new session.
- Finds the skills already on your machine, creates new ones with a safety check and review, and installs them only on request.
- Learns "instincts" (when X → do Y) from your corrections in past sessions. None is used until you approve it.
- Free, local, multilingual semantic search. Export of the graph (offline HTML, GraphML, JSON) and of the whole vault as JSON.
- Knowledge exchange in Open Knowledge Format v0.2, Google Cloud's standard. The export conforms. Import brings packages from other tools into the review queue and keeps unknown fields.
Language
A vault has a language (language.target in .mnemoloci/config.json, or mnemoloci config language <code>). The engine writes the pages it generates, its summaries and its hints in that language: English by default, Italian when the target is it. mnemoloci init --language it creates an Italian vault. The app interface follows the browser language (English or Italian) and can be switched at the bottom of the side menu. Vaults created before the setting existed are treated as Italian.
Where the vault is
Mnemoloci looks for the vault in this order: --vault <folder>, the MNEMOLOCI_VAULT variable, the path recorded in ~/.mnemoloci/vault.txt, then ~/Mnemoloci. The first mnemoloci init records the vault it creates, so hooks, the MCP server and the app all use the same one. mnemoloci vault show tells you which one is in use and why. mnemoloci vault set <folder> switches to another existing vault, and the Vault section of the app's Status view does the same. Restart the app and your Claude Code sessions afterwards.
Installation