npm @nuzo/memory-mcpstdioApache-2.0updated 25d ago
Local-first, auditable memory for AI agents. Durable context for Codex, Claude Code, and MCP-compatible hosts—without turning memory into hidden state.
该仓库已被所有者归档。仍可使用,但不再更新。
Nuzo Memory 能做什么?
Nuzo keeps scoped memories in local SQLite. Agents can recall bounded context across sessions, while you retain a CLI and public MCP contract to inspect, update, export, archive, or delete every record. Inferred memories remain drafts until you confirm them; recalled content remains untrusted data.
[!IMPORTANT] Nuzo
1.2.0is the final planned release. The repository becomes read-only after publication, and no ongoing maintenance or security response is promised. Published packages remain available for reproducible use and forking. See the end-of-maintenance notice.
Quick Start
Use Node.js 22 LTS or 24 LTS with npm 10 or newer:
npm install --global @nuzo/memory@1.2.0
nuzo setup
nuzo setup detects Codex and Claude Code, previews host changes, and asks
before writing configuration. To evaluate Nuzo without configuring a host or
touching your normal store, run the
disposable 60-second demo.
Two read-only recall hooks are expected: SessionStart and
UserPromptSubmit. They do not write memory.
nuzo setup --codex --yes
nuzo setup --claude-code --yes
nuzo setup --all --yes
nuzo update --yes
nuzo memory manage
The Memory Loop
Automatic host hooks only recall. Explicit requests can write directly; inferred capture uses a visible suggest-and-confirm flow. The same core policy applies through the CLI, MCP server, and supported host integrations.
nuzo memory remember "The demo project uses SQLite." \
--kind project_decision --tag demo
nuzo memory recall "demo storage"
Proof, Not Promises
| Claim | Repository contract |
|---|---|
| Local by default | SQLite and SQLite FTS are canonical; telemetry and network embeddings are off by default. |
| Auditable lifecycle | MCP tools cover history and audit alongside update, archive, delete, export, and import. |
| Explicit inferred writes | Capture suggestions report memory_writes: false; confirmation is a separate tool. |
| Read-only automatic recall | Host hooks open existing stores read-only and fail open without writing application state. |
| Tested releases | Node 22, Node 24, docs, CodeQL, package validation, and host smoke gates are required before merge. |
Inspect the memory model, MCP tool contract, trust boundary, and release checklist.
When Nuzo Fits
Choose Nuzo when individual memories need scopes, provenance, review state, relations, audit history, bounded recall, or reuse across supported hosts.
Keep shared repository instructions in AGENTS.md. Use a short MEMORY.md
when manual curation is enough. Nuzo is not a cloud sync service, team
knowledge base, autonomous profile builder, or hosted dashboard.
Read the full decision guide and architecture overview.
Packages
| Package | Intended use |
|---|---|
@nuzo/memory |
Recommended install: CLI, MCP server, and host hook runtime. |
@nuzo/memory-core |
Library-level integrations. |
Source workspace packages remain private. Public packages are generated and validated through the documented release process.
Project Status
The 1.2.0 release closes the planned roadmap. The repository is retained as
an auditable reference and is not accepting new feature work. Existing users
should pin an exact version and evaluate a maintained alternative or fork for
future runtime and dependency changes. Never publish real memory data,
credentials, or exports when discussing or forking Nuzo.
License
Nuzo is licensed under the Apache License 2.0.
安装
把 Nuzo Memory 添加到你的客户端。选择你正在使用的那个。
claude mcp add memory-mcp -- npx -y @nuzo/memory-mcpcodex mcp add memory-mcp -- npx -y @nuzo/memory-mcpamp mcp add memory-mcp -- npx -y @nuzo/memory-mcp{
"mcpServers": {
"memory-mcp": {
"command": "npx",
"args": [
"-y",
"@nuzo/memory-mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"memory-mcp": {
"command": "npx",
"args": [
"-y",
"@nuzo/memory-mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"memory-mcp","command":"npx","args":["-y","@nuzo/memory-mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"memory-mcp": {
"command": "npx",
"args": [
"-y",
"@nuzo/memory-mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"memory-mcp": {
"command": "npx",
"args": [
"-y",
"@nuzo/memory-mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"memory-mcp": {
"command": "npx",
"args": [
"-y",
"@nuzo/memory-mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"memory-mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@nuzo/memory-mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"memory-mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"@nuzo/memory-mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @nuzo/memory-mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
评分
39 / 100
不完整
- 文档25/25
- 维护14/25
- 可信度13/20
- 能力0/15
- 安装体验12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 17 days ago
- Has a release history
- Repository is not archived
- Licensed Apache-2.0
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
版本历史
| 版本 | 发布于 |
|---|---|
| 1.2.0最新 | 2026年8月14日 |
| 1.1.0 | 2026年7月14日 |