Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Ephemeral 7-day hybrid vector+BM25 working memory, multilingual, backed by Redis Stack.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"n3mc-workingmemory": {
"command": "uvx",
"args": [
"n3memorycore-mcp-lite"
]
}
}
}在终端中运行这条命令
claude mcp add n3mc-workingmemory -- uvx n3memorycore-mcp-lite粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"n3mc-workingmemory": {
"command": "uvx",
"args": [
"n3memorycore-mcp-lite"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"n3mc-workingmemory": {
"type": "stdio",
"command": "uvx",
"args": [
"n3memorycore-mcp-lite"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 NeuralNexusNote 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.6.2)于6个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
**N3MC-MCP-Lite is an "external memory server" used by MCP-compatible
editors such as Claude Code, Cursor, and Windsurf.**
It runs as an MCP Server so AI can save and search conversation and
code context across sessions.
A NeuralNexusNote™ product — free Lite build: ephemeral hybrid
(vector + BM25) memory exposed as a Model Context Protocol server, backed
by Redis Stack with a 7-day TTL per entry.
💬 **The MCP protocol can only nudge the LLM to call
save_memory, so
which conversations actually get saved is ultimately up to the LLM. But
if you ask Claude Code, it can also wire up hook-based auto-saving of
every conversation.**
Just say "after every turn, automatically save the full Claude Code
transcript to Lite" and Claude Code will drop a script under
~/.claude/hooks/and add aStophook to~/.claude/settings.json.
The harness runs the hook deterministically — it does not depend on the
LLM remembering to call
save_memory, so Claude can never accidentally
skip a save. See the
Hook-based full-transcript saving
section below for details.
🇯🇵 [日本語版はこちら](./README_JP.md)
🛡️ [Development Philosophy](./PHILOSOPHY.md)
The fastest path from "nothing installed" to "Claude Code is using
N3MC memory". Pick the install path that matches you (PyPI / fork /
uvx), then add the server to your client config. Both Claude Code
CLI and Claude Desktop are covered.
docker run -d --name redis-stack -p 6379:6379 redis/redis-stack-server:latest
docker start redis-stack)
Quickest path — Claude Code marketplace. Bundles install + MCP wiring in two commands. Run inside Claude Code:
/plugin marketplace add NeuralNexusNote/n3mcmcp-lite
/plugin install n3mc-workingmemory@neuralnexusnote
Then /reload-plugins and skip Step 3 — the plugin manifest handles MCP wiring. The manual options below remain available for forks, custom configs, and Claude Desktop.
(a) From PyPI — most users:
pip install n3memorycore-mcp-lite
(b) From a fork (you cloned this repo) — contributors / customizers:
git clone https://github.com/<YOU>/n3mcmcp-lite
cd n3mcmcp-lite pip install -e ".[dev]"
(c) Zero-install via uvx — no global install, isolated env:
# Just verify it runs; the actual launch is handled by your MCP client config:
uvx --from n3memorycore-mcp-lite n3mc-workingmemory --help
After step 2, the n3mc-workingmemory command is on your PATH. Run where n3mc-workingmemory (Windows) or which n3mc-workingmemory (macOS/Linux) to confirm.
| Client | What to do |
|---|---|
| Claude Code (CLI), this repo's working tree | .mcp.json is already committed — just cd into the repo and run claude. The CLI auto-connects on next prompt. |
| Claude Code (CLI), a different project directory | Copy .mcp.json into that project, or add the same n3mc-workingmemory block to its .mcp.json. See Claude Code (standalone CLI). |
| Claude Desktop (incl. its built-in "Code" tab) | Edit claude_desktop_config.json (path differs per OS). See Claude Desktop. |
| Claude Code with auto-tool-approval | One extra block in ~/.claude/settings.json so the AI never blocks on "Allow?" prompts. See Auto-approve tool calls. |
| uvx-launched (no global install needed) | Use the uvx-form command/args in your client config. See Claude Code (standalone CLI). |
That's it. Once Claude Code is connected, the server's behavioral instructions take over — search_memory runs at the start of every turn and save_memory runs after each meaningful exchange, all automatically.
First call may take 30–60 seconds the first time only — the
~400 MB
intfloat/multilingual-e5-baseembedding model downloads to
~/.cache/huggingface/. Subsequent starts complete in seconds.
This server does not run out of the box — you must prepare two things first:
# First time only (creates the container):
docker run -d --name redis-stack -p 6379:6379 redis/redis-stack-server:latest
docker start redis-stack
Re-running the `docker run` command after the container exists fails with `Conflict. The container name "/redis-stack" is already in use`. Use `docker start` from the second session onward.
Why no persistence flags on the docker line: this build is
*deliberately volatile*. Ephemerality is a design feature, not a
missing capability — see the "Use cases" section below. Rather
than rely on fragile shell-quoting for
--save ""(which breaks on
Windows PowerShell and cmd.exe), the MCP server enforces the
ephemeral state at startup by issuing
CONFIG SET appendonly noand
CONFIG SET save ""on every connect. If you manually re-enable
persistence between sessions, it is reverted on the next Lite run.
The plain
docker runabove is sufficient — the server is the
source of truth for the ephemerality guarantee.
uvx install path. Not needed if you install from source.The server refuses to start if Redis is unreachable, and the Claude Code plugin will fail to launch without uv. Install both before running /plugin install or any client-side config.
アルファ↔アルファ, 123↔123, ligatures), bigram coverage for Japanese / Chinese / Korean / Thai / Lao / Myanmar / Khmer, diacritic cross-match for Latin scripts (café↔cafe).initialize response ships behavioral instructions, so no user action is required.b_local and b_session biases prioritize each project's own memories while still surfacing the team's collective knowledge.N3MC_REDIS_URL to it for team-wide memory sharing (⚠️ authentication must be handled at the Redis layer).docker restart redis-stack wipes everything instantly.intfloat/multilingual-e5-base) and costs zero Claude tokens, and accurate context injection means fewer corrections and back-and-forth.User's message
│ ▼ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │ 1. Auto-save │────▶│ 2. Semantic │────▶│ 3. Context │ │ Save last │ │ search │ │ injection │ │ response to │ │ Find related │ │ Feed to │ │ Redis │ │ memories │ │ Claude │ └──────────────┘ └──────────────┘ └──────────────┘ │ ▼ Claude responds with full context
Everything runs automatically via the behavioral instructions shipped in the MCP initialize response. No Claude Code hooks are involved — the only client-side setup is adding the tools to permissions.allow. No user action required.
Claude Code has a built-in auto-memory system (~/.claude/projects/.../memory/). N3MemoryCore complements it rather than competing with it.
| Claude auto-memory | N3MemoryCore RAG | |
|---|---|---|
| Strengths | Reliable, loads every session, great for fixed facts | Conversation context, detailed history |
| Weaknesses | Cannot capture conversation flow or context | Depends on search quality; not guaranteed to surface |
| Best for | User profile, folder paths, stable settings | Conversation threads, past decisions, reasoning |
Recommended usage:
The 7-day TTL and volatile Redis storage are design features, not limitations. They make this server the right fit for:
docker restart redis-stack wipes the slate clean.session_id per task / project to keep contexts cleanly separated.If you need long-term, persistent knowledge accumulation across months or years, working memory is not the right layer. Pair this server with any persistent memory MCP — the official knowledge-graph server, your own SQLite-backed implementation, or an external service — to cover the long-term side.
n3memorycore-mcp-lite is a local-only MCP server that gives Claude (and any other MCP-compatible client) short-lived memory across conversations. It stores text entries in a local Redis Stack instance with both a BM25 full-text index and a 768-dimension vector index (intfloat/multilingual-e5-base), and returns hybrid-ranked results.
Every operation runs on the user's machine. No API calls, no cloud storage.
| Tool | Purpose |
|---|---|
search_memory | Hybrid (vector + BM25) search, ranked & time-decayed, session_id boost |
save_memory | Persist a short entry (7d TTL, dedup: exact + near-duplicate) |
list_memories | Most-recent entries, newest first |
| delete_memory
只显示了开头部分;其余内容请在仓库中阅读