D
drpwchen/ask-your-library
Local-first semantic search over your notes, textbooks and lectures, with page-cited answers
在 GitHub 查看 ↗链接已于 2026-11-14 核查 · HTTP 200 · 打开的是厂商自己的官网
- ★ 数取值
- 6 ★ · drpwchen/ask-your-library · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
- 来源明细
- 从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
- 收录与活跃
- 收录于 2026-11-14 · 最近见到 2026-11-14 · 共见到 1 次 · 被 1 个来源列出
- 评分构成
- 综合分 103 · 6 ★ · 1 个来源 · repo
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库
drpwchen/ask-your-library;我们收录于 2026-11-14;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。# ask-your-library
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
> English · 繁體中文
Ask your own library — textbooks, guidelines, lecture notes and your notes — and get answers that cite the page. Local-first search hub with an MCP server for Claude Code and an Obsidian plugin.
Formerly vault-search.
Related tools: textbook-to-note and lecture-to-notes produce the corpora this searches; note-supplement merges new material into notes you found with it.
Three tools that turn your Obsidian vault into a semantically searchable, AI-chattable knowledge base — running entirely on your own machine. No cloud indexing, no notes leaving your computer for search, no per-query API bill for retrieval.
Built by a physician to study from a vault of thousands of clinical notes, but domain-agnostic: point it at any vault of markdown notes (research, law, engineering, a personal wiki) and it works.
### Two ways to use it (one shared index)
This repo ships two front-ends over the same local LanceDB index + retrieval core — use either or both:
vault-search-obsidian — the Obsidian plugin (Search / Related Notes / Chat in the sidebar), talking to a small local API server. → Quickstart
vault-search-mcp — an MCP server exposing the same search as tools (vault_search, vault_similar, vault_related, vault_stats, textbook_search, and lecture_search when a lecture corpus is configured) to Claude Code or any MCP client. No Obsidian required. → Quickstart
Both reuse the same server/ core (indexer · scoring · Personalized-PageRank · knowledge graph), so you index once and query from wherever you like.
## The three-piece set (三套組)
| Tool | What it does | Backed by |
| 🔍 Vault Search | Type a question in natural language (any language) and get the most semantically relevant note sections — not keyword matches. | LanceDB vector search + local embeddings |
| 🔗 Related Notes | A live sidebar that, as you read or select text, surfaces related notes you forgot you wrote — surfacing hidden links across your vault. | Same index, "find similar" mode |
| 💬 Vault Chat | Chat with your notes (RAG). Three modes: Vault (notes only, 100% local & free), Hybrid (notes + AI knowledge), Free (open chat + literature search). | Local LLM or your Claude subscription |
All three live in the Obsidian sidebar. The same index also exposes an MCP server, so coding agents like Claude Code can search your vault as a tool.
### Screenshots
| 🔍 Vault Search | 🔗 Related Notes |
| 💬 Vault Chat | 👁 Context preview |
## Why it exists
Built-in Obsidian search is lexical — it finds the words you typed. But you rarely remember the exact words in a note you wrote months ago. Semantic search finds notes by meaning: search "how to manage a flaccid bladder after spinal injury" and it finds your note titled Neurogenic Bladder even if those exact words never appear.
The design priority is local-first and private:
Embeddings run locally via Ollama (bge-m3, bilingual, CPU-friendly). Your note text is never sent anywhere to be indexed or searched.
Vault-mode chat is fully local and free — a local LLM answers using retrieved notes, zero tokens billed.
Hybrid/Free chat optionally shells out to the claude CLI so you can use a Claude subscription you already pay for, instead of wiring up (and paying per-token for) a raw API key.
Ask your own library — textbooks, guidelines, lecture notes and your notes — and get answers that cite the page. Local-first search hub with an MCP server for Claude Code and an Obsidian plugin.
Formerly vault-search.
Related tools: textbook-to-note and lecture-to-notes produce the corpora this searches; note-supplement merges new material into notes you found with it.
Three tools that turn your Obsidian vault into a semantically searchable, AI-chattable knowledge base — running entirely on your own machine. No cloud indexing, no notes leaving your computer for search, no per-query API bill for retrieval.
Built by a physician to study from a vault of thousands of clinical notes, but domain-agnostic: point it at any vault of markdown notes (research, law, engineering, a personal wiki) and it works.
### Two ways to use it (one shared index)
This repo ships two front-ends over the same local LanceDB index + retrieval core — use either or both:
vault-search-obsidian — the Obsidian plugin (Search / Related Notes / Chat in the sidebar), talking to a small local API server. → Quickstart
vault-search-mcp — an MCP server exposing the same search as tools (vault_search, vault_similar, vault_related, vault_stats, textbook_search, and lecture_search when a lecture corpus is configured) to Claude Code or any MCP client. No Obsidian required. → Quickstart
Both reuse the same server/ core (indexer · scoring · Personalized-PageRank · knowledge graph), so you index once and query from wherever you like.
## The three-piece set (三套組)
| Tool | What it does | Backed by |
| 🔍 Vault Search | Type a question in natural language (any language) and get the most semantically relevant note sections — not keyword matches. | LanceDB vector search + local embeddings |
| 🔗 Related Notes | A live sidebar that, as you read or select text, surfaces related notes you forgot you wrote — surfacing hidden links across your vault. | Same index, "find similar" mode |
| 💬 Vault Chat | Chat with your notes (RAG). Three modes: Vault (notes only, 100% local & free), Hybrid (notes + AI knowledge), Free (open chat + literature search). | Local LLM or your Claude subscription |
All three live in the Obsidian sidebar. The same index also exposes an MCP server, so coding agents like Claude Code can search your vault as a tool.
### Screenshots
| 🔍 Vault Search | 🔗 Related Notes |
| 💬 Vault Chat | 👁 Context preview |
## Why it exists
Built-in Obsidian search is lexical — it finds the words you typed. But you rarely remember the exact words in a note you wrote months ago. Semantic search finds notes by meaning: search "how to manage a flaccid bladder after spinal injury" and it finds your note titled Neurogenic Bladder even if those exact words never appear.
The design priority is local-first and private:
Embeddings run locally via Ollama (bge-m3, bilingual, CPU-friendly). Your note text is never sent anywhere to be indexed or searched.
Vault-mode chat is fully local and free — a local LLM answers using retrieved notes, zero tokens billed.
Hybrid/Free chat optionally shells out to the claude CLI so you can use a Claude subscription you already pay for, instead of wiring up (and paying per-token for) a raw API key.
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[](https://anclum.com/zh/s/drpwchen-ask-your-library/)
- 来源
- github · https://github.com/drpwchen/ask-your-library
- 按领域浏览
- 开源项目
- Traction
- 6 ★
- 收录于
- 今天
同类推荐
所属领域与标签
每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。