Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, email [email protected] and we’ll put it right.

io.github.kael-bit/engram

NPM · ENGRAM-RS-MCP · SCANNED AUG 3

Hierarchical memory for AI agents. Three-layer (buffer/working/core) with decay and promotion.

Available components

+23 this week 69 Trust /100
Trust breakdown (6 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →

Supply Chain Security87
  • No malware found by supply-chain analysis.Pass
  • Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree.Partial
  • No install/post-install scripts declared.Pass
  • Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency45
Schema Quality & AI Usability77
  • AI-judged instruction clarity (excellent).Pass
  • Tool/resource definitions use about 1393 tokens (~92/item across 15 items; 15 tools + 0 resources), lean.Pass
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management23
  • Stability observed for 7 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 100% of tool parameters carry a description.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Install

Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.

npm · engram-rs-mcp

# add to Claude Code
claude mcp add kael-bit-engram -- npx -y engram-rs-mcp
# add to Codex CLI
codex mcp add kael-bit-engram -- npx -y engram-rs-mcp
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "kael-bit-engram": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "engram-rs-mcp"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add kael-bit-engram --command npx --arg -y --arg engram-rs-mcp
# ~/.hermes/config.yaml
mcp_servers:
  kael-bit-engram:
    command: "npx"
    args: ["-y", "engram-rs-mcp"]
// mcp.json
{
  "mcpServers": {
    "kael-bit-engram": {
      "command": "npx",
      "args": [
        "-y",
        "engram-rs-mcp"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 2 Aug 26 +48
    • Provenance: unverified → fail security
    • Known CVEs: unverified → partial security
    • Malware scan: unverified → pass security
    • Install scripts: unverified → pass security
    • MCP protocol: unverified → pass functional
    • Stability: unverified → 0.20 functional
    • Schema quality: unverified → excellent functional
    • Dependency health: unverified → partial functional
    • Maintenance: unverified → pass functional
    • License: unverified → pass functional
    • Licence: MIT functional
  • 31 Jul 26 −7
    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
  • 30 Jul 26 −18
    • Malware scan: pass → unverified security
  • 27 Jul 26 46

    First indexed and scored.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 3 Aug 2026 · Analysed npm/[email protected]

Provenance none

Ecosystem: npm · Outcome: none

Dependencies 95 packages

95 packages in the resolved dependency tree · 95 deprecated · 29 stale.

The dependency tree was only partially resolved, so these counts may be incomplete.

MCP tools — 15 exposed · ~1,393 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.

Tool Tokens
engram_consolidate ~111

Run a memory consolidation cycle. Promotes important memories upward, drops decayed entries. With merge=true, uses LLM to merge similar memories.

NameTypeReqDescription
decay_drop_thresholdnumberDrop below this recency (default 0.01)
mergebooleanUse LLM to merge similar memories
promote_min_importancenumberMin importance to promote (default 0.6)
promote_thresholdintegerMin access count to promote (default 3)

No output schema declared.

No examples provided.

engram_delete ~38

Delete a memory by ID. Use when a memory is outdated, incorrect, or redundant.

NameTypeReqDescription
idstringyesMemory ID to delete

No output schema declared.

No examples provided.

engram_extract ~55

Extract structured memories from raw text using LLM. Feed conversation logs or notes and get individual memories.

NameTypeReqDescription
auto_embedbooleanGenerate embeddings (default true)
textstringyesRaw text to extract memories from

No output schema declared.

No examples provided.

engram_health ~26

Detailed health check: uptime, RSS memory, embed cache stats, AI config status.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

engram_recall ~291

Hybrid semantic + keyword search with budget-aware retrieval. Fast by default (~30ms cached, ~1s first query). Optional rerank/expand add LLM calls (+2-4s each) — only use when needed.

NameTypeReqDescription
budget_tokensintegerMax token budget
drybooleanSkip touch/reinforcement on results (for background queries)
expandbooleanLLM query expansion (+1-2s). Use for short/vague queries like single words
layersarrayFilter by layers
limitintegerMax results
min_importancenumberMin importance threshold
min_scorenumberDrop results below this score (0-1)
namespacestringFilter by namespace (also includes "default" namespace automatically)
querystringyesSearch query
rerankbooleanRe-rank via LLM (+2-4s). Use only when result ordering is critical
sinceintegerOnly memories created after this unix ms timestamp
sort_bystringSort order (default: score)
sourcestringFilter by source (e.g. session, extract, api)
tagsarrayFilter by tags (must have ALL specified)
untilintegerOnly memories created before this unix ms timestamp

No output schema declared.

No examples provided.

engram_recent ~105

List recent memories by creation time. Good for session context recovery.

NameTypeReqDescription
hoursnumberLook back N hours (default 2)
layerintegerFilter by layer
limitintegerMax results (default 20)
min_importancenumberMinimum importance threshold
namespacestringFilter by namespace (also includes "default" namespace automatically)
sourcestringFilter by source (e.g. session)

No output schema declared.

No examples provided.

engram_repair ~35

Repair FTS search index. Removes orphaned entries and rebuilds missing ones. Safe to run anytime — idempotent.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

engram_restore ~36

Restore a soft-deleted memory from trash back to its original layer.

NameTypeReqDescription
idstringyesMemory ID to restore from trash

No output schema declared.

No examples provided.

engram_resume ~182

Full memory bootstrap for session recovery. Returns core (permanent knowledge), working (ongoing context/decisions), buffer (transient), recent activity, and session notes. Use workspace tags to filter by current work context. Compact mode (default) minimizes token usage.

NameTypeReqDescription
budgetnumberMax chars across all sections (default 8000, 0=unlimited)
compactbooleanCompact output: content+tags only (default true)
hoursnumberLook back N hours for recent/sessions (default 4)
limitnumberMax memories per layer (default 100)
namespacestringFilter by namespace (also includes "default" namespace automatically)
workspacestringComma-separated workspace tags to filter core/working memories (e.g. 'engram,rust')

No output schema declared.

No examples provided.

engram_search ~64

Quick keyword search. Lighter than recall — no scoring or budget logic.

NameTypeReqDescription
limitintegerMax results (default 10)
namespacestringFilter by namespace (also includes "default" namespace automatically)
qstringyesSearch query

No output schema declared.

No examples provided.

engram_stats ~22

Get memory statistics: counts per layer, AI status, version.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

engram_store ~222

Store a memory. All memories start in Buffer and promote to Working/Core through access frequency and LLM quality gating. Procedural memories and lessons (tag=lesson) auto-promote to Working after 2h. Use supersedes to replace outdated memories by their ids.

NameTypeReqDescription
contentstringyesMemory content text
importancenumberImportance 0-1 (default 0.5, bumps +0.02 on each recall)
kindstringMemory type: semantic (facts, default), episodic (events), procedural (how-to, persists indefinitely)
namespacestringOverride namespace. Use "default" for cross-project knowledge (user identity, preferences, universal lessons)
skip_dedupbooleanSkip near-duplicate detection
sourcestringSource identifier
supersedesarrayIDs of old memories this one replaces
sync_embedbooleanWait for embedding generation before returning (default: false)
tagsarrayTags for categorization

No output schema declared.

No examples provided.

engram_trash ~36

List soft-deleted memories. Recently deleted items can be restored.

NameTypeReqDescription
limitintegerMax results (default 100)

No output schema declared.

No examples provided.

engram_triggers ~61

Fetch trigger memories for a specific action. Call before performing an action (e.g. git-push, deploy) to recall relevant lessons and rules.

NameTypeReqDescription
actionstringyesAction name (e.g. git-push, deploy, send-message)

No output schema declared.

No examples provided.

engram_update ~109

Update a memory's content, metadata (importance, tags, layer, kind). Use supersedes on store to replace with history.

NameTypeReqDescription
contentstringNew content text
idstringyesMemory ID to update
importancenumberNew importance value
kindstringMemory type
layerintegerMove to layer: 1=buffer, 2=working, 3=core
tagsarrayReplace tags

No output schema declared.

No examples provided.