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…
⚠ La puntuación de confianza de abajo refleja únicamente el paquete instalador claude-mem. Las unidades incluidas no se verifican ni se analizan por separado — revísalas antes de usarlas.
La verificación confirma la identidad del publicador (la propiedad del repo), no la seguridad del código. El análisis de seguridad cubre los CVE conocidos y los scripts de instalación sospechosos.
Leído del código que npm publica realmente, en el momento del análisis. El paquete nunca se ejecutó. Las herramientas registradas dinámicamente en tiempo de ejecución, o escondidas en código empaquetado o minificado, pueden pasarse por alto — así que esto es un mínimo de la superficie de herramientas, no un censo completo.
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.
No se publicó ningún esquema de entrada para esta herramienta.
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
No se publicó ningún esquema de entrada para esta herramienta.
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
No se publicó ningún esquema de entrada para esta herramienta.
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
No se publicó ningún esquema de entrada para esta herramienta.
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.
No se publicó ningún esquema de entrada para esta herramienta.
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.
No se publicó ningún esquema de entrada para esta herramienta.
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.
No se publicó ningún esquema de entrada para esta herramienta.
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).
No se publicó ningún esquema de entrada para esta herramienta.
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.
No se publicó ningún esquema de entrada para esta herramienta.
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.
No se publicó ningún esquema de entrada para esta herramienta.
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.
No se publicó ningún esquema de entrada para esta herramienta.
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.
No se publicó ningún esquema de entrada para esta herramienta.
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.
No se publicó ningún esquema de entrada para esta herramienta.
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
No se publicó ningún esquema de entrada para esta herramienta.
list_corporaList all knowledge corpora with their stats and priming statusList all knowledge corpora with their stats and priming status
No se publicó ningún esquema de entrada para esta herramienta.
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.
No se publicó ningún esquema de entrada para esta herramienta.
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.
No se publicó ningún esquema de entrada para esta herramienta.
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.
No se publicó ningún esquema de entrada para esta herramienta.
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.
No se publicó ningún esquema de entrada para esta herramienta.
claude_mem_feedShow or toggle Claude-Mem observation feed statusShow or toggle Claude-Mem observation feed status
No se publicó ningún esquema de entrada para esta herramienta.
claude-mem-searchSearch Claude-Mem observations by querySearch Claude-Mem observations by query
No se publicó ningún esquema de entrada para esta herramienta.
claude-mem-recentShow recent Claude-Mem context for a projectShow recent Claude-Mem context for a project
No se publicó ningún esquema de entrada para esta herramienta.
claude-mem-timelineFind best memory match and show nearby timeline eventsFind best memory match and show nearby timeline events
No se publicó ningún esquema de entrada para esta herramienta.
claude_mem_statusCheck Claude-Mem worker health and session statusCheck Claude-Mem worker health and session status
No se publicó ningún esquema de entrada para esta herramienta.
24 de 24 herramientas publicaron una descripción.
Los nombres y descripciones de las herramientas los escribe el publicador y se muestran literalmente como texto inerte. Son las cadenas que un cliente MCP pasa al modelo, así que Forge las analiza en busca de patrones de inyección de prompts — cualquier hallazgo aparece junto al análisis de seguridad de arriba. «Privilegiada» es una coincidencia de palabra clave en el nombre de la herramienta, no una auditoría de lo que hace: un nombre inofensivo puede hacer cualquier cosa.
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…
Los nombres enlazados abren el índice de Forge con todas las entradas que se observó que exponen esa herramienta. Ver todas las herramientas indexadas.
No se siguen: peerDependencies. Este árbol cubre solo dependencias en tiempo de ejecución, así que lo que estas arrastren nunca se resolvió.