技能潮 SkillTide 提交收录
官方说明7 个来源MCP 服务8 天前
ahmetakyurt/zipmem-mcp

ahmetakyurt/zipmem-mcp

Local long-term memory for termi
在 GitHub 查看 ↗直链 · 无中转页
配置模板(请按你的客户端调整)
claude mcp add zipmem-mcp -- npx -y zipmem-mcp
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
0 ★ · ahmetakyurt/zipmem-mcp · 取自该仓库的 GitHub 页面 · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 7 个来源列出
评分构成
综合分 703 · 7 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 ahmetakyurt/zipmem-mcp;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

zipmem-mcp

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

**Endless semantic memory for terminal AI agents — without the bloated context window.**
zipmem-mcp is a local-first MCP server + CLI that lets agents like Claude Code carry an entire project's history across sessions while keeping the live context window small. It works by **Anchored Compacting**: stripping semantic noise, replacing massive code blocks with file-coordinate *anchors*, and preserving architectural blueprints, schemas, and hard-won lessons verbatim.
No cloud. No API keys. No AI calls on the server side. Your memory lives in a single human-readable JSON file under .zipmem/.
---
The problem
Long, high-intensity agent sessions **fill up the context window**:
- **Prompt caching only saves money, not space.** Cached or not, every re-read of a giant terminal history still consumes window tokens.
- **A 5-minute idle invalidates the cloud KV cache.** The next turn re-reads the whole history at *full price*.
- **Manual "summarize the session" is lossy and tedious**, and dumping raw terminal logs just moves the bloat around.
The approach: Anchored Compacting
Instead of storing the session, zipmem stores its *meaning*:
| Raw session content | What zipmem keeps |
| --- | --- |
| 200-line code block you just wrote | [src/auth/oauth.ts -> 15-42 -> PKCE flow with refresh-token rotation] |
| A 6-step debugging saga | A one-line **lesson**: _"Stripe webhook must be idempotent — it retries on 5xx"_ |
| Architecture you designed | A **blueprint**, preserved verbatim |
| Repetitive logs, dead ends, pleasantries | _Discarded_ |
Anchors are coordinates, not code — the agent re-reads the file on demand when it actually needs the detail. The result is an endless memory loop where the window stays small but nothing foundational is ever lost.
> **The intelligence lives in the prompt, not the server.** zipmem init injects a *Constitutional Directive* into your CLAUDE.md. The agent itself produces the compact, structured payload; the server only validates, deduplicates, merges, and persists. That keeps the server dependency-free and instant.
---
Install
Requires Node.js ≥ 18.
Quick start
That's it. zipmem init:
- creates .zipmem/state.json (your memory store),
- injects the Constitutional Directive into CLAUDE.md (or memory.md, or creates CLAUDE.md),
- adds .zipmem/ to .gitignore (keep memory local — see Shared memory),
- records a checkpoint mode (balanced by default; pass --checkpoint=conservative|aggressive to change it).
From the next session on, the agent **loads memory automatically at the start** and **compacts automatically when you say goodbye or it nears its context limit**. You don't run anything by hand.
Manual MCP config
If you register MCP servers via a JSON config (claude_desktop_config.json or similar):
The server reads CLAUDE_PROJECT_DIR (set automatically by Claude Code) to find the project's .zipmem/. It otherwise falls back to the nearest .zipmem/ ancestor of the working directory.
---
Using zipmem across multiple projects
zipmem works per-project, and getting it running everywhere depends on **two separate, independent** steps. If it works in one project but seems dead in another, one of these is almost always the reason:
**1. Register the MCP server at the right scope.** Claude Code's claude mcp add defaults to **local** scope — the server is then only visible inside the *one* directory where you ran it. In any other project the tools simply don't exist. To register it once for **all** your projects, use user scope:
Verify what's registered (and at which scope) from inside the project that isn't working:
If zipmem-mcp isn't listed there, that's the problem — re-add it with -s user (or -s project to share it with a repo via a committed .mcp.json).
**2. Run zipmem init in *every* project.** This is per-project, not per-machine. Registering the server is not enough on its own, because init is what:
- creates that project's .zipmem/state.json (without it there's no memory to load), **and**
- injects the Constitutional Directive into that project's CLAUDE.md. **Without the directive the agent never learns to call the tools** — the server is running but nothing triggers it, so it looks like "zipmem doesn't work here."
来源
awesome · https://github.com/ahmetakyurt/zipmem-mcp
按领域浏览
MCP 服务
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引