PO

pmmvr/obsidian-api-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

21 stars 3 forks 품질 65 트렌드 0MIT

MCP 서버는 Obsidian vault를 통해 자연 지식 발견 및 분석 수행

개요

MCP (Model Context Protocol) 서버는 로컬 REST API 플러그인을 통해 Obsidian vault를 통해 정교한 지식 발견 및 분석을 수행 할 수 있습니다. 이 서버는 Obsidian vault를 AI 에이전트에 대한 강력한 지식 기반으로 변환하여 복잡한 다중 단계 워크플로우를 다음과 같이 구현합니다. 서버의 고급 필터링, regex 지원 및 전체 콘텐츠 검색 기능은 에이전트가 수동으로 시간을 소요 할 수 있도록 nuanced 지식 작업을 수행 할 수 있습니다. 1. Obsidian 로컬 REST API 플러그인을 Obsidian vault 2. 설치 구성 및 Obsidian 설정에서 플러그인을 활성화 3. API URL을 참고 (기본: https://localhost:27124)] 및 API 키를 설정하면 MCP 클라이언트 구성에 추가 (예: Claude Desktop): Obsidian API에 대한 환경 변수 설정: : OBSIDIAN API KEY를 직접 스크립트로 하드 코딩하거나 버전 컨트롤에 투입하지 마십시오. .env 파일을 사용 고려 (에 포함되는 .

개요(AI 번역)

MCP (Model Context Protocol) 서버는 로컬 REST API 플러그인을 통해 Obsidian vault를 통해 정교한 지식 발견 및 분석을 수행 할 수 있습니다.

왜 이 매트

이 서버는 Obsidian vault를 AI 에이전트에 대한 강력한 지식 기반으로 변환하여 복잡한 다중 단계 워크플로우를 다음과 같이 구현합니다.

  • “4 월 1 일 이후에 생성 된 제목의 ‘roadmap’ 또는 'timeline’을 포함하는 ‘Projects/Planning’ 폴더에서 메모를 검색 한 다음 블록 또는 의존성에 대해 분석하고 소스 노트에 대한 참조와 통합 된 위험 평가”

  • “모든 노트 태그 'research’또는 ‘analysis’ 마지막 달에서, 불완전한 섹션에 대한 콘텐츠를 검사하거나, 다음 내 'Team/Expertise’제목과 교차 환경은 동료가 각 갭을 해결할 수 있도록 제안한다”

  • ** “Leadership/Quarterly"에서 회의 노트의 전체 내용을 ‘budget’ 또는 ‘headcount’ 포함, 내 부서에 할당 된 작업 항목에 대한 분석, 소스 참고 참조와 동기화 된 타임 라인”**

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Obsidian MCP Server

An MCP (Model Context Protocol) server that enables AI agents to perform sophisticated knowledge discovery and analysis across your Obsidian vault through the Local REST API plugin.

Why This Matters

This server transforms your Obsidian vault into a powerful knowledge base for AI agents, enabling complex multi-step workflows like:

  • “Retrieve notes from my ‘Projects/Planning’ folder containing ‘roadmap’ or ‘timeline’ in titles, created after April 1st, then analyze them for any blockers or dependencies and present a consolidated risk assessment with references to the source notes”

  • “Find all notes tagged with ‘research’ or ‘analysis’ from the last month, scan their content for incomplete sections or open questions, then cross-reference with my ‘Team/Expertise’ notes to suggest which colleagues could help address each gap”

  • “Get the complete content of meeting notes from ‘Leadership/Quarterly’ containing ‘budget’ or ‘headcount’, analyze them for action items assigned to my department, and create a chronological timeline with source note references”

The server’s advanced filtering, regex support, and full content retrieval capabilities allow agents to perform nuanced knowledge work that would take hours manually.

Prerequisites

  1. Install the Obsidian Local REST API plugin in your Obsidian vault
  2. Configure and enable the plugin in Obsidian settings
  3. Note the API URL (default: https://localhost:27124) and API key if you’ve set one

Installation

# Install from PyPI
pip install obsidian-api-mcp-server

# Or with uv
uv pip install obsidian-api-mcp-server

Add to MCP Configuration

Add to your MCP client configuration (e.g., Claude Desktop):

{
  "mcpServers": {
    "obsidian-api-mcp-server": {
      "command": "uvx",
      "args": [
        "--from",
        "obsidian-api-mcp-server>=1.0.1",
        "obsidian-api-mcp"
      ],
      "env": {
        "OBSIDIAN_API_URL": "https://localhost:27124",
        "OBSIDIAN_API_KEY": "your-api-key-here"
      }
    }
  }
}

From Source (Development)

# Clone the repository
git clone https://github.com/pmmvr/obsidian-api-mcp-server
cd obsidian-api-mcp-server

# Install with uv
uv pip install -e .

# Or with pip
pip install -e .

Configuration

Set environment variables for the Obsidian API:

# Required: Obsidian API URL (HTTPS by default)
export OBSIDIAN_API_URL="https://localhost:27124"  # Default

# Optional: API key if you've configured authentication
export OBSIDIAN_API_KEY="your-api-key-here"
GitHub에서 전체 README 보기

설치

uvx --from obsidian-api-mcp-server>=1.0.1 obsidian-api-mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "obsidian-api-mcp-server": { "command": "uvx", "args": [ "--from", "obsidian-api-mcp-server>=1.0.1", "obsidian-api-mcp" ], "env": { "OBSIDIAN_API_URL": "https://localhost:27124", "OBSIDIAN_API_KEY": "your-api-key-here" } } } }