
claude-mem
Open source memory engine that carries context between coding agent sessions
About claude-mem
claude-mem is an open source memory engine for coding agents. It captures what happens during a session - the decisions, the discoveries and the fixes - compresses them, and keeps them as structured notes outside the chat, so the next session starts with what the last one learned instead of an empty context window. The engine is Apache-2.0 and runs entirely on your own machine, storing memory locally in SQLite, and the project is explicit that the open source half works without an account. On top of it sits CMEM Pro, a paid hosted layer that moves memory generation onto a hosted observer, syncs your captured context between the machines you work on, and exposes a private MCP endpoint so a compatible client can recall past sessions.
The project is one of the most starred repositories on GitHub, with roughly 114,000 stars and about 9,900 forks against an Apache-2.0 licence, and it was the top repository on GitHub weekly trending on the day this entry was written. It is worth reading the commercial side carefully before subscribing. Pro at $30, Heavy at $70 and CMEM Max at $100 are not three different products: the pricing page describes them as "Same product. More included usage." The actual allowance figures are not published, only "shown at checkout", and the page states that automatic upgrade settings can move a subscription up the ladder when its included allowance is used. The team product, TeamBrain, has no published price at all and runs as a design-partner cohort. The name also leans on the Anthropic trademark while the project now supports Codex, Cursor and ChatGPT alongside Claude Code, which is likely to age badly.
You install the open source engine and it hooks into a supported agent setup. As you work, it captures the session automatically and distils it into structured notes - a decision with its reasoning, a discovery, a fix - each one keeping a pointer back to the session it came from. Recall is progressive: the agent searches for a relevant note first and only reads its details when it needs them, so a past session costs a search rather than a replayed transcript. Memory lives in a local database by default. Adding CMEM Pro moves generation onto a hosted observer, syncs those observations between your connected machines, and opens a private MCP link, which is what lets a different client on a different machine recall the same project history. The project is clear about one limit: recall works over synced notes, and ChatGPT conversations are not themselves automatically captured.
- •Automatic session capture - Records decisions, discoveries and fixes while you work in a supported agent, rather than asking you to write notes
- •Progressive recall - The agent finds a note before reading its contents, so recalling a past session does not mean loading the whole transcript
- •Local first, Apache-2.0 - The engine and its SQLite store run on your own machine, usable with no account and no subscription
- •Cloud sync across machines - CMEM Pro keeps captured project memory available when you move between connected computers
- •Private MCP recall - A private MCP endpoint lets compatible clients, including Cursor, Codex and ChatGPT where custom connectors are supported, read the same project history
- •Session history you can search - Decisions and their sources stay browsable, so you can return to the work behind a change rather than just its outcome
Developers who run long multi-session work with a coding agent and keep paying the cost of re-explaining the same architecture, and anyone who switches between agents or machines often enough that context loss is a daily tax. The local engine is the right starting point and costs nothing, which makes this an unusually low-risk thing to try. The paid tiers are worth it mainly if you work across several machines or want memory generation off your primary agent subscription. Read the billing terms first: the usage ladder and its automatic upgrade behaviour are the part most likely to surprise you, and the included allowances are not on the pricing page. Teams should wait or apply to the pilot, because there is no published team price to evaluate. If you work on one machine, in one agent, on short self-contained tasks, the problem this solves may not be one you have.
Pricing
- claude-mem$0/mo
- Pro$30/mo
- Heavy$70/mo
- CMEM Max$100/mo
- TeamBrainContact sales
From the vendor pricing page, 2026-11-06










































