Native AI memory has five structural gaps — per-project silos, no bridge between products, no cross-AI by design, one-machine binding, and gone the moment your account is. memex captures every conversation into one local SQLite file you own, searchable from any MCP-compatible agent.
Even Claude Memory (Pro/Max), ChatGPT memory, and Claude Code's CLAUDE.md leave structural holes. memex closes all five — verifiable against Anthropic's own open feature requests.
memex is MIT-licensed and not VC-funded. The code on GitHub IS the product — forkable, runnable forever, and impossible to quietly kill via acquihire. Rewind/Limitless got bought by Meta and shut down their Mac app on December 19, 2025. Local-first tools die when their owners cash out. memex can't, because there's no central owner to buy.
One folder. One database. Any agent can ask.
memex-sync daemon watches your Claude Code and Cowork directories via FSEvents. Every new session captured into memory within ~1.5 seconds. One install command, runs forever.
Server-side instructions teach any connecting agent to call memex first — for any topic, name, or decision the user references. No more 'please remember to check memex'. Decision tree, abstention rules, FTS5 syntax — all baked in.
Discussion in Cowork? Cursor sees it. Conversation in Claude Code? Continue can read it. Telegram chat with your AI bot? All searchable. One source of truth, any client.
Cowork sessions spawn helper subagents. Their transcripts captured separately and linked to parent. Search finds delegated research. Pull a main session with include_subagents:true to see the full picture.
Anthropic decides when Claude Memory disappears. memex doesn't. Account suspended? Country blocked? TOS update? The SQLite file on your laptop doesn't care. Your AI history stays yours, by architecture — not policy.
MCP server (passive memory) installs with npm. Auto-capture daemon (live updates) installs separately with one command. You decide. Without consent, nothing runs in your background.
Tiny surface, big impact. The agent decides when to call them.
Two paths. Pick the one that fits.
Already chatting with Claude Code, Cursor, Cline, Continue, or Zed? Any of them can do the whole install in 2 minutes — clone, wire the MCP config, turn on auto-capture. Just paste this prompt into the agent. It will show you each command before running, ask for confirmation on anything risky, and tell you when to restart.
Install memex on this machine. Memex is a local-first AI memory tool — it captures my Claude Code and Cowork conversations into a searchable SQLite index that any MCP-compatible agent can query. Repo: https://github.com/parallelclaw/memex-mvp
Do these four steps in order. Show each command before you run it. Stop and ask if anything fails or looks wrong.
1. Clone and install
- Suggest a parent directory (default: ~/Documents). Confirm with me.
- cd into that directory
- git clone https://github.com/parallelclaw/memex-mvp
- cd memex-mvp
- npm install
Verify: server.js exists; npm install completed without fatal errors.
2. Wire memex into my MCP client
- You're running inside one of: Claude Code, Cursor, Cline, Continue, Zed.
Tell me which one you've inferred and which config file you'll edit.
Common locations:
Claude Code → ~/.claude/config.json (or platform-specific equivalent)
Cursor → ~/.cursor/mcp.json
Cline → VS Code settings.json (cline.mcpServers)
Continue → ~/.continue/config.json
Zed → ~/.config/zed/settings.json (context_servers)
If unclear, ask me.
- Read the existing config (if present). Show me a diff before saving.
- MERGE this entry into mcpServers — never overwrite other servers I have:
{
"mcpServers": {
"memex": {
"command": "node",
"args": ["<absolute path to memex-mvp/server.js>"]
}
}
}
Use the absolute path from step 1 (run pwd inside memex-mvp).
- If the config file doesn't exist, create the parent directory and write a minimal valid file with just memex.
Verify: re-read the file after save; confirm memex entry is present and the path is absolute.
3. Turn on live auto-capture (recommended)
- From the memex-mvp directory: npx memex-sync install
- Then npx memex-sync status — should print "daemon installed", "running (PID …)", "watching N sessions".
Verify: status output shows a non-zero PID.
4. Tell me what to do next
- Tell me to fully quit and reopen the MCP client (Cmd+Q on macOS) so it picks up the new memex tools.
- After restart, suggest I ask: "show me what memex has in memory"
— that triggers memex_overview and confirms everything works end-to-end.
Safety rules — read these before starting:
- If `node` or `npm` aren't installed, stop and tell me to install Node.js (recommend nvm.sh). Don't try to install Node yourself.
- Never run rm, sudo, or anything destructive without explicit confirmation from me.
- Show every command before running it. If I say "no" or "stop", halt and explain.
- If a step fails, do NOT auto-retry or auto-fix — tell me what failed and ask how to proceed.
- When editing my MCP config, always preserve existing entries. If you can't merge cleanly, abort and tell me.
Begin by greeting me, asking which directory to clone into, and confirming which MCP client I'm using.
Each step shows where it happens. Do them in order. You only do this once.
Open the Terminal app (Spotlight → type "Terminal" → Enter). Paste these three lines, press Enter after each:
git clone https://github.com/parallelclaw/memex-mvp
cd memex-mvp
npm install
The third command prints a lot of text — that's normal, wait until it finishes.
Still in Terminal, find the full path to your memex folder:
pwd
Copy what it prints — that's your-memex-path. Now open ~/.claude/config.json in any text editor (TextEdit, VS Code, Sublime, vim — anything). If the file doesn't exist, create it. Paste this and replace your-memex-path with what you copied:
{
"mcpServers": {
"memex": {
"command": "node",
"args": ["your-memex-path/server.js"]
}
}
}
Save the file. (Cursor, Cline, Continue, Zed have similar config files — same JSON shape.)
Back in Terminal, run:
npx memex-sync install
This sets up a tiny background process that catches every new Claude Code and Cowork session within ~1.5 seconds. It survives reboots, crashes, and lid-closes — install once, forget it.
Verify it's working:
npx memex-sync status
Should print: daemon installed · running (PID …) · watching N sessions.
Open a new Claude Code session. In the chat, ask in plain language:
show me what memex has in memory
The agent will call memex_overview automatically. From this moment on, every conversation in Claude Code or Cowork is captured into memex within seconds — and the next time you open a session, the agent already knows what you've been working on.
Stuck on any step? Open an issue — we'll help.
A separate Python CLI for exporting Claude Code/Cowork sessions to Markdown — for backup, sharing, reading offline, anywhere outside memex. Not required for memex itself — npx memex-sync scan-claude ingests the same data without any Python dependency. Use claude-backup if you specifically want Markdown files as a side-effect.
pip install claude-backup
claude-backup export-all -o ./markdown-backup/
# → readable .md files of every session
github.com/parallelclaw/claude-backup →