npx claudepluginhub benlocal/memLocal-first Rust memory service for multi-agent workflows. Provides MCP tools (capability_capsule_ingest/search/...) and Claude Code hooks that mine transcripts and inject wake-up context.
Dedicated least-privilege Agent-as-Compiler profile for mem Skill candidates. Exposes compiler tools only; no review or activation authority.
7-day visitors to each marketplace page
Local-first Rust axum memory service for multi-agent engineering workflows. The MVP supports memory ingest, pending review, detail lookup, graph diagnostics, compressed search, feedback updates, and episode-driven workflow extraction, backed by on-disk Lance datasets (read natively via the lancedb Rust API — vector ANN via lance nearest_to, BM25 via an in-RAM Tantivy index, hybrid fused with RRF in Rust). Beyond CRUD, memories have a lifecycle: retrieval reinforcement, time decay, hard expiry, opt-in governance sweeps (idle-archive, ingest quality gate), and an opt-in self-evolution worker that merges and generalizes related capsules — every governance / evolution path defaults OFF, previews via dry-run, and is verbatim-safe (never rewrites or physically deletes a fact).
cargo run
The server binds to 127.0.0.1:3000 by default. Set MEM_DB_PATH to point at a specific Lance dataset directory if you do not want to use the default local dev path.
mem ships its own MCP stdio server in the same binary — no Node, no npm.
# In one terminal: run the HTTP service.
mem serve
# In another (or wired into Codex / Cursor): run the MCP stdio server.
mem mcp
The MCP server forwards 20 tools to the HTTP service over MEM_BASE_URL (default http://127.0.0.1:3000). Configuration env vars:
| Variable | Default | Meaning |
|---|---|---|
MEM_BASE_URL | http://127.0.0.1:3000 | mem serve HTTP root |
MEM_TENANT | local | Default tenant when a tool omits it |
MEM_MCP_EXPOSE_EMBEDDINGS | unset | Set to 1 to enable admin embeddings_* tools |
mem has three interchangeable storage backends behind one Backend trait, all compiled in and selected at runtime via MEM_BACKEND. The default (Lance) needs no setup; Postgres and ClickHouse are for teams that already run them and want a single shared store. mem sync (below) migrates data between any two of them.
| Backend | Select with | Storage | Notes |
|---|---|---|---|
| Lance (default) | MEM_BACKEND=lance (or unset) | On-disk Lance datasets at MEM_DB_PATH, read natively via the lancedb Rust API — vector ANN via lance nearest_to, BM25 via an in-RAM Tantivy index, hybrid fused with RRF in Rust | Zero external services. The standard single-node deployment. |
| Postgres | MEM_BACKEND=postgres + MEM_POSTGRES_URL=… | A Postgres database with the pgvector extension | ANN via pgvector, BM25 via tsvector/GIN, hybrid recall fused with RRF. |
| ClickHouse | MEM_BACKEND=clickhouse + MEM_CLICKHOUSE_URL=… (creds in the URL) | A ClickHouse server (columnar / OLAP) | ANN via cosineDistance over Array(Float32), lexical via substring/token candidates, hybrid fused with RRF in Rust; the update-heavy lifecycle (decay / status / supersede) is modeled as versioned re-inserts into ReplacingMergeTree. See docs/clickhouse-backend.md. |
All three backends are compiled into every build (default dependencies — no cargo feature flags), so selecting one is purely a runtime choice:
# Run with the Postgres backend — no special build flags.
cargo build
MEM_BACKEND=postgres \
MEM_POSTGRES_URL='[REDACTED:DB Connection String] \
./target/debug/mem serve # or target/release/mem after a release build
pgvector available (CREATE EXTENSION vector; — the image pgvector/pgvector:pg16 ships it). Schema migrations (migrations/postgres/0001–0004) are applied idempotently on connect; no manual setup needed.MEM_BACKEND=postgres (or clickhouse) without its MEM_*_URL set is a startup error; with MEM_BACKEND unset (or lance), Lance is always used.mem sync)mem sync copies all data verbatim from one backend to another — any → any across Lance / Postgres / ClickHouse — so you can migrate a local Lance store into Postgres or ClickHouse (or roll back):
# Dry-run first (reads + counts, writes nothing):
mem sync --from lance:/root/.mem/mem.lance \
--to clickhouse:http://mem:mem@localhost:8123 \
--tenant local --dry-run --verbose
# Then for real:
mem sync --from lance:/root/.mem/mem.lance \
--to clickhouse:http://mem:mem@localhost:8123 \
--tenant local
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
RuFlo Marketplace: Claude Code native agents, swarms, workers, and MCP tools for continuous software engineering
Claude Code marketplace entries for the plugin-safe Agentic Awesome Skills library and its compatible editorial bundles.