AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified Apache-2.0 Self-run

Memrec

mcp-itcraft-cn-memrec · by itcraft-cn

Local-first AI memory with project isolation — for terminal, for private use

No reviews yet
0 installs
21 views
0.0% view→install

Install

$ agentstack add mcp-itcraft-cn-memrec

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-itcraft-cn-memrec)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Memrec? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

[中文版](README_cn.md) | English

MemRec — AI Memory Persistence System

> Local-first AI memory with project isolation — for terminal, for private use

Local memory persistence system for AI CLI tools, providing cross-session memory recovery, knowledge accumulation, and conversation archival.

Features

  • Project Isolation — Auto-detect git root, .mr_pid persistence, independent memory per project
  • Semantic Search — Local ONNX model (384-dim), zero API cost, all data stays local
  • Cross-Project Search--all flag to discover related knowledge across projects
  • AI-first Design — JSON output by default, concise commands, Skill integration
  • High Performance — Rust, 7.5KB) automatically split into chunks
  • Systemd Integration — Manage daemon with systemctl --user

Quick Start

Install

# One command to install everything
cargo install --locked mr-install
mr-install

mr-install automatically:

  1. Installs memrec/memrecd via cargo install
  2. Creates ~/.memrec/ directory structure
  3. Downloads ONNX embedding model (~90MB)
  4. Registers and starts the daemon service
  5. Verifies the installation

| Platform | Binary Path | Data Path | |----------|------------|-----------| | Linux | ~/.local/bin/ | ~/.memrec/ | | macOS | ~/bin/ | ~/.memrec/ |

Mirror options for model download:

mr-install --use-hf-mirror           # Use hf-mirror.com (China)
mr-install --mirror-base-url    # Custom mirror

Usage

# Add memories
memrec add "Choose JWT auth" --mtype decision --tag critical
memrec add "RAII: resource acquisition is initialization" --mtype knowledge --tag best-practice --tag rust
memrec add "User prefers verbose output" --mtype preference --tag output --global

# Semantic search
memrec search "auth"                        # Current project + global
memrec search "performance" --project-only  # Current project only
memrec search "preferences" --global-only   # Global memories only
memrec search "xlsb" --all                  # Across all projects

# Other commands
memrec list --limit 20
memrec get 
memrec stats
memrec version

Project Isolation

MemRec automatically creates independent memory spaces for different projects:

project-a/           project-b/
├── .mr_pid          ├── .mr_pid        ← Auto-created, different IDs
├── .gitignore       ├── .gitignore     ← Add .mr_pid to .gitignore
└── src/             └── src/
  • Git repos: Auto-detect git root
  • Non-git dirs: Use current working directory
  • Global memories: --global flag, accessible from all projects
  • Cross-project search: --all searches across all projects

Memory Types

| Type | Flag | Purpose | |------|------|---------| | Decision | decision | Key technical/business decisions | | Knowledge | knowledge | Knowledge (subdivide via tags: fact/best-practice/algorithm/tool) | | Context | context | Project config, environment info | | Preference | preference | User preferences (recommend --global) | | Conversation | conversation | Conversation records (default) |

Data Location

~/.memrec/
├── config.toml           # Configuration
├── memrecd.sock          # Unix Socket
├── data/                 # RocksDB memory metadata
├── vectors/              # RocksDB vector storage
└── models/               # ONNX Embedding model

Environment Variables

| Variable | Purpose | Default | |----------|---------|---------| | MEMREC_MODEL_DIR | Custom model path | ~/.memrec/models/Qdrant--all-MiniLM-L6-v2-onnx/ | | MEMREC_MIN_SCORE | Min similarity score | 0.75 | | RUST_LOG | Log level | info |

Documentation

  • [Installation Guide](docs/installation.md)
  • [User Guide](docs/user-guide.md)
  • [Skill Documentation](docs/skills/memrec-skill.md)

Project Structure

memrec/
├── common/       # Shared types and protocol
├── memrecd/      # Daemon service
├── memrec/       # CLI tool
├── mr-install/   # Installer
└── docs/         # Documentation

License

Apache-2.0

Changelog

See [CHANGELOG.md](CHANGELOG.md)

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.