Obsidian MCP(モデルコンテキストプロトコル)
Obsidian MCPは、モデルコンテキストプロトコル(Model Context Protocol)を用いてObsidian Vaultとやり取りできるツールです。これにより、AIアシスタントは標準化されたインターフェースを介してObsidian Vault内のメモの読み取り、書き込み、操作が可能になります。
前提条件
Node.js 18以上
ローカル REST API プラグインがインストールおよび構成された Obsidian
ローカルREST APIプラグインから生成されたAPIキー
MCP サーバーの設定 (例: Claude デスクトップ アプリ)
このリポジトリをクローンする
依存関係をインストールします:
プロジェクトをビルドします。
この MCP サーバーを使用するように Claude デスクトップ アプリを構成します。
発達
.env
を作成し、上記のように「apiKey」、「port」、「host」を設定します。
利用可能なツール
以下のツールが実装されています。
readNote - 特定のメモの内容を読む
readActiveNote - 現在アクティブなノートの内容を読み取る
listNotes - Vault 全体または指定されたフォルダ内のファイルとフォルダを再帰的に一覧表示します
patchNote - 見出し、ブロック参照、または前置フィールドを基準にして既存のノートにコンテンツを挿入します。
searchWithJsonLogic - JsonLogic形式のクエリを使用してObsidianノートを検索します
local-only server
The server can only run on the client's local machine because it depends on local resources.
AI アシスタントが標準化されたインターフェースを通じて Obsidian Vault 内のメモを読み取り、書き込み、操作できるようにするモデル コンテキスト プロトコル サーバー。
Related MCP Servers
- AsecurityAlicenseAqualityThis project implements a Model Context Protocol (MCP) server for connecting AI models with Obsidian knowledge bases. Through this server, AI models can directly access and manipulate Obsidian notes, including reading, creating, updating, and deleting notes, as well as managing folder structures.Last updated -1139204MIT License
- -securityAlicense-qualityA server implementation that allows AI assistants to read, create, and manipulate notes in Obsidian vaults through the Model Context Protocol.Last updated -6395MIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that enables AI assistants like Claude to interact with your Obsidian vault through the Local REST API plugin, allowing reading, creating, searching, and managing notes.Last updated -1918MIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that connects AI assistants to GitHub repositories containing Obsidian vaults, enabling them to read, search, and analyze notes and documentation stored on GitHub.Last updated -415MIT License