Local-first MCP memory server that summarizes and injects coding session context from a SQLite file on your machine.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Sessionmem.
85.6% fewer tokens. Every session starts knowing your codebase. Stored entirely on your machine.
sessionmem is an MCP server that watches your coding sessions and stores what actually mattered -- decisions, warnings, things that would bite you if Claude forgot them. At the start of each new session it injects the relevant bits automatically. Works with Claude Code, Cursor, Cline, Codex, Windsurf, and anything that speaks MCP.
Everything stays on your machine. No account, no cloud, no data leaving your computer unless you explicitly turn that on.
No programming experience needed. You just need a terminal (Command Prompt, Terminal, or PowerShell) and Node.js installed.
Run this inside the project folder you're working on, with your AI tool (Claude Code, Cursor, etc.) configured:
This does three things:
sessionmem so it can be launched automatically.~/.sessionmem/config.json with safe, privacy-respecting defaults, but only if one doesn't already exist.~/.claude/CLAUDE.md so Claude Code knows about sessionmem's tools and uses them proactively (idempotent, so safe to re-run).(Most of the time you won't run this yourself. Your AI tool's host starts it automatically once it's registered.)
That's it. From here:
sessionmem watches your sessions in the background.You can verify everything is working with:
If you've used an AI coding assistant for more than a day, you've probably hit this:
You spend twenty minutes explaining your project's setup, the libraries you use, a tricky bug you already fixed, and a decision you made about how authentication should work. The assistant nods along, helps you out... and then in your next session, it has forgotten all of it. You explain everything again.
This happens because most AI assistants only "know" what's inside the current conversation. Once that conversation ends, the context is gone.
sessionmem fixes this by sitting quietly between your assistant and your project:
You don't run any of these steps yourself. Once installed, it just works in the background.
There are other "memory for Claude" projects out there (for example, tools like claude-mem and similar community projects). Here's what sets sessionmem apart:
| 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, never | 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. API keys, tokens, passwords, and private keys are scrubbed before anything is saved. | Often not handled, or left to the user |
| Token budget control | Injected memories are trimmed to a small, fixed token budget so they don't bloat every conversation (see benchmarks below) | Varies, often unbounded |
| Old/stale memory cleanup | Built-in retention policy automatically prunes old memories (configurable, on by default) | Often grows forever ("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, fully. Works with no network connection by default. | Usually requires network access to the memory service |
In short: sessionmem is the boring, local, "just a SQLite file" option: easy to inspect, back up, and delete, with no lock-in to any one vendor's AI tool.
These numbers come from npm run benchmark (scripts/benchmark.mjs), which runs the real production retrieval and injection code over a fixed, synthetic set of test data with no network calls. The results are fully reproducible. See docs/benchmark.md for the full report and how to regenerate it.
~85.6% reduction in tokens compared to carrying full session history.
| Tokens | |
|---|---|
| Full session history (baseline) | 1,587 |
| What sessionmem injects at the start of your next session | 228 |
In practice: instead of re-reading (or re-explaining) about 1,600 tokens of past context every session, the assistant gets a 230-token summary of just the things that matter: decisions, warnings, and key facts.
100% hit-rate: every one of the 10 test queries successfully retrieved the memory it was supposed to.
| Metric | Result |
|---|---|
| Hit-rate (10 curated queries) | 100.0% |
| Recall | 100.0% |
| Precision | 33.3% |
Precision of 33.3% is expected here: each query retrieves the top 3 candidate memories, and only one of those three is the "expected" match for a given test query. The other two are still relevant context for the agent, just not the one being scored. The important number is recall/hit-rate: the right memory is never missed.
These benchmarks are deterministic and reproducible. Run them yourself:
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/catfish-1234-sessionmem)<a href="https://allmcps.com/mcp/catfish-1234-sessionmem"><img src="https://allmcps.com/api/badge/catfish-1234-sessionmem?style=directory" alt="Sessionmem on AllMCPs" /></a>