Neural Memory
概览
作者提供的说明(英文原文)
Persistent memory for AI agents — 55 MCP tools, spreading activation recall.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新↓ 68/周 · ★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 搜索与 AI 记忆
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 注册中心没有列出需要填写的密钥。
你需要
- npm已安装 Node.js(用于 npx 命令)
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"neural-memory": {
"command": "npx",
"args": [
"-y",
"neural-memory-mcp"
]
}
}
}在终端中运行这条命令
claude mcp add neural-memory -- npx -y neural-memory-mcp或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"neural-memory": {
"command": "npx",
"args": [
"-y",
"neural-memory-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"neural-memory": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"neural-memory-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 nhadaututtheky 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“搜索与 AI 记忆”中的其他服务器比较i
- 星标数多于此分类中其他 5688 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 5688 个服务器的 8% 更新
- 基础检查结果等于或优于此分类中其他 5688 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Neural Memory 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(4.27.2)于7个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
有什么可以替代它?
同一分类中有:Context7, Codebase Memory, Exa
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Exa
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
NeuralMemory
Your AI agent forgets everything between sessions. Neural Memory gives it a brain.
Website · Quickstart · MCP Tools · Pro · Changelog
Memories are stored as interconnected neurons and recalled through spreading activation — the same way the human brain works. No vector database. No API calls. No monthly embedding bill.
pip install neural-memory
Restart your AI tool. Your agent now remembers — no init needed, the MCP server auto-initializes on first use.
Already installed? nmem update upgrades in place and detects whether you installed via pip or from source. nmem update --check only reports what is available.
The CLI is
nmem(or the longerneural-memory). There is nonmbinary.
3 Tools. That's It.
63 MCP tools are available, but you only need three:
| Tool | What it does |
|---|---|
nmem_remember | Store a memory — auto-detects type, tags, and connections |
nmem_recall | Recall through spreading activation — related memories surface naturally |
nmem_health | Brain health score (A–F) with actionable fix suggestions |
Everything else — sessions, context loading, habit tracking, maintenance — works transparently in the background.
What Makes This Different
Most memory tools are search engines. Neural Memory is a graph that thinks.
When you ask "Why did Tuesday's outage happen?", a vector database returns the most similar sentence. Neural Memory traces the chain:
outage ← CAUSED_BY ← JWT expiry ← SUGGESTED_BY ← Alice's review
Relationships are explicit — CAUSED_BY, LEADS_TO, RESOLVED_BY, CONTRADICTS — so your agent doesn't just find memories, it *reasons* through them.
| Search-based (RAG) | Neural Memory | |
|---|---|---|
| Retrieval | Similarity score | Graph traversal |
| Relationships | None | 24 explicit types |
| LLM required | Yes (embedding) | No — fully offline |
| Multi-hop reasoning | Multiple queries | One traversal |
| Memory lifecycle | Static | Decay, reinforcement, consolidation |
| Cost per 1K queries | ~$0.02 | $0.00 |
Cloud Sync — Your Data, Your Infrastructure
Sync your brain across every machine. Unlike other memory tools, we never store your data.
Laptop ←→ Your Cloudflare Worker ←→ Desktop
↕ Your Phone
You deploy the sync hub to your own Cloudflare account (free tier). Your D1 database, your encryption key, your data. We provide the code — you own the infrastructure.
nmem sync # push/pull changes
nmem sync --auto # auto-sync after every remember/recall
Sync uses Merkle delta — only diffs travel, not the full brain. Fast, efficient, private.
Features
Memory & Recall
- 14 memory types — fact, decision, error, insight, preference, workflow, instruction, and more
- Spreading activation — memories surface by association, not keyword match
- Cognitive reasoning — hypothesize, submit evidence, make predictions, verify with Bayesian confidence
- Workload presets —
nmem config preset {balanced,safe-cost,max-recall,chat-heavy}tune the brain for SaaS, frugal mode, deep retention, or conversational agents - Temporal recall —
nmem_causalexposestemporal_rangeandtemporal_neighborhoodactions; see the Temporal Recall Recipes guide
Knowledge Ingestion
- Train from documents — PDF, DOCX, PPTX, HTML, JSON, XLSX, CSV ingested into permanent brain knowledge
- Import adapters — migrate from ChromaDB, Mem0, Cognee, Graphiti, LlamaIndex in one command
Lifecycle & Storage
- Memory consolidation — episodic memories mature into semantic knowledge over time
- Compression tiers — full → summary → essence → ghost → metadata (reclaim storage, keep meaning)
- Brain versioning — snapshot, rollback, diff, transplant memories between brains
Community
- Brain Store — browse, import, and publish pre-built brains to the community marketplace
- 3 seed brains — Python Best Practices, Git Workflows, Docker Essentials (ready to import)
Ecosystem
- Web dashboard — 7-page React UI with graph visualization, health radar, timeline, mindmap, Brain Store
- VS Code extension — memory tree, graph explorer, CodeLens, WebSocket sync (Marketplace →)
- Safety — Fernet encryption, sensitive content auto-detection, parameterized SQL, path validation
- Telegram backup — send brain
.dbfiles to Telegram for offsite backup
Quick Examples
# Store memories (type auto-detected)
nmem remember "Fixed auth bug with null check in login.py:42" nmem remember "We decided to use PostgreSQL" --type decision nmem todo "Review PR #123" --priority 7
Recall
nmem recall "auth bug" nmem recall "database decision" --depth 2
Brain management
nmem brain list && nmem brain health nmem brain export -o backup.json
Sync across devices
nmem sync --full
Web dashboard
nmem serve # http://localhost:8000/dashboard
import asyncio
from neural_memory import Brain from neural_memory.storage import InMemoryStorage from neural_memory.engine.encoder import MemoryEncoder from neural_memory.engine.retrieval import ReflexPipeline
async def main(): storage = InMemoryStorage() brain = Brain.create("my_brain") await storage.save_brain(brain) storage.set_brain(brain.id)
encoder = MemoryEncoder(storage, brain.config) await encoder.encode("Met Alice to discuss API design") await encoder.encode("Decided to use FastAPI for backend")
pipeline = ReflexPipeline(storage, brain.config) result = await pipeline.query("What did we decide about backend?") print(result.context) # "Decided to use FastAPI for backend"
asyncio.run(main())
Neural Memory Pro
Free Neural Memory is complete — 63 tools, unlimited memories, fully offline. You never have to pay.
But past 10K memories, things change. Keyword matching misses semantically related content. Consolidation slows to minutes. Storage grows unbounded. If your agent's brain is getting big, Pro makes it smart.
Free recalls by keyword. Pro recalls by meaning.
Query: "authentication improvements"
Free (FTS5): 2 results — exact matches only Pro (HNSW): 7 results — includes "JWT rotation", "session hardening", "OAuth migration"
What Pro adds
| Free (SQLite) | Pro (InfinityDB) | |
|---|---|---|
| Recall | Keyword match (FTS5) | Semantic similarity (HNSW) |
| Speed at 1M neurons | ~500ms | <5ms |
| Scale tested | ~50K neurons | 2M+ neurons |
| Compression | Text-level trimming | 5-tier vector compression (97% savings) |
| Consolidation | O(N²) brute-force | O(N×k) HNSW clustering |
| Storage per 1M | ~5 GB | ~1 GB |
| Cloud sync | Manual push/pull | Merkle delta (auto, diffs only) |
Pro-exclusive features
- Cone Queries — adjustable semantic recall. Narrow the cone for precision, widen for exploration
- Smart Merge — consolidation that scales to 1M+ neurons using HNSW neighbor clustering
- Directional Compression — compress along multiple semantic axes while preserving meaning
- 5-Tier Auto Lifecycle — memories flow from float32 → float16 → int8 → binary → metadata. Auto-promote on access
Get Pro
pip install neural-memory # Pro features included
nmem shared activate --key NM-PRO-XXXX-XXXX-XXXX # activate license nmem shared status # verify: Pro: Active
[$9/mo](https://neuralmemory.theio.vn/landing/pricing/) — 30-day money-back guarantee. All free tools keep working. Downgrade anytime, keep your data.
Setup by Tool
Claude Code (Plugin)
/plugin marketplace add nhadaututtheky/neural-memory
/plugin install neural-memory@neural-memory-marketplace
Cursor / Windsurf / Other MCP Clients
pip install neural-memory
Add to your editor's MCP config:
{
"mcpServers": { "neural-memory": { "command": "nmem-mcp" } } }
OpenClaw (Skill or Plugin)
Skill — one click via ClawHub. Published on every release:
clawhub.ai/skills/neural-memory
Plugin — memory slot replacement. Use this if you want NeuralMemory to *be* OpenClaw's memory provider rather than a skill it calls:
pip install neural-memory && npm install -g neuralmemory
Set memory slot in ~/.openclaw/openclaw.json:
{ "plugins": { "slots": { "memory": "neuralmemory" } } }
Upgrade to Pro
Already using Neural Memory? Just activate your key:
nmem shared activate --key NM-PRO-XXXX-XXXX-XXXX # activate license
Then enable InfinityDB (semantic search engine):
# ~/.neuralmemory/config.toml
storage_backend = "infinitydb"
Restart your MCP server. Existing memories are auto-migrated from SQLite to InfinityDB on first startup.
Installation extras
pip install neural-memory[server] # FastAPI server + dashboard
pip install neural-memory[extract] # PDF/DOCX/PPTX/HTML/XLSX extraction pip install neural-memory[nlp-vi] # Vietnamese NLP pip install neural-memory[embeddings] # Local embedding models pip install neural-memory[embeddings-openai] # OpenAI embeddings pip install neural-memory[all] # Everything
Benchmarks vs alternatives
| Metric | NeuralMemory | Mem0 | Cognee |
|---|
| Write 50 memories | 1.2s | 148.2s (121x slower) | 290.6s (80x slower)
只显示了开头部分;其余内容请在仓库中阅读