RAG Obsidian Server
БесплатноНе проверенEnables semantic search over an Obsidian vault using ChromaDB, allowing users to search, read, and list notes via natural language.
Описание
Enables semantic search over an Obsidian vault using ChromaDB, allowing users to search, read, and list notes via natural language.
README
Semantic search over your Obsidian vault via an MCP server. Uses ChromaDB for vector storage and all-MiniLM-L6-v2 for embeddings.
Prerequisites
- Python 3.13+
- uv (recommended) or pip
Setup
uv sync
Edit config.yaml to point to your vault:
vault_path: "/path/to/your/Obsidian/vault"
chroma_db_path: "./data/chroma_db"
embedding_model: "all-MiniLM-L6-v2"
collection_name: "obsidian_vault"
chunk_size: 1000
chunk_overlap: 100
top_k_default: 5
Indexing
Initial index (first run)
uv run python index.py
This walks all .md files in the vault, embeds them in chunks, and stores them in ChromaDB.
Incremental index (after adding or editing notes)
Run the same command — it skips files whose modification time hasn't changed:
uv run python index.py
Only new or modified notes are re-indexed. Deleted notes are removed from the database automatically.
Force full re-index
To re-embed everything from scratch (e.g. after changing chunk_size or embedding_model):
uv run python index.py --force
Override vault path
uv run python index.py --vault "/path/to/other/vault"
Starting the MCP Server
Run the server in stdio mode (the transport Claude Code and other MCP clients expect):
uv run python server.py
Registering with Claude Code
Add the server to your Claude Code MCP config (.claude/settings.json or global settings):
{
"mcpServers": {
"obsidian-vault": {
"command": "uv",
"args": ["run", "python", "server.py"],
"cwd": "/path/to/RAG_Obsidian"
}
}
}
Available MCP Tools
| Tool | Description |
|---|---|
search_notes |
Semantic search across indexed notes. Returns top-k chunks with relevance scores and obsidian:// deep links. |
read_note |
Read the full content of a note by its relative path (e.g. Projects/MyProject.md). |
list_notes |
List all notes in the vault or a subfolder. |
Установка RAG Obsidian Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/lion9/RAG_ObsidianFAQ
RAG Obsidian Server MCP бесплатный?
Да, RAG Obsidian Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для RAG Obsidian Server?
Нет, RAG Obsidian Server работает без API-ключей и переменных окружения.
RAG Obsidian Server — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить RAG Obsidian Server в Claude Desktop, Claude Code или Cursor?
Открой RAG Obsidian Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare RAG Obsidian Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
