Skip to content
Kitbay
MCP server

claude-mem

Runs locallyApache-2.0Updated on Nov 10, 2026115,655GitHub starsNeeds an API key

claude-mem gives coding agents a memory that lasts across sessions.

What it does

claude-mem gives coding agents a memory that lasts across sessions. Hooks send each tool call to a local worker, a second model writes short observations about the work, and each new session starts with a compact index of relevant past work, stored under ~/.claude-mem. Its MCP tools let the agent search past observations, view a timeline and fetch full entries. An installer sets it up for Claude Code, Codex, Cursor, OpenCode and other agents. Writing observations needs a model: the publisher's paid observer service after a free trial, the user's own OpenRouter or Gemini key, or their Anthropic plan. Anonymous usage analytics are on by default and can be switched off.

Capabilities

  • Record observations about each coding session
  • Search past observations from a new session
  • Show a timeline of past work
  • Fetch full stored observations by ID