linksee-memory
A local MCP memory server: one SQLite file on your machine that Claude Code, Cursor, Windsurf, OpenAI Codex and Gemini CLI all read and write. No account, no credit card, no cloud, no API key. The server makes no network calls; telemetry is opt-in and off by default.
It is for handing a project over — to your next session, to another client, to the person after you — with the reasons attached. Every client can save and search the memory. In Claude Code, hooks also bring a recorded decision back at session start and before an edit. Drift detection shows which recorded decisions the code has since left.
Needs Node.js 22.16 or later (recommended: SQLite with FTS5 is built into Node, nothing is compiled), and Claude Code or Codex to try it (either one is enough). Node 20 and Node 22.0–22.15 still work through better-sqlite3, which then has to be built on install — on npm 12 that means allowing its install script (see troubleshooting).
Install
Claude Code, from inside a session (plugin: MCP server and skill, no hooks):
/plugin marketplace add michielinksee/linksee-memory
/plugin install linksee-memory@linksee-memory
Or from a shell, which also installs the hooks:
npx -y linksee-memory setup # Claude Code: MCP server, skill, hooks
codex mcp add linksee -- npx -y linksee-memory # Codex: the same memory
The plugin starts the server with npx -y linksee-memory@latest and ships the same skill setup installs. It has no hooks: the Stop hook (auto-capture) and the re-injection guard come only from setup. One or the other, not both:
- Already ran
setup? Do not add the plugin. With both, Claude Code runs the server twice (linksee and plugin:linksee-memory:linksee).
- Installed the plugin and want the hooks? Disable it (
/plugin → Installed → linksee-memory → disable, or claude plugin disable linksee-memory@linksee-memory), then run npx -y linksee-memory setup. The memory file is the same; nothing is lost.
- Plugin only: no hooks, so nothing is saved unless the agent calls
remember (the skill tells it when).
- Windows: after installing the plugin, run
/mcp and check that plugin:linksee-memory:linksee is connected. If it is not, disable the plugin first (previous bullet), then run npx -y linksee-memory setup from the shell block above. setup registers the server with claude mcp add, the form that is known to work on Windows, and it does not disable the plugin for you.
One command for Claude Code. setup --dry-run prints what it would change. It edits ~/.claude/settings.json, so the hooks apply in every repo, and keeps the old file as settings.json.bak-<timestamp> (what it writes).
First round trip
A new install has an empty memory, so "how did we solve this before?" finds nothing yet. Try this instead:
- In Claude Code or Codex, say: "Remember: in this repo we decided to use X, because Y. Use Linksee."
- Open a new session — in either one — and ask: "What did we decide about X? Use Linksee."
- Two repos: record a decision in repo A, then in repo B (e.g. Codex) ask the same. It does come back — the memory is per machine, not per repo — labelled
entity: repo-a and by: <client>; entity_name on the recall narrows by a part of the entity name (repo-a also matches repo-a-backup).
- Reverse it:
remember the new decision with supersedes: <old memory_id>. recall then shows only the new one (supersedes #<id>); include_superseded: true shows both.
Works for me
Where the first round trip is known to work. Most cells are empty because nobody has tried them yet, not because they fail.
| Client | Windows | macOS | Linux |
|---|
| Claude Code | verified | reported | untested |
| Codex | untested | untested | untested |
| Cursor | untested | untested | untested |
| Windsurf | untested | untested | untested |
| Gemini CLI | untested | untested | untested |
- verified: run by the maintainer with a record. Claude Code on Windows: remember in one session, recall in a new one, on 0.18.1 (record). The plugin install path connected on 2026-11-05; its round trip is not in the record.
- reported: someone said it works, without a version or log. Claude Code on macOS: the maintainer on one Mac (#16); the hooks there are not checked.
- untested: nobody has reported it either way.
If you fill one cell, your name goes in the weekly report under "Added by others". Report your client and OS — five fields, no database contents.
Weekly report: Discussion #16.
What it does not do