Searches, reads, organizes, and enriches local Obsidian Vault notes through MCP tools.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
We ran the install command below but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.
npx -y @sunub/obsidian-mcp-serverNo response to initialize.
This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 3d ago.
💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Sunub Obsidian MCP Server.
search키워드와 의미 기반 검색을 결합한 하이브리드 후보 탐색
read특정 노트 본문과 메타데이터 조회
list_allVault 문서 목록 조회
statsVault 및 인덱스 상태 조회
collect_context주제와 연관된 문서를 선별해 `memory_packet` 생성
load_memory저장된 컨텍스트 메모리 스냅샷 로드
sunub-obsidian-mcp-server MCP server exposes an Obsidian Vault’s Markdown documents to MCP-compatible AI clients. It supports both read and write workflows: agents can find notes, inspect their contents and metadata, assemble related evidence into a memory_packet, generate frontmatter candidates, update properties, create documents with properties, and reorganize attachments while updating links.
The server is designed for local-first Vault access. Its retrieval pipeline is intended to provide selected excerpts and source references rather than sending entire documents into an agent context by default. This makes it suitable for questions that require evidence from a personal knowledge base, topic-based context gathering, or structured maintenance of Obsidian notes.
The default retrieval path combines several stages. An internal index first finds keyword matches, while LanceDB and a local embedding model identify semantically similar chunks. Reciprocal rank fusion combines those result sets, and a local reranker evaluates the leading candidates again. The server then returns excerpts, evidence snippets, source references, or a memory_packet suited to the requested operation.
sunub-obsidian-mcp-server MCP server falls back to keyword search if the local embedding or reranking models are unavailable. Running the setup command installs the cached models needed for semantic retrieval and reranking. The collect_context tool is intended for selecting related documents and compressing a topic into context; search and read are simpler choices for individual lookups.
The runtime requires Node.js 22 or newer and an accessible absolute path to an Obsidian Vault. Run npx @sunub/obsidian-mcp-server setup to prepare the local semantic-search and reranking models. The package can then be registered with an MCP client using npx -y @sunub/obsidian-mcp-server@latest and the required VAULT_DIR_PATH environment variable.
VAULT_DIR_PATH must point to the Vault’s absolute filesystem path. LOGGING_LEVEL is optional and accepts debug, info, warn, or error. LLM_API_URL and LLM_CHAT_MODEL apply to the repository’s development CLI interface, not to the core Vault MCP tools.
The available operations include:
search: combines keyword and semantic retrieval to find candidate notes.read: returns a selected note’s body and metadata.list_all: lists documents in the Vault.stats: reports Vault and index status.collect_context: selects related documents and creates a memory_packet.load_memory: loads a saved context-memory snapshot.generate_property: proposes frontmatter properties from document content.write_property: writes frontmatter properties.create_document_with_properties: analyzes a document, then generates and writes its properties.organize_attachments: organizes document attachments and updates links.sunub-obsidian-mcp-server MCP server depends on a valid Vault path; a missing or incorrect VAULT_DIR_PATH prevents Vault tools from working. Semantic search and reranking are unavailable at their intended quality until the setup command installs the local models, although keyword search can still operate.
The repository also contains a development-only terminal CLI, but the published package entry point starts the MCP server rather than that interface. The CLI requires a separate OpenAI-compatible local LLM endpoint and uses LLM_API_URL and LLM_CHAT_MODEL. Its conditional RAG behavior gathers Vault context only when Vault-related commands, server names, or tool names trigger that path. Write tools are restricted from writing outside the Vault.
Factual signals from GitHub, npm, and our automated checks — not a rating.
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/sunub-obsidian-mcp-server)<a href="https://allmcps.com/mcp/sunub-obsidian-mcp-server"><img src="https://allmcps.com/api/badge/sunub-obsidian-mcp-server?style=directory" alt="Sunub Obsidian MCP Server on AllMCPs" /></a>