プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Engram Cc

作者:Morous-Devバージョン 0.1.4i★ –iパソコンで動く
レジストリ名io.github.Morous-Dev/engram-cc

インストール

概要

作者による説明(英語の原文)

Universal AI coding assistant memory — session handoff, SLM compression, and semantic retrieval.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: 検索・AIの記憶

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • レジストリには、入力が必要なキーは載っていません。

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "engram-cc": {
      "command": "npx",
      "args": [
        "-y",
        "@morous-dev/engram-cc"
      ]
    }
  }
}

ターミナルでこれを実行します

claude mcp add engram-cc -- npx -y @morous-dev/engram-cc

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "engram-cc": {
      "command": "npx",
      "args": [
        "-y",
        "@morous-dev/engram-cc"
      ]
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "engram-cc": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@morous-dev/engram-cc"
      ]
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント Morous-Dev で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

検索・AIの記憶のほかのサーバーとの比較i

  • このカテゴリのほかの7240件のうち0%よりスターが多い
  • このカテゴリのほかの7240件のうち5%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの7240件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Engram Ccは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.1.4)がレジストリに届いたのは8 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Context7, Codebase Memory, Exa

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Context7

作者:upstash

Up-to-date docs for AI agents

パソコンでもクラウドでも★ 64,224MIT3 日前更新
インストール

Codebase Memory

作者:DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

パソコンで動く★ 48,148MIT20 日前更新
インストール

Exa

作者:exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

クラウドで動く★ 5,213MIT44 日前更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

Engram Context Continuum

Universal AI session memory substrate. One install. Every AI coding assistant. Persistent context across sessions, folder renames, and tool switches.

*In neuroscience, an engram is the physical trace a memory leaves in the brain. EngramCC does the same for AI — a local memory substrate that persists what your AI assistant learned, decided, and did, so the next session picks up exactly where the last one left off.*


The Problem

Every AI coding session starts from zero. The assistant re-reads files it read yesterday, re-learns conventions it already knows, re-asks questions you already answered. Context compaction silently erases the session mid-work. Switch tools and all memory is gone.

EngramCC solves this at the infrastructure level — not by prompting harder, but by building a persistent memory layer that runs underneath any AI assistant.


Quick Install

npx engram-cc

Run it from the project root you want ECC to manage, or pass --project-dir .

The setup CLI detects your hardware, prepares a project-local .engram-cc/ workspace, asks for a shared models directory, and generates assistant hook/MCP snippets under .engram-cc/assistant-configs/. No user-home config is modified.

Canonical MCP Install Command

For assistants that self-install MCP servers from npm, the canonical EngramCC command is:

npx --yes --package=@morous-dev/engram-cc -- engramcc-mcp

Equivalent npm exec form:

npm exec --yes --package=@morous-dev/engram-cc -- engramcc-mcp

Assistants should not guess npx @morous-dev/engram-cc mcp. Use the explicit package/bin form above.

For project-local ECC setup, the generated snippets under .engram-cc/assistant-configs/ intentionally use node instead. The npx --package ... form above is for assistants that install EngramCC directly from npm without running project-local setup first.


Supported Assistants

AssistantHook supportMCP support
Claude CodeFull lifecycle hooksrecall / search / recent / graph_query
Gemini CLIFull lifecycle hooksrecall / search / recent / graph_query
VS Code Copilot—recall / search / recent / graph_query
Codex CLINative hooks (session_start, pre_tool_use, stop) + transcript-exact user_prompt_submit / post_tool_use + synthesized pre_compactrecall / search / recent / graph_query
Kilo CLIWrapper-assisted only; native hooks not verifiedrecall / search / recent / graph_query
OpenCodeFull lifecycle hooksrecall / search / recent / graph_query
Cursor—recall / search / recent / graph_query

On Windows, generated hook snippets call src/hooks/hook-runner.mjs so assistant and project env vars are injected without brittle cmd /C quoting.

Codex-specific note: the exact prompt/tool bridge reads Codex's own session JSONL under CODEX_HOME / ~/.codex/sessions/, but ECC still writes its state only into the project-local .engram-cc/ directory. Because Codex does not expose a true prompt-submit injection hook, startup context also includes a Codex turn policy that steers the assistant toward EngramCC MCP memory on user turns when earlier context may have compacted out.

Kilo-specific note: current verified support is MCP plus the ekilo wrapper flow for session-start / session-stop continuity. Kilo has an open request for native lifecycle hooks, so ECC does not claim native Kilo hook parity yet.


How It Works

EngramCC runs as session middleware — lifecycle hooks capture what happens during a session, a local SLM synthesizes memory offline at session end, and an MCP server serves pre-digested context to any connected assistant.

┌─────────────────────────────────────────────────────────────────┐

│ Your AI Coding Session │ │ │ │ UserPromptSubmit → PostToolUse → PreCompact → Stop │ │ │ │ │ │ │ │ └───────────────┴──────────────┴──────────┘ │ │ │ │ │ SQLite event DB │ │ │ │ │ ┌───────────┴───────────┐ │ │ │ Local SLM Archivist │ │ │ │ (no API calls, 100% │ │ │ │ offline synthesis) │ │ │ └───────────┬───────────┘ │ │ │ │ │ ┌──────────────────┼──────────────────┐ │ │ │ │ │ │ │ YAML handoff Knowledge graph Vector store │ │ (hot resume) (BFS traversal) (semantic search) │ │ │ │ │ │ │ └──────────────────┴──────────────────┘ │ │ │ │ │ MCP server │ │ (recall / search / recent │ │ / graph_query) │ └─────────────────────────────────────────────────────────────────┘ ↑ ↓ SessionStart hook Next session injects context picks up here

