
Hebbian Vault
io.github.onetrueclaude-creator由 GitHub 账号 onetrueclaude-creator 发布v0.2.0更新于 Oct 25, 2026
Usage-adaptive Obsidian vault search: Hebbian + PageRank + BM25 hybrid ranking.
概览
一个本地 MCP 服务器,让助手对 Obsidian 笔记库进行混合排序、随使用习惯自适应的搜索,融合关键词、链接图谱与使用信号。
- 可以做什么
- 以混合排序搜索笔记库,综合关键词相关性、链接图谱中心度和历史使用情况,并带时间衰减。读取单篇笔记,包括 frontmatter、链接和使用元数据。沿 wikilink 探索一跳或两跳内的关联笔记。列出最常使用的文件,并获取文件数、链接数、孤立笔记和枢纽页等笔记库统计。执行结构健康检查,找出失效链接和孤立笔记。若启动时未指定路径,可在运行时指定笔记库。
- 适用场景
- 适合用 Obsidian 管理笔记、并希望助手以优于纯关键词搜索的方式查找和阅读笔记的场景,尤其是笔记库较大或链接密集时。也适合检查笔记库中的失效链接和孤立笔记。
- 运行要求
- 以 Python 包形式在本地运行(需 Python 3.10 及以上),通常通过 uvx 或 pip 启动。需要提供 Obsidian 笔记库路径,可在启动时指定或通过配置工具设置。无需运行 Obsidian 应用,也不依赖云服务。Pro 许可证 JWT 为可选项,可通过 HEBBIAN_VAULT_LICENSE 环境变量、命令行参数或配置文件提供。
安装
在 SourceWeft 中
- 打开 控制台中的 Hebbian Vault,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
hebbian-vault
MCP server for intelligent, use-adaptive Obsidian vault search.
Your vault remembers what matters. Files you use strengthen. Unused files fade. Hub pages surface first. Search gets better over time.
What it does
Unlike standard Obsidian search (keyword matching), hebbian-vault uses four signals merged via Reciprocal Rank Fusion:
- BM25 -- keyword relevance (like standard search, but ranked)
- Personalized PageRank -- graph centrality biased toward your query (hub pages surface first)
- Hebbian usage -- files you actually use rank higher, with recency decay
- RRF merge -- combines all signals without weight tuning
Works with any Obsidian vault. No cloud. No Obsidian running required. Direct filesystem access.
Install
Usage
Claude Code
Claude Desktop
Add to claude_desktop_config.json:
Direct
MCP Tools
How Hebbian learning works
Every time vault_search or vault_read returns a file, that file's retrieval count increments. Files accessed recently get a recency boost. Files untouched for weeks decay. Over time, the vault develops a "heat signature" -- frequently useful files strengthen, rarely useful files fade.
This is Hebbian learning applied to information retrieval: "neurons that fire together wire together." Your vault adapts to how you actually use it.
Storage
By default, tracking data is stored in a .hebbian/ sidecar directory inside your vault. Your markdown files are not modified.
Pro users can enable --inline-tracking to write retrieval_count directly into YAML frontmatter (visible natively in Obsidian, queryable via Dataview).
Pro tier
The free tier is fully featured for most use. Pro unlocks convenience features for power users:
--inline-tracking— write retrieval counts into note frontmatter instead of sidecar files- Priority email support from the developer
- Future premium features ship Pro-unlocked by default
License activation — any one of these works:
Licenses are verified fully offline — no phone-home, no activation server. Get a license: [coming soon — Dodo Payments storefront in verification].
Options
Requirements
- Python 3.10+
- An Obsidian vault (any size, wikilinks recommended for graph features)
License
MIT
来源:README.md,提交 57a9569
工具
0版本历史
1- v0.2.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
