memcan 0.36.0

Persistent memory for Claude Code — CLI client
memcan-0.36.0 is not a library.

memcan

Persistent memory CLI for Claude Code — store and recall learnings, decisions, and preferences across sessions.

memcan is the thin CLI client that communicates with the MemCan MCP server.

Install

cargo install memcan

Usage

# Add a memory
memcan add "Axum .layer() order: last added = outermost middleware" --project my-app

# Search memories
memcan search "middleware ordering" --project my-app

# Extract memories from conversation (reads stdin)
memcan extract

# Check server status
memcan status

# Count stored memories
memcan count --project my-app

Configuration

Set in ~/.config/memcan/.env or environment:

Variable Default Description
MEMCAN_URL http://localhost:8190 MemCan server URL
MEMCAN_API_KEY (none) Bearer token for server auth

Part of MemCan

This is the CLI component of MemCan — a Claude Code plugin for persistent memory via LanceDB + fastembed. See the main repo for server setup, Docker deployment, and plugin installation.

License

MIT