Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
Experimental local-first memory CLI for MCP agents: read-only Gmail, calendars, iMessage, and files → cited local context
Fetched from the repository for this visit.
Your messages, meetings, and project knowledge. One memory for you and your AI agents.
Mora brings iMessage, Gmail, calendars, files, and project decisions into a searchable local vault. Find the context you need, prepare for meetings, and carry what matters between agent sessions—all backed by plain Markdown you control.
Named after Hermaeus Mora, the Daedric Prince of Knowledge in The Elder Scrolls. His tentacles inspire the idea: different agents and machines reaching into a shared source of knowledge you control.
Now in beta. We use Mora every day. Try it on your projects and tell us what works and what needs work.
Jump to: What you can do · Install · 60-second quickstart · The two-sided contract · Agent write policy · Personal sources · Update · Privacy
Start with personal sources to search your mail and messages, or the project quickstart to give a coding agent memory.
Install the signed and notarized Mora.app and mora CLI with Homebrew:
brew tap pyranthus-hq/tap
brew install --cask pyranthus-hq/tap/mora
mora version
If Mora is already installed, read the migration steps before using Brew.
If you do not use Homebrew, install the same signed app directly in ~/Applications/Mora.app:
(
set -e
mora_installer="$(mktemp -t mora-install)"
trap '/bin/rm -f "$mora_installer"' EXIT
curl -fsSLo "$mora_installer" https://raw.githubusercontent.com/pyranthus-hq/mora/main/install-app.sh
sh "$mora_installer"
)
Linux and standalone installs:
curl -fsSL https://raw.githubusercontent.com/pyranthus-hq/mora/main/install.sh | sh
Windows users can see the Windows guide. To build from source with Go 1.25 or later:
go install github.com/pyranthus-hq/mora/cmd/mora@latest
Source builds report version dev and do not self-update. Neither install method sets up connectors, agent hooks, an agent write policy, or a daily update job on its own.
From your project root:
mora init
mora hook install --project --scope project:my-app
claude mcp add mora -- mora mcp serve --project-dir "$PWD"
codex mcp add mora -- mora mcp serve --project-dir "$PWD"
mora hook install --project --scope project:my-app binds the current folder to project:my-app and wires Claude Code lifecycle hooks (SessionStart, UserPromptSubmit, SessionEnd) for this folder only.--project-dir in the MCP commands pins that server to one folder, so register it once per project.mora project bind --scope project:my-app ..mora hook install --client antigravity writes SessionStart and PreInvocation (no Stop) into ~/.gemini/config/hooks.json. It has not been tested against a real Antigravity install. Under WSL it refuses unless you pass --hooks-file /mnt/c/Users/<name>/.gemini/config/hooks.json.# Save an owner-confirmed decision. It asks "Save this as your own statement? [y/N]"
# and refuses outside your own terminal (a pipe, a script, or an agent session).
mora write --mine --scope project:my-app --type decision \
--title "Package manager" \
--text "Use pnpm in this repository, not npm."
# Inspect the exact <2,000-character Project Brief your agent gets at SessionStart
mora brief --project .
--mine (and mora review below) ask a question at a real terminal and refuse inside an agent session or an IDE-agent terminal, so run them in a plain terminal window.
Without --mine, mora write saves the note but the brief lists it under Notes, not instructions, not under Owner rules. At a terminal, outside an agent session, it prints one extra stderr line saying so and pointing at --mine. Run from inside an agent session (CLAUDECODE, CODEX_SANDBOX and the other session variables --mine refuses on), it saves the note as an unreviewed agent note instead, tagged mora-tentative: it waits in mora review, stays out of the prompt-recall hook (a project decision can still show in the session brief under Notes, not instructions), and prints one stderr line saying so. mora confirm <id> and mora mcp proposals approve refuse inside an agent session too. Run inside a bound folder, mora write defaults to that project's scope and says so on stderr; --scope overrides it.
mora given # see which notes Mora handed to your agent (with titles)
mora review # keep (confirm as yours) or reject notes agents saved
mora status # folder, health, notes waiting for review, last delivery
mora status --web # same, as a read-only page on 127.0.0.1 (URL with a random token is printed)
mora undo <memory-id> # remove an agent-written note from the vault
mora teach memory retract --id <id> --yes # hide an authored memory from retrieval while keeping history
mora handoff write --scope project:my-app \
--title "Auth migration handoff" \
--direction "Move session cookies to PKCE flow" \
--why "Legacy token refresh fails on mobile WebViews" \
--where "PKCE verifier merged; callback handler tests passing" \
--next "Wire token exchange in internal/auth/callback.go"
mora handoff show --scope project:my-app # bare `mora handoff` shows the latest too
mora handoff list
A handoff is a vault memory (type: handoff) that carries direction, why, key turns, where the work stands, and the next step into the next session's Project Brief, and across machines if you sync the vault. Other flags: --project DIR, --turns, --text, --short, --json. Add --mine to save it owner-confirmed (it asks at your terminal). Without --mine, and for any handoff an agent writes, it is unconfirmed and the brief labels it Last handoff (unconfirmed). The brief shows the newest handoff when you confirmed it. If the newest is unconfirmed, the brief shows your newest confirmed one from the last 14 days instead, with a line saying a newer unconfirmed handoff exists (mora handoff show prints it, escaped, and says whether it is confirmed). With no recent confirmed handoff it shows the newest, labelled unconfirmed; and if that one fails the write checks it says only that the newest handoff is withheld, never the text. When a session ends without a handoff, the SessionEnd hook records the last five user requests in that bound folder as a crash-safe fallback.
SessionStart (<2,000 characters): When a session starts in a bound project folder, Mora injects two separated blocks instead of a general inbox digest:
Owner rules for project:NAME: confirmed corrections and decisions from project:NAME and global, ordered project-first and newest-first.Notes, not instructions: up to three recent project decisions you have not confirmed (agent notes, and anything saved without --mine), the count of notes waiting for review, and the latest session handoff.personal or other project:* scopes never appear on their own in a bound project.UserPromptSubmit / Antigravity PreInvocation): Searches only the bound project scope and global using stemmed full-text search (porter unicode61) and metadata reranking, adding up to three short matches within 0.7 seconds. A note is added only if it shares two content words with the prompt, or one word that is in its title or rare in the index. Tentative notes are never added. It skips slash commands and prompts under 12 characters.mora mcp serve --project-dir "$PWD"): Exposes brief, search_memory, context_memory, read_memory, write_memory, list_memory, think, calendar_events, list_entities, get_entity, digest, meeting_prep, and delete_memory. With --project-dir, write_memory defaults an omitted scope to the bound project and brief returns the project brief.mora rules): Checks Bash tool calls in Claude Code against regex patterns you approved in your own terminal:
mora rules add --id no-sudo --match '^\s*sudo\b' --message "Do not use sudo here."
mora rules approve no-sudo --mode warn # run in your own terminal
mora hook install --pre-tool
When a command matches, the warning returns with the command result and changes what the agent does next. Today this is opt-in, covers Bash calls in Claude Code on one device, and warns without blocking. Rules drafted from your corrections, and Codex warnings, are not built. See Bash warning rules.mora given): Every time a hook or MCP tool hands notes to an agent, Mora appends the timestamp, surface (hook-session-start, hook-recall, mcp:<tool>), caller, scope, and note IDs/titles to given.log. It says "given", never "used": Mora cannot prove whether the agent followed the note.mora status, mora status --web, macOS Mora Status.app): mora status --web serves a read-only page on 127.0.0.1 behind a random per-run URL token printed at start. It shows health, notes waiting for review, and the last delivery; it has no Keep/Reject buttons. Reviewing (keep or reject agent notes) happens with mora review in a terminal.~/vault/mora): Every memory is a readable .md file with YAML frontmatter. No AI model is called when Mora saves or searches.mora check): Counts rejected or interrupted Bash commands in local Claude Code and Codex transcripts and compares repeat rates against a baseline of unrejected commands, making no network connection.What Mora does not do:
This policy governs the MCP write_memory and delete_memory tools, the loopback HTTP /call route, and paired companion captures. It does not gate connectors, tasks, or mora teach in your terminal, and mora write only inside an agent session (see the table):
| How it is saved | Waits for your approval? |
|---|---|
mora write in Terminal | No. Saved at once (--mine marks it owner-confirmed after you confirm in your terminal). Run inside an agent session, it saves tentative like an MCP write and waits for mora review; it does not run the hold checks. |
mora handoff write | No. Saved at once as type: handoff (--mine marks it owner-confirmed). |
| Connectors (files, mail, calendar, messages, GitHub) | No. Saved at once as read-only source evidence. |
mora teach ... --yes corrections | No. Saved at once, and reversible with mora teach undo. |
An agent's write_memory call over MCP | Default (tentative): low-risk notes save at once with a mora-tentative tag (save now, review later via mora review). High-risk notes wait in the proposal queue. Under propose, all agent writes wait for approval. |
Lifecycle hooks (SessionStart, UserPromptSubmit, SessionEnd) | Hooks never write vault memories (SessionEnd updates only the per-project handoff state). |
tentative ("save now, review later") worksBy default (mcp_write_policy = "tentative"), an agent's write_memory call is tentative: it saves immediately with a mora-tentative tag when its type is insight, fact, decision, task, correction, or handoff and its text passes Mora's deterministic write checks. It stays tentative until you review it; nothing an agent writes becomes owner-confirmed on its own. Ordinary coding rules such as "always use pnpm" save as tentative. A write is held in the proposal queue (held_because) when:
A tentative memory appears in search, read, list, and context with "trust":"tentative", and tentative decisions and handoffs appear in the Project Brief's Notes, not instructions section. They do not enter Owner rules, the prompt recall hook, the daily brief, think, or mora share until confirmed, and a tentative correction does not change how other notes are shown.
Run mora review in your own terminal to step through saved tentative notes and held proposals ([k]eep [r]eject [s]kip [q]uit). Keeping a note removes mora-tentative and binds "trust":"owner-confirmed" to the exact fields shown. You can also mark a note owner-confirmed in your terminal with mora write --mine or mora confirm <id> --mine. Plain mora confirm <id> only removes the tentative tag; the note becomes ordinary, not owner-confirmed.
Honest limits:
mora write, mora confirm, or mora mcp proposals approve directly, so MCP write policy is not a sandbox against a shell-capable agent.mora review and --mine check stdin and known Claude Code / Codex session variables, not every IDE harness, and a process using a pseudo-terminal or writing vault files directly can forge the owner-confirmed tag. It is a review record, not a cryptographic signature.mora teach memory retract and mora teach undo hide a memory from current retrieval and keep history; mora undo <id> deletes an agent-written file and logs the undo. Neither erases text from agents or shared peers that already read it.tentative, propose, open, readonly)mora config mcp-write-policy tentative # default: save low-risk notes with a tag; review later
mora config mcp-write-policy propose # agents can only propose through MCP; writes wait for approval
mora config mcp-write-policy open # agent writes save at once; MCP deletes allowed
mora config mcp-write-policy readonly # agent writes and deletes refused
To inspect and decide held proposals directly:
mora mcp proposals list
mora mcp proposals show <proposal-id>
mora mcp proposals approve <proposal-id>
mora mcp proposals reject <proposal-id>
To give a specific local or remote agent its own scope and tool limits, use mora agents add <name> --read-scopes project:my-app,global and mora mcp serve --profile <name>. See Agent profiles.
Beyond project rules and handoffs, Mora can index your folders, mail, messages, calendars, and GitHub Issues into the same local vault so you or an agent you authorize can search them in one place.
mora connect filesystem ~/Documents/notes # local Markdown, text, PDF, and Word files
mora connect google # Gmail and Google Calendar (readonly OAuth)
mora connect github --repo owner/repository # GitHub Issues
mora connect imessage # macOS; needs Full Disk Access for Mora.app
mora connectors enable whatsapp # macOS; local WhatsApp Desktop store
mora ingest run --source whatsapp
mora connectors enable applecalendar # macOS; needs Full Disk Access for Mora.app
mora ingest run --source applecalendar
Mora only reads these sources; it never sends, edits, or deletes mail, messages, events, or issues. For macOS imessage, whatsapp, and applecalendar, grant Full Disk Access to /Applications/Mora.app (Homebrew) or ~/Applications/Mora.app (direct install) in System Settings > Privacy & Security > Full Disk Access, then run mora doctor. See the guide.
mora brief # daily digest of changes, commitments, and health
mora search "What is open with Sam?" # hybrid search across sources and notes
mora think "What did we decide about pricing?" # cited evidence plus coverage gaps (no LLM call)
mora brief --event-id calendar_event/abc # cited meeting prep
mora tasks list # open local tasks
mora doctor # source, index, and configuration health
Nothing is uploaded by default. When you want off-device backup or cross-machine sync, choose the path that matches your trust boundary:
| Path | Leaves this computer? | Encryption added by Mora? | What it moves |
|---|---|---|---|
mora backup | No | No | Writes a local .tar.gz snapshot in Mora's state directory. |
mora sync git | Yes, if the remote is off-device | No | Pushes the plaintext vault (including tentative notes and handoffs) to a private Git remote you control. |
mora share | Yes | Yes, with age | Publishes only confirmed authored memories from one chosen scope to a Git remote or S3/R2 bucket you control. |
See Backup and sharing before enabling any network path.
| Installed with | Update command |
|---|---|
| Homebrew Cask | brew update && brew upgrade --cask pyranthus-hq/tap/mora |
| Direct signed-app installer | mora upgrade |
| Go source build | Run go install again. Source builds do not self-update. |
To enable daily release checks for a signed app:
mora upgrade --policy auto
mora schedule install update-daily
mora upgrade --status
After any update, run mora version and mora doctor.
mora schedule list # on WSL this prints "cron listing not implemented"; remove your own cron line instead
mora schedule uninstall <each-job-name-shown>
mora hook uninstall
mora serve http uninstall
Then run brew uninstall --cask pyranthus-hq/tap/mora for a Homebrew install, or the checked uninstall-app.sh script in the guide for a direct install. Both leave your vault data in place unless you explicitly purge it.
| Path | Holds | Can Mora rebuild it? |
|---|---|---|
~/vault/mora | Markdown memories, rules, and handoffs | No. Back it up. |
~/.local/share/mora | SQLite FTS5/vector index and received shares | Yes, except received share data must be pulled again. |
~/.local/state/mora | Sync state, given.log, usage log, local backups | Usually. |
~/.config/mora | config.toml, projects.json, OAuth tokens, share keys | No. Reconnect or restore it. |
Run mora config to see active paths. MORA_VAULT selects another absolute vault path for one process without changing config.toml.
gmail.readonly and calendar.readonly. iMessage uses mode=ro. Apple Calendar uses mode=ro plus SQLite query_only(1).given.log, sync state, and usage log stay on this machine unless you configure a connector, release check, backup remote, share remote, or cloud agent tunnel.mora upgrade checks GitHub Releases, mora sync git and mora share upload to remotes you configure, and any cloud or local agent that reads a Mora result processes that result under its own model provider's data rules.mora brief, mora think, and mora check make no LLM calls. Optional Ollama embeddings are restricted to a loopback address (127.0.0.1 / localhost).mora usage off or DO_NOT_TRACK=1.~/vault/mora are plaintext Markdown on disk. Use FileVault, BitLocker, or Linux disk encryption.Mora's main paths have tests; coverage across other people's real data is still growing during beta. Read the cited source before you act on a result. A failed or old sync can make the local copy stale; mora doctor reports source and index health.
With the default static embedder, Mora searches parent memories and bounded Gmail/iMessage message segments with stemmed SQLite FTS5 (porter unicode61; title and tag hits rank ahead of body hits) and metadata reranking so confirmed project corrections and decisions rank above long source files. The query ORs its content words (common words are dropped) and ranks the best matches first. An index built by an older version gets stemming after mora index rebuild --if-needed. With an active loopback Ollama embedder, it joins full-text, vector, person-graph, and message-segment lists using Reciprocal Rank Fusion (RRF).
Mora's frozen evaluation corpora start from a written answer key, pin every byte, run the real brief, search, and meeting code, and verify citations and commitment fields. The fixtures and scores live in internal/mora/eval/ and evaluation and testing.
mora-recall, memory-capture, daily-brief-loop).GitHub checked 15h ago - refresh overdue. Recently viewed repositories target hourly refresh.