obsidian-mcp
obsidian-mcp
모든 Obsidian 볼트를 AI로 쿼리 가능한 지식 그래프로 변환하는 MCP 서버입니다.
기존 24개 이상의 Obsidian MCP 서버와 다른 점:
그래프 우선 —
[[wikilinks]]를 통한 BFS, 최단 경로, 연결 컴포넌트, 브리지 탐지인프라 제로 — 데이터베이스 없음, Obsidian 실행 불필요, API 키 없음
볼트 무관 — 기존 볼트와 바로 호환, 필수 구조 없음
백링크 인식 쓰기 —
move_note가 볼트 전체의 모든 참조를 자동 업데이트초경량 — 런타임 의존성 4개, ~42KB 번들
빠른 시작
npx obsidian-mcp --vault ~/my-obsidian-vaultClaude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json에 추가하세요:
{
"mcpServers": {
"obsidian": {
"command": "npx",
"args": ["-y", "obsidian-mcp", "--vault", "/path/to/vault"]
}
}
}Claude Code
claude mcp add obsidian -- npx -y obsidian-mcp --vault /path/to/vaultRelated MCP server: some-vault-some-mcp
도구 (12개)
읽기 및 탐색
도구 | 설명 |
| 개요: 전체 노트, 태그, 링크, 고아 노트, 컴포넌트, 상위 태그/허브 |
| 전체 콘텐츠 + frontmatter + 링크 + 백링크 + 섹션 |
| 태그, 폴더, frontmatter, 키워드로 필터링. 모두 조합 가능 |
그래프 탐색
도구 | 설명 |
| 노트의 직접 링크 + 백링크 |
| 노트에서 BFS/DFS, 태그 필터링으로 N홉 깊이 |
| 두 노트 사이의 최단 링크 체인 |
| 컴포넌트, 고아 노트, 브리지, 허브, 끊어진 링크 |
쓰기 및 조작
도구 | 설명 |
| 콘텐츠 + frontmatter로 생성 |
| 섹션 추가, 앞에 삽입, 또는 교체. frontmatter 업데이트 |
| 이름 변경/이동 + 볼트 전체의 모든 백링크 자동 업데이트 |
| 삭제 + 끊어진 링크 보고 |
| 태그 추가/제거/이름 변경 (볼트 전체 이름 변경 지원) |
구성
기본적으로 구성이 필요 없습니다. 볼트 루트에 선택적으로 .obsidian-mcp.json을 둘 수 있습니다:
{
"ignore": ["templates/", "daily-notes/", ".trash/"],
"watchDebounce": 100,
"maxTraversalDepth": 10,
"maxSearchResults": 500
}CLI 플래그
--vault <path> Path to Obsidian vault (required)
--verbose Enable debug logging
--log-level <level> error | warn | info | debug (default: info)작동 방식
시작 시 모든
.md파일을 스캔하고 인메모리 그래프를 구축합니다 (노트 1,000개 기준 약 1~3초)파일 감시자가 변경을 감지하고 그래프를 증분 업데이트합니다 (변경당 약 5ms)
Claude가 MCP 도구를 통해 그래프를 쿼리합니다 — 재스캔이 필요 없습니다
쓰기 작업은 파일시스템과 그래프를 원자적으로 업데이트합니다
하드코딩된 제외 항목: .obsidian/, .trash/, node_modules/
개발
npm install
npm test # Run 66 tests
npm run build # Build to dist/
npm run dev -- --vault test/fixtures/vault # Dev mode라이선스
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceAn open-source MCP server that makes your Obsidian vault accessible from any AI client with hybrid search, read/write, and graph analysis capabilities.3023MIT
- AlicenseNot gradedqualityAmaintenanceMCP server that gives AI models read/write access to Obsidian vaults with semantic search, link graph analysis, canvas manipulation, and incremental indexing.1MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that treats Obsidian vaults as knowledge graphs, enabling AI agents to traverse wikilinks, assemble token-budgeted context, and search with backlink awareness.31MIT
- AlicenseNot gradedqualityAmaintenanceAn MCP server that enables AI agents to read, search, and write to your Obsidian vault.4MIT
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
An MCP server that gives your AI access to the source code and docs of all public github repos
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/seynurmammad0v/obsidian-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server