Quick Start
Estimated time: 10 minutes
Goal: initialize local storage, add one memory, and find it again from the terminal.
This path uses LTM only. You do not need an existing notes folder, embedding model, cloud account, MCP client, or STM proxy.
1. Check the Prerequisites
Section titled “1. Check the Prerequisites”memtomem requires Python 3.12 or later. This guide recommends uv for a persistent CLI installation.
python --versionuv --versionOn Windows, use py --version if python is not available. If uv is missing, install it from the official uv installation guide, reopen the terminal, and rerun uv --version.
2. Install and Initialize
Section titled “2. Install and Initialize”uv tool install --python 3.12 'memtomem[all]'mm --versionmm init --preset minimal --non-interactive --mcp skipThe Minimal preset uses keyword search and does not download an embedding model. --mcp skip keeps the first test independent of any client configuration.
If the shell cannot find mm, run uv tool update-shell and reopen the terminal. If the reported version is stale, refresh the package metadata:
uv tool install 'memtomem[all]' --refresh3. Verify a Memory Round Trip
Section titled “3. Verify a Memory Round Trip”Check the new store before adding anything:
mm statusStorage and database paths should be visible. A zero chunk count is normal in a new store. Now add and search one memory:
mm add "Release smoke tests run before traffic cutover" --tags release,decisionmm search "release smoke tests"The result should contain the saved sentence and its Markdown source path. This proves that the local store, write path, index, and keyword search all work.
Add Semantic Search Later
Section titled “Add Semantic Search Later”The interactive preset picker offers Minimal, English (Recommended), and Korean-optimized. See Preset choice for what each one searches with and downloads.
Rerun mm init after the first success when you want to change the provider. See Installation before changing an existing index’s embedding model.
Open the Web UI
Section titled “Open the Web UI”The CLI round trip is sufficient for the first success. To browse search results, sources, tags, settings, and Context Gateway in a browser:
mm web --openDeveloper and maintainer pages require mm web --dev; normal use does not.
- Connect an AI Client — register one client and verify
mem_status. Claude Code and Codex users should prefer the official plugin. Installing a plugin or registering MCP does not index the whole project, watch files, import built-in memory, or save conversations automatically. - Index and Import Existing Content —
mm indexormm ingestwith a dry run and source-backed search - Memory Across Sessions — retrieve a saved decision in a new session
- Add STM to an MCP Server — only when an MCP workflow needs response compression, caching, or proactive LTM surfacing;
mms ejectrestores the original setup - Local-First & Privacy — local defaults and opt-in network boundaries
- Troubleshooting — return to the failed step with a concrete fix
- Choose Your Path — every next task by outcome