Skip to main content

For humans: one prompt

Paste this into Claude Code, Cursor, or any agent that can run commands and fetch a URL.
If your agent supports skills:
That adds memloom-setup, this runbook condensed, and memloom-use, how to use memloom well day to day.

For agents: ground rules

Everything below is yours to do autonomously, except two things.
The API key. Ask for OPENROUTER_API_KEY when the step comes. If the human declines, continue offline and say that recall quality is degraded until a key is set. Never print the key into logs, chat, or command output.Consent for capture and paid imports. Never run memloom connect claude-code or a non-dry-run import without the human naming the scope.
Report each step briefly. If one fails, check Troubleshooting before improvising.

Steps

Check Node

Expect v20 or later. If older, stop and ask the human to upgrade. npm silently skips the install otherwise.

Install and initialize

Creates ~/.memloom and starts the daemon. Expect the config path and http://127.0.0.1:4319.

Ask for the API key

Add it to ~/.memloom/config.env, then restart:
If anything was saved before the key was set, the daemon refuses to start, because offline and cloud vectors live in different spaces. Run memloom stop, memloom reembed, memloom init.

Register the MCP server

For other clients see the client pages. The shape is always the same: run npx -y @memloom/mcp as a stdio server.

Connect Claude Code

Ask which projects may be captured, then:
Repeat per project, or --all only with explicit approval. Installs two hooks: session-end capture and prompt-time recall. Both merge with existing hooks, and a backup is written first.

Import what exists

Show the human each result and get approval before running without --dry-run.

Verify

Expect the saved memory as the top hit, the same hit from the MCP client’s recall_memory, and a status showing the daemon running with the chosen capture scope.

Troubleshooting