Scan your whole stack
From OX Research Newsroom
Latest version: v2.3.0
io.github.catfish-1234/sessionmem was last scanned on 27 Nov 2026 at version 2.3.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 2.3.0 LATEST | 27 Nov 2026 | No rules fired |
Findings for v2.3.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 2.3.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Project memory between sessions, stored on your machine.
New session. Claude starts fresh.
WITHOUT sessionmem:
You explain the stack. The JWT bug from last week.
The Stripe migration that's halfway done. The billing code to stay away from.
Same questions. Different day.
WITH sessionmem:
[warning] JWT blacklist must be checked before issuing new tokens. Fixed PR #47.
[decision] Stripe migration ~50% done. Do NOT use /lib/billing-v1.
[fact] Stack: TypeScript, Next.js, Postgres.
Claude: "Looks like you're mid-Stripe migration. Where do you want to pick up?"
sessionmem is an MCP server that stores decisions, warnings, and project context across sessions. Claude Code hooks capture supported tool events and load relevant memories automatically. Other hosts use its MCP tools and installed instructions; session automation depends on the host. It works with Claude Code, Cursor, Cline, Codex, Windsurf, and other MCP hosts.
Default retrieval uses SQLite FTS5 BM25 and entity overlap. An optional local MiniLM model adds semantic candidates. Weights are installed separately; queries make no network calls and fall back to BM25 when local inference is unavailable. See measured comparisons for quality gains, missed questions, and latency costs.
By default, everything stays on your machine. You don't need an account or a cloud service. Data only leaves your computer if you enable sharing or cloud summarization.
You need a terminal (Command Prompt, Terminal, or PowerShell) and Node.js, version 22.13 or newer. Node 24 LTS is recommended. No programming experience is required.
npm install -g sessionmem
Run this in your project folder after configuring your AI tool (Claude Code, Cursor, etc.):
sessionmem install
# Optional: select one host explicitly, including in automation:
sessionmem install --adapter claude-code
# Other names: cursor, cline, codex, windsurf, antigravity, qcoder, generic
install detects installed hosts from local executables, including from a plain
terminal, and configures every host found. Automatic discovery currently supports
Claude Code on PATH or in its standard native install locations. Use
--adapter <name> for the other adapters or to override discovery. The existing
SESSIONMEM_ADAPTER environment override also works; the flag takes precedence.
If no supported host is found, the command says so and exits nonzero before
creating files. Discovery and configuration work fully offline.
This initializes the database and configures the selected adapters:
sessionmem with your AI tool's MCP host so the host can start it automatically.~/.sessionmem/config.json with secret redaction enabled and a 90-day retention window, if the file doesn't already exist.~/.claude/CLAUDE.md for Claude Code or ~/.codex/AGENTS.md for Codex. You can re-run the command without duplicating those instructions.sessionmem watch. Re-running install updates that registration in place and restarts capture. Capture continues after closing the terminal and starts again at login.Login capture uses a LaunchAgent in ~/Library/LaunchAgents on macOS, a
systemd --user service on Linux, and a Scheduled Task with a user logon trigger
on Windows. Linux requires systemd and an available user service manager; macOS
requires a GUI login session. If registration or startup fails, install exits
nonzero, preserves completed setup, and prints a repair hint. After fixing the
OS service error, run sessionmem autostart enable.
The watcher captures existing and updated Claude Code, Codex CLI, and Cursor history offline, without API keys. It starts immediately after install; no manual scan or watch process is required. Hosts outside these three can use MCP memory tools, but do not have a transcript reader.
Restart your editor or agent so it loads the MCP registration. Your host starts
sessionmem run automatically; running it directly starts a stdio server that
waits for MCP messages, so it can appear to hang in a terminal. For an unknown
host (generic), install writes a project-local .mcp.json; if your host uses
another format or location, copy its server entry into that host’s MCP config.
After restarting:
Check the installation offline:
sessionmem doctor
# For an explicitly selected host:
sessionmem doctor --adapter claude-code
Most AI coding assistants rely on the current conversation for context. Start a new session and you may need to explain the project's setup, libraries, fixed bugs, and design decisions again.
sessionmem keeps short notes between sessions:
Claude Code runs these steps through the installed hooks. Other hosts need their agent to call the MCP memory and lifecycle tools; the installed guidance explains how to do that.
Compared with projects such as claude-mem and other cloud or Claude-only memory tools, sessionmem focuses on local storage and support for multiple MCP hosts:
| sessionmem | Typical cloud/Claude-only memory tools | |
|---|---|---|
| Where is data stored? | A single SQLite file on your computer (~/.sessionmem/memories.db) |
Often a hosted service, a cloud vector database, or a separate server process you have to run |
| Account / sign-up required? | No | Sometimes |
| Which AI tools does it work with? | Claude Code, Cursor, Codex, Cline, Windsurf, Antigravity, QCoder, and any other MCP-compatible host | Usually just one specific tool (commonly Claude Code only) |
| Secret redaction | Built in, on by default. Common credential shapes (API keys, tokens, password=... assignments, password is ... prose, private keys) are scrubbed before saving. Best-effort pattern matching, not a guarantee. |
Often not handled, or left to the user |
| Token budget control | Injected memories are trimmed to a small, fixed token budget (see benchmarks below) | Varies, often unbounded |
| Entity boost (optional) | Case-insensitive names and explicit aliases add a bounded score boost alongside relevance, recency and importance. Local only, defaults off. | Varies |
| Scopes | Optional local context labels on sessions, memories and entity associations. Capture detects a directory or project label; queries can filter or boost a selected scope. All scopes by default. | Varies |
| Old/stale memory cleanup | Built-in retention policy automatically prunes old memories (configurable, on by default) | Often no automatic cleanup ("memory rot") |
| Team sharing | Optional, via a shared folder you already control (network drive, synced directory). No server needed. | Usually requires a shared hosted backend |
| Offline-capable | Yes. Works with no network connection by default. | Usually requires network access to the memory service |
The SQLite file is easy to inspect, back up, or delete, and you can use it across AI tools from different vendors.
npm run benchmark evaluates conversational retrieval on the committed LoCoMo
corpus: 10 conversations, 272 sessions, 5,882 turns, and 1,527 scored questions.
It captures dialogue through the public storeMemory API and asks the original
questions through retrieveMemories, fully offline with no API keys.
The evaluation reports hit rate, precision, recall, complete-evidence retrieval, and latency. Production retrieval uses offline BM25 ranking with English stemming; conversational questions test recall beyond exact copies of memory text. See benchmark results and the methodology, dataset license, and metric definitions.
npm run build
npm run benchmark
npm run benchmark -- --output benchmarks/results/locomo.json
┌──────────────────────────────────────────────┐
│ Your AI tool │
│ (Claude Code, Cursor, Codex, Cline, ...) │
└───────────────────────┬──────────────────────┘
│
┌───────────▼───────────┐ ┌──────────────┐
│ sessionmem adapter │ │ sessionmem │
│ (translates for your │ │ CLI │
│ specific AI tool) │ │ (you type │
└───────────┬───────────┘ │ commands) │
│ └──────┬───────┘
▼ │
┌──────────────────────────────────────────────┐
│ sessionmem core engine │
│ watches sessions · writes summaries · │
│ finds relevant memories · trims to fit │
└───────────────────────┬──────────────────────┘
│
▼
┌──────────────────────────────────────────────┐
│ One SQLite file on your computer │
│ ~/.sessionmem/memories.db │
└──────────────────────────────────────────────┘
See docs/architecture.md for the technical overview.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.