Memento v1.0: Persistent Memory MCP Server for Claude Code with 17 Tools

Memento v1.0 is a persistent memory MCP server for Claude Code that gives AI coding agents long-term memory across sessions. The tool runs entirely locally with no cloud dependencies, API keys, or telemetry.
Core Features
The server ships with 17 MCP tools: save, recall, search, forget, list, export, import, ingest, index, migrate, compact, stats, profile, related, session start, session summary, and health.
Search Capabilities
- Vector search: Uses cosine similarity with HNSW index to find memories by meaning
- Keyword search: Full BM25 implementation (same algorithm as Elasticsearch) for exact term matching
- Hybrid search: Combines 70% vector + 30% BM25 scoring, which the creator uses daily
Intelligent Memory Management
- Contradiction detection: Automatically creates supersedes relationships when you change decisions (e.g., "we use PostgreSQL" → "switched from PostgreSQL to CockroachDB") and deprioritizes old information
- Importance scoring: Explicit saves > auto-captures, decisions > conversation, with 347-day exponential decay so recent context surfaces first
- Knowledge graph: Extracts file paths, functions, classes, packages, URLs, and environment variables from every memory
Visualization and API
memento serve starts a local server at localhost:7007 that provides:
- D3.js force-directed graph visualization with nodes colored by tag and edges showing relationships
- REST API mirroring all 17 tools
Production Features
- Circuit breaker for fault tolerance
- Write-ahead log for crash recovery
- LRU cache for embeddings
IDE and Browser Integration
- Multi-IDE support: Claude Code, Cursor, Windsurf, OpenCode with shared memory store across all four
- Chrome extension: Right-click any page or selection to save it directly to memory
Usage Data
During v1.0 development, Memento captured 2,191 memories across 27 sessions: 1,905 from auto-capture hooks, 206 from session summaries, and 79 explicit saves. This created 53MB of searchable engineering context.
Setup and Resources
Setup command: npx memento-memory setup
- GitHub: https://github.com/sanathshetty444/memento
- Documentation: https://sanathshetty444.github.io/memento/
- Full writeup: https://medium.com/@sanathshetty444/it-remembered-9e7d10f444ff
📖 Read the full source: r/ClaudeAI
👀 See Also

GrapeRoot: Open-source tool reduces Claude Code token usage by 40-80%
GrapeRoot is a free, open-source local MCP server that sits between your codebase and Claude Code, reducing token usage by 40-80% by tracking what the model has already seen and sending only relevant code changes.

Native macOS MCP Server for Full OS Control
A native macOS server provides 24 tools for pixel-accurate clicks, key combos, drag-and-drop, app management, multi-display support, and clipboard access. It's open source and works with Claude Code, Cursor, or any MCP client.

Telegram Bot for Claude Code CLI Control from Mobile
A developer built a Telegram bot that bridges to the Claude Code CLI, allowing control via mobile commands like /commit, /code_review, and /simplify. The bot auto-discovers custom skills, processes photos/documents/voice notes, and supports group chat sessions.

Hardware widget and Chrome extension monitor Claude API rate limits
A developer built a hardware widget using ESP8266 and OLED display that tracks Claude's rate limits in real time, plus a Chrome extension that intercepts Claude's internal /usage API and shows usage patterns. The total BOM cost is approximately $6.50.