Skip to content

Quick Start

This path gets one thing working first: install the LTM server, register it with your MCP client, index a folder, then search it from your agent. STM is optional and can be added after the basic memory loop works.

Terminal window
uv tool install 'memtomem[all]' # or: pipx install 'memtomem[all]'
mm --version

[all] includes the Web UI, local ONNX embeddings, code chunking, Korean tokenizer support, and provider clients for Ollama / OpenAI. For a smaller BM25-only install, see Installation.

If mm --version prints an older version right after install, upgrade with refreshed package metadata:

Terminal window
uv tool install 'memtomem[all]' --refresh
Terminal window
mm init

The wizard starts with a preset picker:

PresetBest forWhat it does
MinimalFirst smoke test, smallest installBM25 keyword search only
EnglishMost English projectsLocal ONNX embeddings + English reranker
KoreanKorean or multilingual notesMultilingual embeddings, reranker, Korean tokenizer

For scripts or CI:

Terminal window
mm init -y # minimal preset, no prompts
mm init --preset english -y # English preset, no prompts
mm init --preset korean -y # Korean preset, no prompts
mm init --advanced # full wizard

During setup you can also enroll existing AI-agent memory folders, such as Claude Code memories, Claude plans, or Codex CLI memories. Enrollment only registers the folders for future watching; seed existing files once with mm index.

Before wiring an editor, confirm the CLI can open the config and database:

Terminal window
mm status

You should see storage, embedding, and chunk-count information. Zero chunks is normal before indexing.

If you picked “auto-register with Claude Code” in the mm init wizard, LTM (memtomem-server) is already registered — no extra LTM command needed.

For a manual registration (skipped the wizard prompt, or moved to a new machine):

Terminal window
claude mcp add memtomem -s user -- memtomem-server

Ask your agent to “call mem_status” after registration. That verifies the MCP client is launching the same server your terminal sees.

Use the CLI once so you can see the full loop without depending on an agent:

Terminal window
mm add \
"The staging deploy uses the blue-green checklist in docs/deploy.md" \
--tags "deploy,ops"
mm search "staging deployment checklist"

Then index the notes, docs, or code you want agents to search:

Terminal window
mm index ~/notes
mm index ~/projects/my-app/docs

After that, use natural language in your MCP client:

Tell your agentTool usually calledResult
”Check memtomem status”mem_statusConnection and index summary
”Remember this decision…”mem_addNew memory stored in markdown
”Index this docs folder”mem_indexExisting files become searchable
”Search for the deploy checklist”mem_searchRanked snippets from your memory
Terminal window
mm web --open

The default Web UI is the polished user surface for search, sources, tags, timeline, settings, and Context Gateway. mm web --dev adds maintainer-oriented pages that most users do not need.

memtomem-stm is a separate proxy for proactive memory surfacing and response compression. Add it after the LTM flow above works:

Terminal window
uv tool install memtomem-stm
mms init --mcp claude
mms health

See STM Overview when you want tool-response compression or automatic memory injection.