
ngmeyer/librarian-mcp
Data science & ML이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
The Karpathy LLM Wiki pattern, productionized. MCP server that gives Claude a librarian for your Obsidian vault — graph traversal, auto-wikilinks, trigram search.
개요
Give Claude a librarian for your markdown vault. Librarian is the pattern, productionized as an MCP server — bidirectional graph traversal, auto-wikilinks, trigram search, community detection, and a D3 graph view, all from inside Claude. Works against any Obsidian vault or plain folder of markdown files. Your vault data never leaves your machine. Librarian reads and writes files on disk and communicates with Claude over stdio. No network calls, no telemetry, no cloud storage. --setup writes the MCP server config into Claude Desktop and Claude Code (with backups), and installs the /librarian skill so you get 12 slash commands out of the box. Download from GitHub Releases for macOS (arm64/x86_64), Linux (arm64/x86_64), and Windows. Place the binary on your PATH. Librarian is a — it works directly on your markdown files. Obsidian does not need to be running (and they can run simultaneously without conflict). Claude connects via the Model Context Protocol over stdio.
README
원문 README의 일부입니다. 원문 보기.
Librarian
Give Claude a librarian for your markdown vault.
Librarian is the Karpathy LLM Wiki pattern, productionized as an MCP server — bidirectional graph traversal, auto-wikilinks, trigram search, community detection, and a D3 graph view, all from inside Claude. Works against any Obsidian vault or plain folder of markdown files.
Runs entirely locally. Your vault data never leaves your machine. Librarian reads and writes files on disk and communicates with Claude over stdio. No network calls, no telemetry, no cloud storage.
Quick Start
# 1. Install
brew install ngmeyer/tap/librarian-mcp
# 2. Point at your vault and auto-configure Claude
librarian-mcp --setup ~/my-vault
# 3. Restart Claude, then try:
# /librarian analyze — see your vault's knowledge graph
# /librarian search — find anything across all notes
# /librarian status — vault health overview
--setup writes the MCP server config into Claude Desktop and Claude Code (with backups), and installs the /librarian skill so you get 12 slash commands out of the box.
Install
Homebrew (macOS)
brew install ngmeyer/tap/librarian-mcp
Pre-built binaries
Download from GitHub Releases for macOS (arm64/x86_64), Linux (arm64/x86_64), and Windows. Place the binary on your PATH.
Build from source (requires Rust)
cargo install --git https://github.com/ngmeyer/librarian-mcp
How It Works
Librarian is a standalone binary — it works directly on your markdown files. Obsidian does not need to be running (and they can run simultaneously without conflict). Claude connects via the Model Context Protocol over stdio.
How is this different from…
| Read files directly | Obsidian Copilot | mcp-obsidian | Librarian | |
|---|---|---|---|---|
| Trigram-indexed search | No | Plugin | Plugin | Yes |
| Auto-wikilinks on write | No | No | No | Yes |
| Knowledge graph traversal | No | No | Partial | Yes (BFS, shortest path) |
| Community detection | No | No | No | Yes (Louvain) |
| Interactive graph viz | No | No | No | Yes (D3.js) |
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"librarian": {
"command": "librarian-mcp",
"args": ["/path/to/your/vault"]
}
}
}