Skip to content

Getting Started

Terminal window
npm install -g mor

Requires Node.js 20+.

Terminal window
# Add a memory from a file
mor add retryWithBackoff.ts -d "RxJS retry with exponential backoff"
# Add from stdin
echo "Always use snake_case in Python" | mor add -t "Python naming"
# Add from a URL
mor add https://raw.githubusercontent.com/owner/repo/main/config.ts
# Search (full-text, OR-ranked)
mor find retry http
# Grep (substring or regex, with context)
mor grep snake_case
mor grep -E "async\s+function" -i
mor grep -w TODO -n -C 2
# List all
mor ls
# Read
mor cat retry
# Edit in $EDITOR
mor edit retry

Add to your Claude Code or Claude Desktop config:

{
"mcpServers": {
"memory": {
"command": "mor",
"args": ["mcp"]
}
}
}

For Claude Code-specific setup (CLAUDE.md instruction, memberberry hook), see Claude Code integration.