经 AI Skill Hub 精选评估,开源MCP工具:Persistent memory for Claude Code 获评「推荐使用」。这款MCP工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.5 分,适合有一定技术背景的用户使用。
Persistent memory for Claude Code — single Rust binary, zero config,提供了一个简单易用的MCP工具,适合开发者使用。
开源MCP工具:Persistent memory for Claude Code 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
Persistent memory for Claude Code — single Rust binary, zero config,提供了一个简单易用的MCP工具,适合开发者使用。
开源MCP工具:Persistent memory for Claude Code 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/majiayu000/remem
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"--mcp---persistent-memory-for-claude-code": {
"command": "npx",
"args": ["-y", "remem"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 开源MCP工具:Persistent memory for Claude Code 执行以下任务... Claude: [自动调用 开源MCP工具:Persistent memory for Claude Code MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"__mcp___persistent_memory_for_claude_code": {
"command": "npx",
"args": ["-y", "remem"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
Automatic memory for Claude Code and Codex.
Language: English | 简体中文
remem is a single Rust binary that automatically captures, distills, and injects project context across sessions: decisions, patterns, preferences, and learnings. Stop re-explaining your project every new session.

```bash
curl -fsSL https://raw.githubusercontent.com/majiayu000/remem/main/install.sh | sh
git clone https://github.com/majiayu000/remem.git cd remem cargo build --release cp target/release/remem ~/.local/bin/ codesign -s - -f ~/.local/bin/remem # required on macOS ARM
remem uninstall
rm -rf ~/.remem
remem records an AI usage ledger for its own background extraction, summary, compression, and promotion calls. The CLI can report daily and weekly token usage and estimated cost:
remem usage --days 14 --weeks 8
remem usage --project /path/to/project --days 30 --weeks 12
The report includes calls, input tokens, cache tokens, output tokens, reasoning tokens, total tokens, estimated USD cost, and a precision note. Usage rows are tagged by source:
- anthropic_usage: provider-reported usage from the Anthropic Messages API - codex_log: exact token counts parsed from the current codex exec --json turn.completed.usage event - text_estimate: fallback estimate from prompt/response text length
Cost is an estimate, not an invoice. Historical rows may be text estimates or may have been repriced from older rows that did not store the exact model. Codex summarization defaults to gpt-5.2; set REMEM_CODEX_MODEL=auto to let Codex choose its own default, or set any explicit Codex model name.
cargo install remem-ai --bin remem
remem install
remem install --target codex # auto | claude | codex | all remem install --dry-run # preview config changes ```
Restart your AI coding tool after installation.
remem api --port 5567
| Endpoint | Method | Description |
|---|---|---|
/api/v1/search?query=&project=&type=&limit=&offset=&branch=&multi_hop= | GET | Search memories |
/api/v1/memory?id= | GET | Get one memory |
/api/v1/memories | POST | Save memory |
/api/v1/status | GET | System status |
python3 eval/local/run_local_eval.py --n 20
| Metric | Score |
|---|---|
| Overall | **85.0%** |
| Decision | 77.8% |
| Discovery | 87.5% |
| Preference | 100% |
| Source in top-20 | 90.0% |
Requires .env with OPENAI_API_KEY (optional OPENAI_BASE_URL, OPENAI_MODEL).
这个开源MCP工具提供了一个简单易用的接口,适合开发者使用,虽然评分不高,但仍然值得关注。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:开源MCP工具:Persistent memory for Claude Code 的核心功能完整,质量良好。对于Claude Desktop / Claude Code 用户来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | remem |
| 原始描述 | 开源MCP工具:Persistent memory for Claude Code — single Rust binary, zero config。⭐7 · Rust |
| Topics | mcpai-toolsclaude-codeclideveloper-toolsknowledge-managementrust |
| GitHub | https://github.com/majiayu000/remem |
| License | MIT |
| 语言 | Rust |
收录时间:2026-05-24 · 更新时间:2026-05-30 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端