技能潮 SkillTide 提交收录
官方说明7 个来源MCP 服务8 天前
kunickiaj/codemem

kunickiaj/codemem

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

codemem

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

Coordinator operators upgrading optional account linking must pause auth writers
and follow the explicit auth-schema cutover.
codemem coordinator upgrade-auth-schema --db-path coordinator.sqlite upgrades an
existing local coordinator file; --export-sql exports D1 SQL without applying it.
**The code is still there. The reasoning usually isn’t.**
codemem is persistent coding memory across sessions, machines, and teammates for OpenCode, Claude Code, Codex, and the Pi coding agent. It captures decisions, dead ends, and repository-specific traps, then automatically brings relevant context into later prompts.
- **Automatic context injection** — relevant memories reach the agent without asking it to search; unchanged memories already in OpenCode context are not repeated
- **Optional sync and sharing** — peer-to-peer sync carries selected project memory across machines; share project knowledge with a teammate or Team when it helps
- **Local-first storage** — memories live in SQLite on your machine; observer processing uses your configured model provider and can incur costs or consume plan usage
- **Hybrid retrieval** — FTS5 BM25 lexical search + sqlite-vec semantic search, merged and re-ranked
- **Automatic injection for OpenCode 1 and 2** — the plugin injects context into every prompt, no manual steps; the OpenCode 2 integration is beta
- **Claude Code plugin support** — install from the codemem marketplace source
- **Multi-agent** — OpenCode, Claude Code, Codex, and pi share one project-scoped store
- **Pi coding agent** — session capture, automatic recall, and 14 native memory tools; no MCP required
- **Built-in viewer** — browse memories, sessions, and observer output in a local web UI
- **Remote MCP access** — advanced single-user self-hosting can expose an OAuth-protected Streamable HTTP MCP endpoint to configured remote clients; keep the localhost viewer private (guide)
*Synthetic project memories, not real session data. Explore the Feed, Facts, and Projects walkthrough to see how to inspect what was captured.*
Quick start
**Prerequisites:** Node.js 24.15+ and npm (or pnpm). Native database support
covers macOS x64/arm64, Linux x64/arm64 (glibc 2.34+ or musl), and Windows x64.
32-bit targets, including Linux armv7, are not supported.
**Linux:** set ONNXRUNTIME_NODE_INSTALL=skip in your shell and the environment that launches OpenCode, Claude Code, Codex, or Pi **before the first package install**. This avoids downloading the unused ONNX Runtime GPU provider while keeping CPU inference. Setup-managed npx launchers cannot set it themselves.
OpenCode
Codemem requires OpenCode 1.18.29 or newer. One installed
@codemem/opencode-plugin package serves both host generations: OpenCode 1 calls
its server() entrypoint and OpenCode 2 calls its setup() entrypoint. OpenCode 2
support is validated against the exact stable @opencode/cli@2.0.24 and
@opencode/plugin@2.0.24 releases; Codemem labels its OpenCode 2 integration
**beta** until it has shipped through a full release cycle.
On OpenCode 2 the plugin captures user and assistant messages, terminal usage,
tool results, and session lifecycle events, and exposes the same mem-status,
mem-recent, and mem-stats tools. Automatic recall runs through
session.context: the latest user-message ID is required, and a missing or blank
ID skips recall safely. Each identified turn performs one fresh retrieval; retries
and tool continuations replay retained context byte-for-byte. Compaction, title,
and generate hooks stay isolated. Both the default message surface and legacy
CODEMEM_INJECT_SURFACE=system surface work. See
OpenCode host support, troubleshooting, and rollback.
1. Install the OpenCode plugin and MCP config:
2. Restart OpenCode.
npx uses a downloaded or cached package to configure the OpenCode host; it does not create a durable codemem CLI installation. The configured plugin manages backend execution independently on both hosts, so no global install is required for automatic capture and context injection.
Setup writes the singular plugin key on purpose. OpenCode 1 requires that key, and OpenCode 2 translates it into its native plugins configuration, so one config entry works on both hosts. Keep one Codemem entry; if OpenCode loads Codemem twice for one project, the first registration wins and later copies skip their hooks with a warning.
3. Verify:
That's it. On either host, the plugin captures activity, builds memories, and injects relevant context from here on.
Try a fresh-session recall
After completing a task, check that its decision appears in the local viewer at http://localhost:38888. Start a new OpenCode session in the same project and ask about that decision without supplying the answer. For example, if your task involved a database migration:
来源
awesome · https://github.com/kunickiaj/codemem
按领域浏览
MCP 服务
Traction
73 ★
收录于
昨天

更多MCP 服务

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

所属领域与标签

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

浏览全部领域 →

← 返回索引