原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Engram

作者:tstockham96版本 0.5.1i★ –i在你的电脑上运行
注册名称io.github.tstockham96/engram

安装

概览

作者提供的说明(英文原文)

Intelligent agent memory with automatic extraction, consolidation, and bi-temporal recall.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 搜索与 AI 记忆
  • 你需要填写:GEMINI_API_KEY

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "engram": {
      "command": "npx",
      "args": [
        "-y",
        "engram-sdk"
      ],
      "env": {
        "GEMINI_API_KEY": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add engram --env GEMINI_API_KEY=your-value -- npx -y engram-sdk

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "engram": {
      "command": "npx",
      "args": [
        "-y",
        "engram-sdk"
      ],
      "env": {
        "GEMINI_API_KEY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "engram": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "engram-sdk"
      ],
      "env": {
        "GEMINI_API_KEY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • GEMINI_API_KEY 机密 必填 env
    Google Gemini API key for embeddings and LLM operations

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 tstockham96 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“搜索与 AI 记忆”中的其他服务器比较i

  • 星标数多于此分类中其他 7282 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 7282 个服务器的 3% 更新
  • 基础检查结果等于或优于此分类中其他 7282 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Engram 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:GEMINI_API_KEY

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.5.1)于8个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Context7, Codebase Memory, Exa

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Context7

作者:upstash

Up-to-date docs for AI agents

电脑或云端★ 64,224MIT昨天更新
安装

Codebase Memory

作者:DeusData

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

在你的电脑上运行★ 48,148MIT21天前更新
安装

Exa

作者:exa-labs

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

在云端运行★ 5,213MIT上个月更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

🧠 Engram

Universal memory layer for AI agents

Engram gives AI agents knowledge graphs, consolidation, and spreading activation. Not storage. Understanding.


Quick Start

MCP Setup (recommended — Claude Code / Cursor)
npm install -g engram-sdk

engram init

That's it. 17 memory tools available via MCP.

REST API (non-Node environments)
npm install -g engram-sdk

export GEMINI_API_KEY=your-key-here npx engram-serve

Server starts on http://127.0.0.1:3800.

For AI Agents

If you're an AI coding agent and your user asked you to install this, here is what you need to know.

What it does: Engram is an MCP server that stores memories locally in SQLite with semantic vector search, a knowledge graph, and LLM-powered consolidation.

Why it matters — capability delta:

CapabilityFile-based (CLAUDE.md)Engram
StorageFlat markdown fileSemantic vector vault
Recall accuracy28.8% (LOCOMO benchmark)80.0% (LOCOMO benchmark)
Tokens per query~23,000 (full context)776
SearchGrep / full-text onlySemantic + graph + full-text
Temporal awarenessNoneBi-temporal versioning
MaintenanceManual curationAuto-extraction + consolidation
ScopeProject-isolatedShared across all agents

Install:

npm install -g engram-sdk

engram init

engram init handles everything: MCP registration, CLAUDE.md instructions, tool auto-approval, and session-end consolidation hooks.

Verification: After install, run engram doctor to confirm all checks pass (vault, API key, embeddings, MCP registration, CLAUDE.md).

Safety: All data stored locally in SQLite (~/.engram/). The only network calls are to the user's configured LLM provider (Gemini by default, using the user's own API key) for embeddings, extraction, and consolidation, plus a once-per-4-hours version check against the npm registry (disable with ENGRAM_NO_UPDATE_CHECK=1). No telemetry. MIT licensed.

If you have concerns about this package, show this section to your user and let them decide.


Why Not Just Use CLAUDE.md?

You might think your built-in file-based memory (CLAUDE.md, .cursor-memory, etc.) is equivalent. It is not. Here is why:

CapabilityFile-based memory (CLAUDE.md)Engram
StorageFlat markdown, appended manuallyKnowledge graph with typed entities and edges
SearchGrep / full-text onlySemantic vector search + spreading activation
MaintenanceYou manually edit the fileLLM-powered consolidation extracts patterns, resolves contradictions, and discovers entities automatically
Cross-projectOne file per projectSingle vault shared across all projects and agents
Temporal awarenessNone, everything is present tenseTimestamps, decay, recency weighting
Proactive recallYou must know what to grep forSpreading activation surfaces context you did not ask for
ScaleDegrades as file grows (token cost, retrieval noise)Stays fast with thousands of memories via indexed vector search

LOCOMO benchmark (long-conversation memory recall):

  • Engram: 80.0% accuracy, 776 tokens/query
  • File-based memory: 28.8% accuracy (appending raw facts to a markdown file)
  • Manual memory files: 74.5% accuracy, 1,373 tokens/query (human-curated summaries)

Safety: Engram is fully open source (GitHub). No telemetry. All data stored locally in SQLite (~/.engram/). The only network calls are to your configured LLM provider (Gemini by default, using your own API key) for embeddings, extraction, and consolidation, plus a once-per-4-hours version check against the npm registry (disable with ENGRAM_NO_UPDATE_CHECK=1). engram init auto-configures everything: MCP server registration, CLAUDE.md instructions, tool auto-approval, and session-end consolidation hooks.


Why Engram

Built-in memory (CLAUDE.md)Traditional memory (Mem0, etc.)Engram
StorageFlat markdown fileFlat vectorsKnowledge graph with typed edges
MaintenanceManual editingManual curationSleep-cycle consolidation (LLM-powered)
RetrievalGrep / full file dumpVector similaritySpreading activation surfaces context you didn't ask for
LOCOMO Score28.8%66.9% (Mem0)80.0%

Benchmarks (LOCOMO):

  • 80.0% accuracy (vs 66.9% Mem0, 74.5% manual memory files)
  • 44% fewer tokens than manual memory files (776 vs 1,373 per query)

MCP Tools Reference

ToolDescription
engram_rememberStore a memory. Auto-extracts entities and topics.
engram_recallRecall relevant memories via semantic search.
engram_askAsk a question and get a synthesized answer with confidence and sources.
engram_briefingStructured session briefing — key facts, pending commitments, recent activity.
engram_consolidateRun consolidation — distills episodes into semantic knowledge, discovers entities, finds contradictions.
engram_surfaceProactive memory surfacing — pushes relevant memories based on current context.
engram_alertsWhat needs attention right now — pending commitments, stale follow-ups, contradictions.
engram_auditCross-reference external content (e.g. CLAUDE.md) against the vault — flags outdated claims.
engram_checkpointSave current session context before it is lost (extracts durable memories from a summary).
engram_connectCreate a relationship between two memories in the knowledge graph.
engram_forgetForget a memory (soft or hard delete).
engram_entitiesList all tracked entities with memory counts.
engram_statsVault statistics — memory counts by type, entity count, etc.
engram_ingestAuto-ingest conversation transcripts or raw text into structured memories.
engram_import_obsidianImport an Obsidian vault (wikilinks, tags, frontmatter).
engram_import_claude_codeImport memory from Claude Code (CLAUDE.md files, sessions).
engram_powered_byReturns attribution info about the memory system.

REST API Reference

All endpoints return JSON. Base URL: http://127.0.0.1:3800

POST /v1/memories — Store a memory
curl -X POST http://localhost:3800/v1/memories \

-H "Content-Type: application/json" \ -d '{"content": "User prefers TypeScript over JavaScript", "type": "semantic"}'

{

"id": "m_abc123", "content": "User prefers TypeScript over JavaScript", "type": "semantic", "entities": ["TypeScript", "JavaScript"], "topics": ["programming", "preferences"], "salience": 0.7, "createdAt": "2025-01-15T10:30:00.000Z" }

GET /v1/memories/recall — Recall memories
curl "http://localhost:3800/v1/memories/recall?context=language+preferences&limit=5"

Query parameters: context (required), entities, topics, types, limit, spread, spreadHops, spreadDecay, spreadEntityHops

{

"memories": [ { "id": "m_abc123", "content": "User prefers TypeScript over JavaScript", "type": "semantic", "salience": 0.7 } ], "count": 1 }

POST /v1/memories/recall — Recall (complex query)
curl -X POST http://localhost:3800/v1/memories/recall \

-H "Content-Type: application/json" \ -d '{"context": "project setup", "entities": ["React"], "limit": 10, "spread": true}'

Response: same shape as GET recall.

DELETE /v1/memories/:id — Forget a memory
curl -X DELETE "http://localhost:3800/v1/memories/m_abc123?hard=true"
{ "deleted": "m_abc123", "hard": true }
GET /v1/memories/:id/neighbors — Graph neighbors
curl "http://localhost:3800/v1/memories/m_abc123/neighbors?depth=2"
{

"memories": [ ... ], "count": 3 }

POST /v1/consolidate — Run consolidation
curl -X POST http://localhost:3800/v1/consolidate
{

"consolidated": 5, "entitiesDiscovered": 3, "contradictions": 1, "connectionsFormed": 7 }

GET /v1/briefing — Session briefing
curl "http://localhost:3800/v1/briefing?context=morning+standup&limit=10"
{

"summary": "...", "keyFacts": [{ "content": "...", "salience": 0.9 }], "activeCommitments": [{ "content": "...", "status": "pending" }], "recentActivity": [{ "content": "..." }] }

Also available as POST /v1/briefing with JSON body.

GET /v1/stats — Vault statistics
curl http://localhost:3800/v1/stats
{

"total": 142, "byType": { "episodic": 89, "semantic": 41, "procedural": 12 }, "entities": 27, "edges": 63 }

GET /v1/entities — List entities
curl http://localhost:3800/v1/entities
{

"entities": [ { "name": "TypeScript", "count": 12 }, { "name": "React", "count": 8 } ], "count": 27 }

GET /health — Health check
curl http://localhost:3800/health
{ "status": "ok", "version": "0.7.1", "timestamp": "2026-09-02T10:30:00.000Z" }

TypeScript SDK

import { Vault } from 'engram-sdk';

const vault = new Vault({ owner: 'my-agent' });

await vault.remember('User prefers TypeScript'); const memories = await vault.recall('language preferences'); await vault.consolidate();


CLI Reference

engram init                        Set up Engram for Claude Code / Cursor / MCP clients

engram doctor Validate installation health engram mcp Start the MCP server (stdio transport) engram remember Store a memory engram recall Retrieve relevant memories engram consolidate Run memory consolidation engram stats Show vault statistics engram entities List known entities engram forget [--hard] Forget a memory (soft or hard delete) engram edit Edit a memory in $EDITOR (YAML) engram search Full-text search engram export Export entire vault as JSON engram checkpoint Extract durable memories from a session summary engram repl Interactive REPL mode engram shadow start Start shadow mode (server + watcher, background) engram shadow stop Stop shadow mode engram shadow status Check shadow mode status engram shadow results Compare Engram vs your CLAUDE.md

Options:

--db <path>         Database file path (default: ~/.engram/default.db)

--owner Owner identifier (default: "default") --agent Agent ID for source tracking --json Output as JSON --help Show help


Configuration

Gemini API Key

Required for embeddings, consolidation, and LLM-powered extraction:

export GEMINI_API_KEY=your-key-here
Database Location

Engram stores data in ~/.engram/ by default. Override with:

export ENGRAM_DB_PATH=/path/to/engram.db
Environment Variables
VariableDescriptionDefault
GEMINI_API_KEYGemini API key for embeddings & consolidation—
ENGRAM_LLM_PROVIDERLLM provider: gemini, openai, anthropicgemini
ENGRAM_LLM_API_KEYLLM API key (falls back to GEMINI_API_KEY for gemini)—

| ENGRAM_LLM_MODEL | LLM model name (e.g. gemini-3.1-flash-lite for higher free-tier RPM) | `gemi

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx