What is Memex?
Memex is a local-first MCP server that indexes your Claude.ai chat history and your local Claude Code/terminal sessions, making both searchable from Claude Code (via stdio) and Claude.ai (via a remote MCP connector). It solves the gap between planning on claude.ai and executing in Claude Code—Claude can now pull in past conversations without manual copy-paste.
How to use Memex?
Install Memex with a single command (curl/sh or PowerShell script), which runs memex setup to wire it into Claude Code, install the always-on capture service, and print a pairing token. Then install the Memex Chrome extension, paste the token, and click “Backfill claude.ai history.” For a manual path, clone the repo, run uv sync, then uv run memex ingest (or memex ingest from a pip install). Start the MCP server with uv run memex-mcp and add a .mcp.json config to Claude Code. Searches are also available from the CLI via memex search.
Key features of Memex
- Hybrid search (vector + FTS5 BM25) across all indexed chats.
- Live capture via Chrome extension for new claude.ai chats.
- Local-first: data stored in SQLite + sqlite-vec, no cloud dependency.
- Embeddings via fastembed (zero-config) or optional local Ollama.
- Auto-summaries and chat ↔ repo association.
- One-command cross-platform setup (macOS, Linux, Windows).
- Remote MCP connector for claude.ai with GitHub OAuth and IP‑level tunnel.
Use cases of Memex
- Ask Claude Code about a decision discussed only on claude.ai.
- Search your entire chat history from Claude Code without leaving the terminal.
- “Find more like this” for a current problem—
find_related retrieves semantically related conversations.
- Backfill and keep claude.ai history indexed while working in Claude Code.
- Connect from claude.ai web or mobile to the same indexed corpus via a remote MCP connector.
评论