Private, file-based memory that lets your agents recall context across every conversation and project — over the Model Context Protocol, all on your machine.
macOS only · open-source core · runs 100% on-device · no account, no cloud
claude-code — memory_search
# recall a preference before answering
agent→memory_search("coffee")
✓ 1 memory recalled ·local
→ "Prefers flat white with oat milk."
agent· A flat white with oat milk, coming right up. ▋
claude-code — memory_store
# the user just made a decision worth keeping
agent→memory_store("Switched primary editor to Cursor.")
✓ saved ·decision·local
→ stored as memory #42, visible to this agent
agent· Noted — I'll remember you're on Cursor now. ▋
claude-code — memory_recent
# what has the user told me lately?
agent→memory_recent(limit:3)
✓ 3 memories ·local
Coffee preferencepreference
Backend rolefact
Linear INGEST trackerproject
claude-code — memory_update
# "actually I drink cortados now"
agent→memory_update(id:7, content:"Prefers a cortado.")
✓ updated ·preference·local
→ "Prefers a cortado."(was: flat white)
agent· Updated — cortado it is from now on. ▋
localmem — delete
# you decide what gets forgotten
$ localmem delete 31
✓ removed "Old API sandbox URL"·local
→ gone from disk — no cloud copy to chase▋
What is Localmem
Persistent context, without giving up your privacy
🔒
100% local & private
Memories live in plain files on your Mac. Nothing ever leaves the device — no cloud, no accounts.
🗂️
Cross-project by design
Recall context across every conversation and repo. One shared memory, wherever your agent works.
🔌
Speaks MCP
A native Model Context Protocol server any compatible agent can connect to in seconds.
🛡️
Per-memory access control
Grant or revoke what each agent can read and write, memory by memory.
📜
Full audit log
Every store and recall is logged locally, so you always know what your agents remember.
⌘
App + CLI
A polished macOS app for browsing memories, plus a fast CLI for scripting and automation.
📄
Import from your files
Pick Text, Markdown, or PDF files and Localmem pulls out the key facts on your Mac, turning them into memories — via Apple Intelligence, or a coding agent you already use. Every fact is verified against the source document before it's stored, and each file shows exactly what was kept vs dropped. You choose every file; nothing is scanned automatically.
📦
Import & export
Move memories in and out as plain JSON — portable backups and one-click transfer between Macs, no proprietary tooling.
A look inside
See Localmem in action
How it works
Three steps to lasting memory
1
Install & connect
Download the app or run the CLI, then point your agent at the local MCP endpoint.
2
Agents store & recall
Your agents write and search memories automatically as they work — no manual bookkeeping. Or seed the vault by importing your files.
3
You stay in control
Browse, edit, and revoke memories anytime from the app. Your data, your rules.
One memory, every agent
Claude Code
Claude Desktop
Cursor
Codex
Antigravity
Any MCP client
On the roadmap
More, coming soon
☁️
Soon
Encrypted iCloud sync
Optional sync across your Macs — CloudKit only ever sees encrypted records, never plaintext.
📱
Soon
iPhone companion
Browse, search, and capture memories on the go — the same private vault in your pocket.
🔌
Soon
More connectors
Additional agent adapters and integrations, so every tool you use shares one memory.
📓
Soon
Obsidian & notes import
Localmem detects your Obsidian vaults and lets you pick exactly the notes worth remembering — Apple Notes and Notion to follow.
Download Localmem
The native macOS app — download, drag to Applications, and connect your agents in one step.