This release adds 2 notable features for engineering teams evaluating rollout.
✓ No known CVEs patched in this version
Topics
+6 more
Summary
AI summaryAdd Claude Code session hooks for cross‑session memory.
Full changelog
v0.2.0 (2026-02-28)
Features
- Add Claude Code session hooks for cross-session memory (
113df26)
Add SessionStart and Stop hooks that give Claude Code automatic cross-session memory without requiring CLAUDE.md rules or manual tool calls.
- SessionStart hook (mem0-hook-context): searches mem0 with multi-query strategy, deduplicates by ID, injects formatted memories as additionalContext on startup and compact events - Stop hook (mem0-hook-stop): reads last ~3 exchanges from JSONL transcript via bounded deque, saves session summary to mem0 with infer=True for atomic fact extraction - CLI installer (mem0-install-hooks): patches .claude/settings.json with idempotent hook entries, supports --global and --project-dir - Graph force-disabled in hooks to stay within 15s/30s timeout budgets - Atomic settings.json write via tempfile + os.replace - 43 unit tests covering protocol, edge cases, and error handling - 6 integration tests against live Qdrant + Ollama infrastructure - README updated with hooks documentation, architecture diagram, and test structure
Detailed Changes: v0.1.1...v0.2.0
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About elvismdev/mem0-mcp-selfhosted
Self-hosted mem0 MCP server for Claude Code with Qdrant vector search, Neo4j knowledge graph, and Ollama embeddings. Zero-config OAT auth, split-model graph routing, session hooks for automatic cross-session memory, and 11 tools. Supports both Anthropic and fully local Ollama setups.
Related context
Beta — feedback welcome: [email protected]