Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Local deterministic BM25 memory for AI agents. Offline-first, no API key, SHA-256 shards, stdio.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"vanguard-memory-node": {
"command": "npx",
"args": [
"-y",
"@lnes/vanguard-memory-node"
]
}
}
}在终端中运行这条命令
claude mcp add vanguard-memory-node -- npx -y @lnes/vanguard-memory-node粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"vanguard-memory-node": {
"command": "npx",
"args": [
"-y",
"@lnes/vanguard-memory-node"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"vanguard-memory-node": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@lnes/vanguard-memory-node"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 ezumba 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(2.0.1)于2个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有: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、图片和脚本已被移除。链接会离开本站。
Local deterministic memory for AI agents via the Model Context Protocol (MCP).
No cloud. No vector database. No semantic drift. Your data stays on your machine.
VMN gives any MCP-compatible AI agent a persistent, queryable memory vault stored entirely on local disk. Text is ingested once, content-addressed with SHA-256, segmented, and indexed with a sharded BM25 inverted index. Retrieval is deterministic: the same query always returns the same ranked result from the same data.
Optionally, vaults can be synced to the ExergyNet LNES-17 ledger for cross-device and cross-agent recall with cryptographic provenance.
npm install -g @lnes/vanguard-memory-node
Or run without installing:
npx @lnes/vanguard-memory-node
Mac — ~/Library/Application Support/Claude/claude_desktop_config.json Windows — %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": { "vanguard-memory": { "command": "npx", "args": ["-y", "@lnes/vanguard-memory-node"] } } }
With ExergyNet vault sync enabled:
{
"mcpServers": { "vanguard-memory": { "command": "npx", "args": ["-y", "@lnes/vanguard-memory-node"], "env": { "EXERGYNET_API_KEY": "sk-exergy-your-key", "EXERGYNET_NETWORK": "mainnet", "AUTO_SYNC_VAULT": "true" } } } }
WSL on Windows:
{
"mcpServers": { "vanguard-memory": { "command": "wsl", "args": ["-d", "Ubuntu", "npx", "-y", "@lnes/vanguard-memory-node"] } } }
vmn_ingestStores text as a SHA-256 content-addressed shard. Segments it, indexes it, and updates the local catalog.
| Parameter | Type | Required | Description |
|---|---|---|---|
text | string | yes | Content to store |
title | string | no | Human-readable label |
namespace | string | no | Logical partition (default: default) |
tags | string[] | no | Search tags |
content_type | string | no | MIME type hint (default: text/plain) |
source | string | no | Source label |
Returns: SHA-256 root hash + vault path + vault_synced flag.
vmn_recallRetrieves a 900-character evidence window from a specific shard using lexical BM25 scoring.
| Parameter | Type | Required | Description |
|---|---|---|---|
hash | string | yes | Root hash from vmn_ingest |
query | string | yes | Search query |
Returns: best-matching evidence window, or a human-readable no-match message.
vmn_searchFull-vault keyword search across all ingested objects. Returns ranked results with snippets.
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | yes | Search query |
limit | number | no | Max results (default: 10) |
namespace | string | no | Restrict search to this namespace only |
vmn_ingest_fileDelta-ingests a growing file into the vault, tracking progress with a cursor so only new lines are ingested on each call. Designed for Stop hooks and continuous log pipelines — safe to call repeatedly with no duplicates.
| Parameter | Type | Required | Description |
|---|---|---|---|
file_path | string | yes | Absolute path to the file |
session_id | string | no | Cursor key (defaults to file path) |
namespace | string | no | Namespace for ingested content (default: file_ingest) |
title | string | no | Optional title override |
tags | string[] | no | Optional tags |
Returns: lines_ingested, cursor_line, and shard hash (null if no new content).
Stop hook example — ingest every Claude session automatically:
{
"hooks": { "Stop": [{ "matcher": "", "hooks": [{ "type": "command", "command": "npx -y @lnes/vanguard-memory-node vmn_ingest_file --file_path \"$CLAUDE_SESSION_FILE\" --session_id \"$CLAUDE_SESSION_ID\"" }] }] } }
vmn_listLists all memory objects in the vault.
| Parameter | Type | Required | Description |
|---|---|---|---|
namespace | string | no | Filter by namespace |
vmn_inspectReturns full catalog metadata for a specific object.
| Parameter | Type | Required | Description |
|---|---|---|---|
hash | string | yes | Root hash |
vmn_deletePermanently removes an object and all its index entries.
| Parameter | Type | Required | Description |
|---|---|---|---|
hash | string | yes | Root hash |
vmn_statsReturns aggregate vault statistics: entry count, total bytes, namespaces, oldest/newest timestamps.
vmn_index_statusReturns current BM25 index state (READY, REBUILD_REQUIRED, REBUILDING, DEGRADED).
vmn_rebuild_indexRebuilds the full BM25 index from authoritative object files. Safe at any time — objects are never modified.
vmn_sync_vaultSyncs a local memory object to the ExergyNet LNES-17 vault. Requires EXERGYNET_API_KEY. Use EXERGYNET_NETWORK to target mainnet or testnet.
| Parameter | Type | Required | Description |
|---|---|---|---|
xlmp_root | string | yes | Root hash of the object to sync |
intent | string | no | Sync intent label (default: manual-sync) |
Returns: xlmp_root, bytes_committed, status, and the resolved vault URL.
| Variable | Default | Description |
|---|---|---|
AUTO_SYNC_VAULT | false | Set to true to auto-sync every vmn_ingest to ExergyNet |
EXERGYNET_API_KEY | — | API key for ExergyNet vault access (sk-exergy-*) |
EXERGYNET_NETWORK | testnet | Target substrate: mainnet → portal.exergynet.org, testnet → dt.portal.exergynet.org |
EXERGYNET_VAULT_URL | _(resolved from EXERGYNET_NETWORK)_ | Override vault base URL entirely |
~/.vanguard/
├── local_vault/ │ └── .txt # authoritative object files (never modified after write) ├── catalog/ │ └── .json # per-object metadata (O(1) reads) ├── segments/ │ └── .json # segment records with term frequencies ├── cursors/ │ └── .json # cursor state for vmn_ingest_file └── index/ └── v2/ ├── index_manifest.json # version + state header ├── corpus_stats.json # BM25 corpus statistics └── postings/ └── <2-hex>.json # 256 sharded posting buckets
tions→ (5), ions→ (4), tion→ (4), ings→ (4), ing→ (3), ers→ (3), ies→ (3), ic→ (2), er→ (2), ed→ (2), es→ (2), s→ (1), y→ (1). Rules applied longest-first; medications and medication both reduce to the same root.smok↔tobacco↔cigarett, physician↔doctor, hypertens↔bp, etc.)| VMN | ChromaDB / Pinecone | |
|---|---|---|
| Result determinism | Same query → same result, always | Varies with model version |
| Data location | Local disk only | Cloud upload required |
| Per-query cost | $0 | API charges |
| Setup time | 60 seconds | Account + key + SDK |
| Semantic drift | None | Breaks on model updates |
| Offline capable | Yes | No |
MIT — free forever, no telemetry, no usage limits.
Built by ExergyNet.