The memloom CLI is a thin client. Every command talks to the memloom serve daemon over
HTTP on 127.0.0.1:4319, and auto-starts it if it isn’t running. The daemon is the single
owner of the store, so the CLI, MCP clients, and the viewer all read and write the same
memories with no lock conflicts.
To try it without installing anything, run every command through
npx memloom@latest <command> instead. Pin @latest so npx does not reuse a stale
cached copy.
Configuration lives in ~/.memloom/config.env (created by init). Set OPENROUTER_API_KEY
there for real embeddings plus LLM dedup and entity extraction, then restart the daemon. See
Configuration for the full reference.
Getting help
Every command documents itself:
Commands
One line per command here; the pages in the Commands group cover each one in full,
with flags, examples, and the behavior behind them.
Inspecting the store directly
On the embedded tier, the daemon also speaks the Postgres wire protocol. Point Drizzle
Studio, psql, or any DB client at:
With MEMLOOM_PG_URL set there is no bridge; connect those tools to your Postgres server
directly.
PGLite is a single-connection database: while a DB client is connected on 54329, the HTTP
API answers 503 for memory endpoints. Disconnect the client to resume.