Skip to main content
Glama

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.py

Cursor への接続

これを .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"
      }
    }
  }
}

利用可能なツール

ツール

説明

list_folder(folder_path)

ボールトフォルダー内のサブフォルダーとノートを一覧表示します。空のままにするとボールトのルートを対象にします。

read_note(note_path)

ノートの全内容を読み取ります(パスはボールトのルートからの相対パス)。

create_note(note_path, content)

新しいノートを作成します。必要に応じて中間フォルダーも作成します。

update_note(note_path, content)

既存のノートの全内容を置き換えます。

delete_note(note_path)

ボールトからノートを削除します。

rename_note(note_path, new_name)

ノートを同じフォルダー内で名前変更します。

move_note(note_path, destination_path)

ノートを別のフォルダーに移動します。移動の一環として名前変更もできます。必要に応じて移動先フォルダーを作成します。

delete_folder(folder_path, recursive)

フォルダーを削除します。ファイルを含むフォルダーを削除するには recursive=True を使用します。

すべてのパスはボールトのルートからの相対パスです(例: "Projects/App/roadmap.md")。

ライセンス

MIT

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides 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.
    36
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    An 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.
    19
    1
  • F
    license
    Not graded
    quality
    D
    maintenance
    A 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

View all related MCP servers

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

View all MCP Connectors

Latest Blog Posts

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