NL

ngmeyer/librarian-mcp

Data science & ML

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

35 stars 3 forks 品質 72 トレンド 20MIT

カルパシー LLM Wiki パターン、生産 MCP サーバは、Obsidian vault のライブラリを Claude に与えます。 グラフのトラバーサル、オートウィキリンク、トライグラム検索.

概要

マークダウンボルトの司書を借りてください。 Librarian は、MCP サーバーとして生産されるパターンです。二方向のグラフ トラバース、オートウィキリンク、トライグラム検索、コミュニティ検出、D3 グラフビュー、Claude の内部からすべて。 任意のオブシディアンボルトまたはマークダウンファイルのプレーンフォルダに対して動作します。 故障データは、マシンを離れることはありません。 ライブラリは、ディスク上のファイルを読み書きし、stdio上のClaudeと通信します。 ネットワークコールなし、テレメトリーなし、クラウドストレージなし --setup は、MCP サーバー config を Claude デスクトップと Claude コード (バックアップ付き) に書き、 /librarian のスキルをインストールして、ボックスから 12 個のスラッシュコマンドを取得します。 macOS(arm64/x86 64)、Linux(arm64/x86 64)、Windows用のGitHubリリースからダウンロードします。 PATH にバイナリを配置します。 Librarian は、マークダウンファイルに直接機能します。 オブシディアンは実行する必要はありません(そして、彼らは対立なしで同時に実行することができます)。 Claudeは、モデルコンテキストプロトコルを介してstdioに接続します.

概要(AI 翻訳)

マークダウンボルトの司書を借りてください。

Librarian は、Karpathy LLM Wiki パターンで、MCP サーバーとして製造されています。双方向のグラフのトトラバース、オートウィキリンク、トライグラム検索、コミュニティ検出、D3 グラフビュー、Claude の内部からすべて。 任意のオブシディアンボルトまたはマークダウンファイルのプレーンフォルダに対して動作します。

現地で走る。 故障データは、マシンを離れることはありません。 ライブラリは、ディスク上のファイルを読み書きし、stdio上のClaudeと通信します。 ネットワークコールなし、テレメトリーなし、クラウドストレージなし

クイックスタート

[--setup は、MCP サーバーの設定を Claude デスクトップと Claude コード (バックアップ付き) に書き、 [/librarian] のスキルをインストールして、ボックスから 12 個のスラッシュコマンドが取得します。

インストール

Homebrew (macOS) の

ビルド済みのバイナリ

macOS(arm64/x86 64)、Linux(arm64/x86 64)、Windows用のGitHubリリースからダウンロードします。 PATH にバイナリを配置します。

ソースからビルド (Rustが必要)

使い方

Librarian は standalone バイナリ — マークダウンファイルに直接動作します。 オブシディアンは実行する必要はありません(そして、彼らは対立なしで同時に実行することができます)。 Claudeは、モデルコンテキストプロトコルを介してstdioに接続します.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

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)
GitHub で README 全文を見る

インストール

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"] } } }