metamind-vault-rag
metamind-vault-rag
マークダウンのディレクトリ向けの検索エンジンです。ファイルを監視し、インクリメンタルにインデックス化し、それらに対するハイブリッド検索クエリに応答します。
ベクトルは sqlite-vec に、キーワードは SQLite FTS5 に格納され、両者は相互ランク融合によって融合されます。埋め込みは fastembed の ONNX モデルを通じてプロセス内で実行されるため、立ち上げるサーバーも保持する API キーもありません。オプションのクロスエンコーダーによる再スコア層は、rerank エクストラを通じて利用できます。
インストール
uv tool install metamind-vault-ragRelated MCP server: mnemonic
エントリーポイント
コマンド | 目的 |
| ディレクトリを監視して変更をインデックス化 |
| ワンショットの完全再インデックス |
| ループバック HTTP 検索 API |
| stdio MCP サーバー |
| 環境とインデックスの診断 |
設定
変数 | 意味 |
| インデックス化するディレクトリ |
| コレクション名。インデックスファイルのスコープを定義します |
| ループバック検索 API のポート |
| インデックス、キャッシュ、ログが書き込まれる場所。デフォルトは |
インデックスはステートディレクトリに書き込まれ、コレクション名にちなんで命名され、コーパス内には決して配置されません。異なるコレクションまたは異なるステートディレクトリを指す2つのクライアントは、互いの存在を知ることなく1つのマシン上で共存できます。
利用者
サービスを実行せずに検索を必要とする任意のクライアントによってインストールされます。エンジンは誰が問い合わせているかについて意見を持ちません。出力にクライアント名を一切記載せず、環境変数はすべて VAULT_ プレフィックスが付き、ステートディレクトリの外には何も書き込みません。
開発
uv run --extra dev pytestクライアントは、uv tool install --from /path/to/this/repo metamind-vault-rag を使用して、リリースの代わりに作業コピーを指すことができます。
ライセンス
MIT
Available Tools
3 toolsexpand_searchD
search_vault + wikilinks discovered in source files.
Inputs: query (required), k.
search_vaultC
Semantic search over the Obsidian Knowledge vault.
Inputs: query (required), k. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: semantic search, finding related notes, and expanding search via wikilinks. There is no overlap or ambiguity.
All tools use snake_case and follow a verb-like pattern, but 'related_notes' uses an adjective rather than a verb, creating minor inconsistency with the verb_noun style of the other two.
With only 3 tools, the set is minimal but well-scoped for the server's focus on vault search and navigation. It avoids superfluous tools while covering essential actions.
The server covers the core needs of a RAG vault assistant: searching semantically, exploring relationships, and expanding through linked notes. This is a complete set for its intended purpose.
Maintenance
Related MCP Connectors
Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.
Token-efficient MCP memory for Markdown vaults. Tiered search, GraphRAG, AI memories.
Self-hosted AI workspace: semantic RAG document search, long-term memory, and AI chat via MCP.
Related MCP Servers
- AlicenseBqualityAmaintenanceA generic Markdown vault MCP server with FTS5 full-text search, semantic vector search, frontmatter-aware indexing, incremental reindexing, and non-markdown attachment support that exposes search, read, write, and edit tools.481,502 PyPI41MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for on-device hybrid search over markdown knowledge bases, combining BM25, vector embeddings, and LLM reranking with link graph and time decay.MIT
- AlicenseAqualityBmaintenanceMCP server for local knowledge management with Markdown and PDF indexing using SQLite FTS5.515 npm2MIT
- AlicenseNot gradedqualityDmaintenanceA local, private hybrid-search MCP server for searching markdown notes using BM25 + vector fusion with local embeddings via Ollama.MIT