Session Lifecycle
HookWhenWhat it does
UserPromptSubmitUser sends a messageCaptures intent and decision signals
PostToolUseAny tool completesCaptures file ops, errors, tool results
PreCompactContext nears limitSnapshots session state before erasure
SessionStartSession opensInjects hot handoff or cold summary + MCP pointer
StopSession closesSLM synthesis → handoff YAML + graph + vector store
Tiered Context Injection

EngramCC injects context surgically, not blindly:

  • Hot resume (< 30 min since last session): full handoff XML injected — complete working context, decisions, modified files, errors
  • Cold start: one-sentence headline + pointer to MCP recall tool — zero token waste on stale context
Memory Architecture
LayerStorageContentsLifespan
WorkingYAMLPreferences, conventions, persistent decisionsCross-session
EpisodicSQLite + FTS5All session events, full-text searchablePer-project
SemanticSQLite graphFile/decision knowledge graph, BFS traversalPer-project
Proceduralsqlite-vecEmbedding-indexed high-value eventsPer-project

Local SLM Pipeline

EngramCC synthesizes session memory using local models first — zero external API calls for its own compaction, handoff, and retrieval support.

The setup CLI detects your hardware and selects the best available tier:

TierModelRAM neededWhat it does
1Rule-based0Always-on heuristic extraction
2MiniLM-L6-v2 ONNX~400 MBEmbeddings via @huggingface/transformers
3Llama 3.2 3B Q5_K_M~4 GBPrimary local synthesis tier
3bQwen3.5 4B Q4_K_M~3.5 GBAlternate synthesis tier, strong multilingual/coding performance
3cGemma 3 4B QAT Q4_0~3 GBAlternate synthesis tier, strong structured reasoning
4Ollama / LM Studio / Groquser-providedExternal HTTP provider

Models are stored in a shared directory chosen during engramcc setup and saved in /.engram-cc/config.json. Tiers auto-cascade: if no Tier 3 model is available, Tier 2 runs; if Tier 2 is unavailable, Tier 1 runs. Core memory capture is never blocked.


Stable Project Identity

EngramCC tracks projects by a stable UUID stored in .ecc-id — not by folder path. This means:

  • Rename the project folder → same history
  • Move it to a different drive → same history
  • Re-clone from git → same history (falls back to git root commit hash)

Resolution order: .ecc-id file → git root commit hash → fresh UUIDv4 (written once, never regenerated).


Data Locations

<projectDir>/.engram-cc/

├── sessions/ │ └── .db ← SQLite DB per project (all memory tiers) ├── assistant-configs/ ← Local hook/MCP snippets per assistant ├── config.json ← Project config, including shared models path ├── handoff.yaml ← Session handoff (hot resume data) └── working.yaml ← Cross-session working memory

/Engram Context Continuum/models/ └── .gguf ← Shared GGUF models reused across projects

All data is local. No network calls for core operation. No credentials, tokens, or API keys required.


MCP Tools

When connected via MCP, any assistant can query EngramCC directly:

ToolPurpose
recallFull session context: handoff + working memory
searchFTS5 full-text search over all session events
recentMost recent N events, filterable by category
graph_queryBFS traversal of the knowledge graph

Configuration

Override compression tier or external provider in plugin-config.yaml:

# Force a specific compression tier (default: auto)

compression: tier: "tier3b"

Tier 4 only

external: provider: "ollama" model: "phi4-mini" base_url: "http://localhost:11434"


Benchmarks

The numbers below were verified against the current repo state on March 14, 2026 after the carry-forward compaction fix. They reflect what was actually run, not historical bests.

Verified Benchmark Runs
CommandWhat it measuresCurrent result
npm run buildTypeScript compile integrity✅ PASS
node benchmark/test-session-db.mjsSession DB, archive, resume-chain, carry-forward regressions✅ 53/53
npm run test:qualityEnd-to-end handoff quality across S1/S2/S3✅ 20/20
node benchmark/test-hook-portability.mjsCross-assistant hook env and startup portability✅ 14/14
node benchmark/test-codex-adapter.mjsCodex transcript sync + trigger + stop regressions✅ 29/29
npm run test:brutal:quickReal-data extraction calibration (WildChat + SWE-bench)✅ PASS
npm run test:lifecycle:quick100-cycle real-data lifecycle / archive retention observation✅ PASS
node benchmark/test-adversarial.mjs --model llama3.2-3bHostile SLM inputs A1–A11✅ 11/11
node benchmark/test-adversarial.mjs --model qwenHostile SLM inputs A1–A11✅ 11/11
node benchmark/test-adversarial.mjs --model gemma3-4bHostile SLM inputs A1–A11✅ 11/11
node benchmark/test-tier-comparison.mjsCross-tier compaction retention (4→20 cycles)✅ 38/38 on tier3, tier3b, tier3c
node benchmark/test-scale.mjsPrompt-length stability✅ Llama 16/16 · Qwen 15/16
node benchmark/test-compaction-marathon.mjsMulti-compaction memory retention✅ 53/53
node benchmark/test-diffmode.mjsGrammar-constrained JSON output✅ PASS for Llama 3.2 3B + Qwen3.5 4B
What Those Results Mean
Handoff Quality

npm run test:quality exercises the full path from session events to next-session context injection.

ScenarioAssertionsResult
S1 — Initial session6/6✅
S2 — Hot resume5/5✅

|

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く