Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Persistent memory compression system built for Claude Code. Claude-Mem seamlessly preserves context across sessions by automatically capturing tool usage observations, generating semantic summaries, and making them available to future sessions. This enables Claude to maintain continuity of knowledge about projects even after sessions end or reconnect. Install with a single command: Or install for…
⚠ Le score de confiance ci-dessous ne concerne que le paquet installateur claude-mem. Les éléments inclus ne sont ni vérifiés ni analysés individuellement — examinez-les avant de les utiliser.
La vérification confirme l’identité de l’éditeur (la propriété du dépôt), pas la sûreté du code. L’analyse de sécurité couvre les CVE connues et les scripts d’installation suspects.
Lu dans le code que npm livre réellement, au moment de l’analyse. Le paquet n’a jamais été exécuté. Les outils enregistrés dynamiquement à l’exécution, ou cachés dans du code empaqueté ou minifié, peuvent passer inaperçus — c’est donc un plancher de la surface d’outils, pas un recensement complet.
important_workflow3-LAYER WORKFLOW (ALWAYS FOLLOW):
1. search(query) → Get index with IDs (~50-100 tokens/result)
2. timeline(anchor=ID) → Get context around interesting results
3. get_observations([IDs]) → Fetch full details ONLY for filtered IDs
NEVER fetch full details without filtering first. 10x token savings.3-LAYER WORKFLOW (ALWAYS FOLLOW): 1. search(query) → Get index with IDs (~50-100 tokens/result) 2. timeline(anchor=ID) → Get context around interesting results 3. get_observations([IDs]) → Fetch full details ONLY for filtered IDs NEVER fetch full details without filtering first. 10x token savings.
Aucun schéma d’entrée n’a été publié pour cet outil.
searchStep 1: Search memory. Returns index with IDs. Params: query, limit, project, platformSource, type, obs_type, dateStart, dateEnd, offset, orderByStep 1: Search memory. Returns index with IDs. Params: query, limit, project, platformSource, type, obs_type, dateStart, dateEnd, offset, orderBy
Aucun schéma d’entrée n’a été publié pour cet outil.
timelineStep 2: Get context around results. Params: anchor (observation ID) OR query (finds anchor automatically), depth_before, depth_after, projectStep 2: Get context around results. Params: anchor (observation ID) OR query (finds anchor automatically), depth_before, depth_after, project
Aucun schéma d’entrée n’a été publié pour cet outil.
get_observationsStep 3: Fetch full details for filtered IDs. Params: ids (array of observation IDs, required), orderBy, limit, projectStep 3: Fetch full details for filtered IDs. Params: ids (array of observation IDs, required), orderBy, limit, project
Aucun schéma d’entrée n’a été publié pour cet outil.
session_start_contextRender the exact worker-mode SessionStart context for a project. Calls /api/context/inject and returns the same text hooks inject at startup. Params: project OR projects, platformSource, full, colors.Render the exact worker-mode SessionStart context for a project. Calls /api/context/inject and returns the same text hooks inject at startup. Params: project OR projects, platformSource, full, colors.
Aucun schéma d’entrée n’a été publié pour cet outil.
observation_addInsert a manual observation directly into server storage. Calls /v1/memories — does NOT enqueue generation. Server runtime only. Params: content (required), projectId (optional, falls back to settings), serverSessionId, kind, metadata.Insert a manual observation directly into server storage. Calls /v1/memories — does NOT enqueue generation. Server runtime only. Params: content (required), projectId (optional, falls back to settings), serverSessionId, kind, metadata.
Aucun schéma d’entrée n’a été publié pour cet outil.
observation_record_eventRecord an agent event into the server. Calls /v1/events — server inserts the event row, the outbox row, and enqueues a generation job atomically. Server runtime only.Record an agent event into the server. Calls /v1/events — server inserts the event row, the outbox row, and enqueues a generation job atomically. Server runtime only.
Aucun schéma d’entrée n’a été publié pour cet outil.
observation_searchFull-text search across generated observations using the server's GIN tsvector index (Phase 1). Calls /v1/search. Server runtime only. Params: query (required), projectId (optional), platformSource, limit (default 20, max 100).Full-text search across generated observations using the server's GIN tsvector index (Phase 1). Calls /v1/search. Server runtime only. Params: query (required), projectId (optional), platformSource, limit (default 20, max 100).
Aucun schéma d’entrée n’a été publié pour cet outil.
observation_contextGet top-N relevant observations for context injection. Returns matched observations AND a pre-joined context string suitable for prompt injection. Calls /v1/context. Server runtime only.Get top-N relevant observations for context injection. Returns matched observations AND a pre-joined context string suitable for prompt injection. Calls /v1/context. Server runtime only.
Aucun schéma d’entrée n’a été publié pour cet outil.
observation_generation_statusLook up the status of an observation generation job by id. Calls /v1/jobs/:id. Server runtime only. Returns the same payload as REST.Look up the status of an observation generation job by id. Calls /v1/jobs/:id. Server runtime only. Returns the same payload as REST.
Aucun schéma d’entrée n’a été publié pour cet outil.
smart_searchSearch codebase for symbols, functions, classes using tree-sitter AST parsing. Returns folded structural views with token counts. Use path parameter to scope the search.Search codebase for symbols, functions, classes using tree-sitter AST parsing. Returns folded structural views with token counts. Use path parameter to scope the search.
Aucun schéma d’entrée n’a été publié pour cet outil.
smart_unfoldExpand a specific symbol (function, class, method) from a file. Returns the full source code of just that symbol. Use after smart_search or smart_outline to read specific code.Expand a specific symbol (function, class, method) from a file. Returns the full source code of just that symbol. Use after smart_search or smart_outline to read specific code.
Aucun schéma d’entrée n’a été publié pour cet outil.
smart_outlineGet structural outline of a file — shows all symbols (functions, classes, methods, types) with signatures but bodies folded. Much cheaper than reading the full file.Get structural outline of a file — shows all symbols (functions, classes, methods, types) with signatures but bodies folded. Much cheaper than reading the full file.
Aucun schéma d’entrée n’a été publié pour cet outil.
build_corpusBuild a knowledge corpus from filtered observations. Creates a queryable knowledge agent. Params: name (required), description, project, types (comma-separated), concepts (comma-separated), files (comma-separated), query, dateStart, dateEnd, limitBuild a knowledge corpus from filtered observations. Creates a queryable knowledge agent. Params: name (required), description, project, types (comma-separated), concepts (comma-separated), files (comma-separated), query, dateStart, dateEnd, limit
Aucun schéma d’entrée n’a été publié pour cet outil.
list_corporaList all knowledge corpora with their stats and priming statusList all knowledge corpora with their stats and priming status
Aucun schéma d’entrée n’a été publié pour cet outil.
prime_corpusPrime a knowledge corpus — creates an AI session loaded with the corpus knowledge. Must be called before query_corpus.Prime a knowledge corpus — creates an AI session loaded with the corpus knowledge. Must be called before query_corpus.
Aucun schéma d’entrée n’a été publié pour cet outil.
query_corpusAsk a question to a primed knowledge corpus. The corpus must be primed first with prime_corpus.Ask a question to a primed knowledge corpus. The corpus must be primed first with prime_corpus.
Aucun schéma d’entrée n’a été publié pour cet outil.
rebuild_corpusRebuild a knowledge corpus from its stored filter — re-runs the search to refresh with new observations. Does not re-prime the session.Rebuild a knowledge corpus from its stored filter — re-runs the search to refresh with new observations. Does not re-prime the session.
Aucun schéma d’entrée n’a été publié pour cet outil.
reprime_corpusCreate a fresh knowledge agent session for a corpus, clearing prior Q&A context. Use when conversation has drifted or after rebuilding.Create a fresh knowledge agent session for a corpus, clearing prior Q&A context. Use when conversation has drifted or after rebuilding.
Aucun schéma d’entrée n’a été publié pour cet outil.
claude_mem_feedShow or toggle Claude-Mem observation feed statusShow or toggle Claude-Mem observation feed status
Aucun schéma d’entrée n’a été publié pour cet outil.
claude-mem-searchSearch Claude-Mem observations by querySearch Claude-Mem observations by query
Aucun schéma d’entrée n’a été publié pour cet outil.
claude-mem-recentShow recent Claude-Mem context for a projectShow recent Claude-Mem context for a project
Aucun schéma d’entrée n’a été publié pour cet outil.
claude-mem-timelineFind best memory match and show nearby timeline eventsFind best memory match and show nearby timeline events
Aucun schéma d’entrée n’a été publié pour cet outil.
claude_mem_statusCheck Claude-Mem worker health and session statusCheck Claude-Mem worker health and session status
Aucun schéma d’entrée n’a été publié pour cet outil.
24 outils sur 24 ont publié une description.
Les noms et descriptions d’outils sont écrits par l’éditeur et affichés tels quels, comme du texte inerte. Ce sont les chaînes qu’un client MCP transmet à un modèle, alors Forge y recherche des motifs d’injection de prompt — tout constat apparaît avec l’analyse de sécurité ci-dessus. « Privilégié » est une correspondance de mot-clé sur le nom de l’outil, pas un audit de ce qu’il fait : un nom anodin peut tout de même tout faire.
Persistent memory compression system built for Claude Code. Claude-Mem seamlessly preserves context across sessions by automatically capturing tool usage observations, generating semantic summaries, and making them available to future sessions. This enables Claude to maintain continuity of knowledge about projects even after sessions end or reconnect. Install with a single command: Or install for Gemini CLI (auto-detects ): Or install for OpenCode: Or install from the plugin marketplace inside…
Les noms cliquables ouvrent l’index Forge de toutes les entrées observées exposant cet outil. Parcourir tous les outils indexés.
Non suivies : peerDependencies. Cet arbre ne couvre que les dépendances d'exécution ; ce qu'elles entraînent n'a jamais été résolu.