Skip to content

Installation

  • Python 3.12+
  • pip, uv, or pipx
  • Embeddings: ONNX (built-in) / Ollama (~270MB) / OpenAI API
Terminal window
# uv (recommended)
uv tool install memtomem
# pipx
pipx install memtomem
# pip
pip install memtomem
Terminal window
pip install memtomem[korean] # kiwipiepy Korean morphological analysis

After installation, the mm CLI is available:

Terminal window
mm init # interactive setup wizard
mm serve # start MCP server
mm web # launch Web UI dashboard
Terminal window
# uv (recommended)
uv tool install memtomem-stm
# run without installing
uvx memtomem-stm --help
# pip
pip install memtomem-stm
Terminal window
pip install memtomem-stm[langfuse] # Langfuse observability tracing
pip install memtomem-stm[langchain] # LangChain agent integration

After installation, the mms CLI is available:

Terminal window
mms add <name> --command <cmd> # register upstream MCP server
mms list # list registered servers
mms serve # start STM proxy
ProviderSetupGPUCost
ONNX (fastembed)Built-inNot requiredFree
Ollamaollama pull nomic-embed-textNot requiredFree
OpenAIAPI key requiredPaid

Choose a provider during mm init or set the MEMTOMEM_EMBEDDING_PROVIDER environment variable.

CategoryTechnology
MCPFastMCP (stdio, SSE, Streamable HTTP)
FrameworkPydantic v2, Click (CLI), FastAPI (Web UI)
DatabaseSQLite (FTS5 full-text search), sqlite-vec (vector search)
Code parsingtree-sitter (Python, JS, TS AST)
Koreankiwipiepy morphological analyzer (optional)
ObservabilityLangfuse (optional)