metamind-vault-rag
metamind-vault-rag
마크다운 디렉터리를 위한 검색 엔진입니다. 파일을 감시하고 증분적으로 인덱싱하며, 해당 파일들에 대한 하이브리드 검색 쿼리에 응답합니다.
벡터는 sqlite-vec에, 키워드는 SQLite FTS5에 저장되며, 두 결과는 reciprocal rank fusion으로 결합됩니다. 임베딩은 fastembed의 ONNX 모델을 통해 프로세스 내에서 실행되므로, 서버를 세울 필요도 API 키를 보관할 필요도 없습니다. rerank 추가 기능을 통해 선택적 cross-encoder 재점수 계층을 사용할 수 있습니다.
설치
uv tool install metamind-vault-ragRelated MCP server: mnemonic
진입점
명령어 | 용도 |
| 디렉터리를 감시하고 변경 사항을 인덱싱 |
| 일회성 전체 재인덱싱 |
| 루프백 HTTP 검색 API |
| stdio MCP 서버 |
| 환경 및 인덱스 진단 |
구성
변수 | 의미 |
| 인덱싱할 디렉터리 |
| 컬렉션 이름. 인덱스 파일의 범위를 지정함 |
| 루프백 검색 API용 포트 |
| 인덱스, 캐시, 로그가 기록되는 위치. 기본값은 |
인덱스는 상태 디렉터리에 컬렉션 이름으로 기록되며, 절대 말뭉치 내부에 배치되지 않습니다. 서로 다른 컬렉션이나 서로 다른 상태 디렉터리를 가리키는 두 클라이언트는 서로를 알지 못한 채 한 머신에서 공존할 수 있습니다.
소비자
서비스를 실행하지 않고 검색이 필요한 모든 클라이언트가 설치합니다. 엔진은 누가 요청하는지에 대해 어떤 의견도 갖지 않습니다. 출력에서 클라이언트를 지칭하지 않으며, 모든 환경 변수는 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