drpwchen

Ask Your Library — Development skill for Claude Code

Development community

Local-first semantic search over your notes, textbooks and lectures, with page-cited answers.

How to install Ask Your Library

This entry records only its repository, not the path inside it, so there is no exact command to give. Open drpwchen/vault-search and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Ask Your Library does

Local-first semantic search over your notes, textbooks and lectures, with page-cited answers. MCP server for Claude Code plus an Obsidian plugin.

Alternatives in Development

  • Obsidian MCP Server — Read, write, search, and surgically edit Obsidian vault notes, tags, and frontmatter via MCP 686 ★
  • Obsidian Decide — Extract decisions from this conversation and log them to the right project notes 277 ★
  • Obsidian MCP Connector — Your Obsidian vault, exposed to Claude, Codex, Cursor and any MCP client 115 ★

README

ask-your-library

**English** · [繁體中文](./README.zh-TW.md)

**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](https://github.com/drpwchen/textbook-to-note) and [lecture-to-notes](https://github.com/drpwchen/lecture-to-notes) produce the corpora this searches; [note-supplement](https://github.com/drpwchen/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.

![Search panel screenshot](docs/images/search.png)

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 |