Installation
Prerequisites
- macOS (primary target) or Linux
- Rust toolchain (
cargo) - Ollama running locally — required for the
compilestep pdftotext(frompoppler) —brew install poppler
Install the CLI
cargo install --git https://github.com/yiidtw/amem-sh
Or from a local checkout:
git clone [email protected]:yiidtw/amem-sh.git
cd amem-sh
cargo install --path .
Verify
amem --version
amem --help
Register with Claude Code
cargo install does not auto-register the MCP server. Run this once:
amem mcp install
This registers amem under your user scope (~/.claude.json). After restarting Claude Code, /mcp will show amem · ✔ connected, giving any agent access to amem_capture, amem_compile, amem_cite, amem_recall.
The one-liner shell installer (install.sh) runs this automatically if claude is on PATH.
To undo: amem mcp uninstall.
Pull an Ollama model
ollama pull llama3.1
Override the default model with AMEM_OLLAMA_MODEL=<name> if needed.
Next
- Quick Start — capture your first paper
- Concepts — how amem thinks