obsidian-mcp
Obsidian MCP
AIアシスタント(Claude、Cursor など)に Obsidian ボールトへのアクセスを提供する MCP(Model Context Protocol)サーバーです。フォルダーの移動、ノートの読み取り、作成、編集、移動、名前変更、削除を、すべて AI チャットから行えます。
要件
Python 3.10+
uv(推奨)または pip
ローカルマシン上の Obsidian ボールト
Related MCP server: mcp-obsidian
インストール
# Clone the repo
git clone https://github.com/your-username/obsidian-mcp
cd obsidian-mcp
# Copy the env template and set your vault path
cp .env.example .env.env を編集し、ボールトのパスを設定します:
OBSIDIAN_VAULT_PATH="/Users/you/Documents/MyVault"Obsidian でボールトのパスを確認するには: 設定 → 情報 → ボールトのパス。
サーバーの実行
開発(MCP Inspector UI 付き)
uv run mcp dev server.pyこれにより、ブラウザで MCP Inspector が開き、すべてのツールを対話的にテストできます。
本番
uv run server.pyCursor への接続
これを .cursor/mcp.json(または Cursor のグローバル MCP 設定)に追加します:
{
"mcpServers": {
"obsidian": {
"command": "python",
"args": ["/absolute/path/to/obsidian-mcp/server.py"],
"env": {
"OBSIDIAN_VAULT_PATH": "/path/to/your/vault"
}
}
}
}/absolute/path/to/obsidian-mcp/server.py を、お使いのマシン上の server.py の実際のパスに置き換え、/path/to/your/vault をボールトのパスに置き換えてください(Obsidian で確認できます: 設定 → 情報 → ボールトのパス)。
Claude Desktop への接続
これを claude_desktop_config.json に追加します:
{
"mcpServers": {
"obsidian": {
"command": "uv",
"args": ["run", "/absolute/path/to/obsidian-mcp/server.py"],
"env": {
"OBSIDIAN_VAULT_PATH": "/path/to/your/vault"
}
}
}
}利用可能なツール
ツール | 説明 |
| ボールトフォルダー内のサブフォルダーとノートを一覧表示します。空のままにするとボールトのルートを対象にします。 |
| ノートの全内容を読み取ります(パスはボールトのルートからの相対パス)。 |
| 新しいノートを作成します。必要に応じて中間フォルダーも作成します。 |
| 既存のノートの全内容を置き換えます。 |
| ボールトからノートを削除します。 |
| ノートを同じフォルダー内で名前変更します。 |
| ノートを別のフォルダーに移動します。移動の一環として名前変更もできます。必要に応じて移動先フォルダーを作成します。 |
| フォルダーを削除します。ファイルを含むフォルダーを削除するには |
すべてのパスはボールトのルートからの相対パスです(例: "Projects/App/roadmap.md")。
ライセンス
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 gradedqualityDmaintenanceProvides an MCP server that allows AI assistants to interact with Obsidian vaults, enabling reading/writing notes, managing metadata, searching content, and working with daily notes.36MIT
- FlicenseAqualityDmaintenanceAn MCP server that enables AI assistants to interact with Obsidian vaults by providing tools for note management, full-text search, and link analysis. It supports comprehensive file operations, frontmatter manipulation, and daily note creation while ensuring security through path validation.191
- FlicenseNot gradedqualityDmaintenanceA local MCP server that wraps the Obsidian CLI to give AI assistants direct access to read, edit, and manage notes within an Obsidian vault. It enables advanced operations such as frontmatter property management, context-aware searching, and the execution of internal Obsidian commands.2
- AlicenseBqualityDmaintenanceAn MCP server that enables AI assistants to access and manage your local Obsidian vault through a standardized protocol.142,4721Apache 2.0
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
An MCP server that gives your AI access to the source code and docs of all public github repos
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/DavidBurckhardt/obsidian-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server