Search your Obsidian vault to quickly find notes by title or keyword, summarize related content, a…
MCPpedia last refreshed this data
ai.smithery/sunub-obsidian-mcp-server is an MCP server that search your Obsidian vault to quickly find notes by title or keyword, summarize related content, a…. It exposes 4 tools over stdio and http, requires no API key, and scores 87/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"obsidian": {
"env": {
"LOGGING_LEVEL": "info",
"VAULT_DIR_PATH": "/abs/path/to/your/vault"
},
"args": [
"-y",
"@sunub/obsidian-mcp-server@latest"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Search your Obsidian vault to quickly find notes by title or keyword, summarize related content, a…
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
npx -y '@sunub/obsidian-mcp-server' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked @sunub/obsidian-mcp-server against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in productivity / writing
一键同步文章到多个内容平台,支持今日头条、WordPress、知乎、简书、掘金、CSDN、typecho各大平台,一次发布,多平台同步发布。解放个人生产力
Local-first AI memory with knowledge graphs and hybrid search. 17+ AI tools via MCP. Free.
Official Todoist MCP server. Manage tasks and projects. Hosted, no API key needed.
MCP server for monday.com integration.
MCP Security Weekly
Get CVE alerts and security updates for ai.smithery/sunub-obsidian-mcp-server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
obsidian-mcp-server는 Obsidian Vault의 Markdown 문서를 AI 에이전트가 조회하고, 관련 근거를 선별하고, 컨텍스트로 압축해 활용할 수 있게 해주는 로컬 우선 MCP 서버입니다.
이 프로젝트에서 RAG는 특정 벡터 DB나 검색 엔진 선택을 뜻하지 않습니다. RAG는 Vault에서 후보 문서를 찾고, Agent 작업에 맞는 근거를 고르고, 컨텍스트 윈도우에 맞게 압축해 제공하는 Agent Context Pipeline입니다.
@huggingface/transformers, LanceDB를 사용해 semantic retrieval을 로컬에서 수행합니다.Elasticsearch 같은 검색 엔진도 retrieval backend로 사용할 수 있는 대안입니다. 다만 이 프로젝트의 기본 목표는 외부 서비스나 별도 검색 엔진에 의존하지 않는 로컬 단독 작업이므로, embedded retrieval stack을 기본값으로 선택합니다.
vault
search: 키워드와 의미 기반 검색을 결합한 하이브리드 후보 탐색read: 특정 노트 본문과 메타데이터 조회list_all: Vault 문서 목록 조회stats: Vault 및 인덱스 상태 조회collect_context: 주제로 검색한 문서의 순위, 점수, 일치 조각, 발췌를 배치로 반환write_property: frontmatter 쓰기tidy_plan: 첨부 파일, 중복, 무제 노트, 빈 폴더를 정리하는 계획과 미리보기 생성(파일은 바꾸지 않음)plan_apply: 사용자가 승인한 연산만 실행하고 링크가 같은 파일을 가리키도록 재작성plan_undo: plan_apply 실행을 runId로 되돌림현재 기본 retrieval backend는 다음 순서로 동작합니다.
Indexer로 정확한 단어 매칭 후보를 찾습니다.로컬 embedding 모델이 설치되지 않은 경우 서버는 키워드 검색으로 폴백합니다.
npx @sunub/obsidian-mcp-server setup
이 명령은 로컬 semantic search에 필요한 모델을 캐시에 설치합니다.
이미 패키지를 설치한 환경에서는 다음처럼 실행할 수도 있습니다.
obsidian-mcp-server setup
모델 설치가 없으면 기본 키워드 검색은 동작하지만, semantic search는 사용할 수 없습니다.
plugin/ 폴더는 Vault 정리 플러그인 vault-tidy입니다. MCP 서버에 정리 절차 Skill, 슬래시 커맨드, 셸 명령으로 Vault 파일을 바꾸지 못하게 막는 Hook을 더합니다.
Claude Code를 실행하는 셸에 Vault 절대 경로를 설정합니다. MCP 서버와 Hook이 이 값을 함께 씁니다.
export VAULT_DIR_PATH="/Users/username/Documents/MyVault"
저장소를 받아 플러그인 폴더를 지정해 실행합니다.
git clone https://github.com/sunub/obsidian-mcp-server.git
claude --plugin-dir ./obsidian-mcp-server/plugin
VAULT_DIR_PATH가 없거나 존재하지 않는 폴더면 MCP 서버가 시작하지 않습니다. 커맨드와 Hook의 검사 범위는 플러그인 문서에 있습니다.
Claude Desktop, Cursor, Copilot 등 MCP 클라이언트에는 다음처럼 등록합니다.
{
"mcpServers": {
"obsidian": {
"command": "npx",
"args": ["-y", "@sunub/obsidian-mcp-server@latest"],
"env": {
"VAULT_DIR_PATH": "/Users/username/Documents/MyVault"
}
}
}
}
VAULT_DIR_PATH는 반드시 본인의 Vault 절대 경로로 바꿔야 합니다.
변경되었거나 누락된 문서만 색인합니다. --force를 붙이면 인덱스를 비우고 전체를 다시 색인합니다.
VAULT_DIR_PATH="/Users/username/Documents/MyVault" npx -y @sunub/obsidian-mcp-server@latest reindex
| 환경변수 | 기본값 | 용도 | 필수 |
|---|---|---|---|
VAULT_DIR_PATH | 없음 | Obsidian Vault 절대 경로 | 예 |
LOGGING_LEVEL | info | debug, info, warn, error | 아니오 |
LOW_CONFIDENCE_DENSE_THRESHOLD | 0.88 | 검색 결과의 낮은 신뢰도 표시 기준 (0~1) | 아니오 |
MCP 서버의 Vault 검색/읽기 도구에는 VAULT_DIR_PATH가 핵심 설정입니다.
키워드가 일치하는 문서가 없고 의미 검색의 최고 유사도가 LOW_CONFIDENCE_DENSE_THRESHOLD보다 낮으면 search_status.reason이 low_confidence가 됩니다. 검색 결과는 그대로 반환합니다. 0이면 표시를 끄고, 범위를 벗어나거나 숫자가 아닌 값은 경고를 남긴 뒤 0.88을 씁니다. 기본값은 multilingual-e5-small 모델과 Vault 하나에서 고른 값입니다.
VAULT_DIR_PATH가 없거나 잘못되면 Vault 관련 도구가 동작하지 않습니다.setup으로 로컬 모델을 설치해야 합니다.collect_context는 긴 주제의 검색 결과를 배치로 이어 받을 때 쓰고, 단건 조회는 search나 read가 더 단순합니다.