Skip to main content
Glama
Obsidian MCP Server

Obsidian MCP Server

by Airgap-fleet

Obsidian MCP Server

Obsidian ボールト操作のための FastMCP サーバー — Model Context Protocol を介してノートの読み取り、書き込み、検索、管理を行います。

機能

  • read_note — オプションの frontmatter 解析付きでノートを読み取ります

  • write_note — YAML frontmatter をサポートしたノートの書き込み

  • list_notes — glob フィルタリングと再帰処理でノートを一覧表示

  • search_notes — ボールト全体のコンテンツを正規表現で検索

  • search_frontmatter — frontmatter のキー/値でノートを検索

  • get_daily_note — テンプレートを使用してデイリーノートを取得または作成

Related MCP server: Obsidian RAG MCP Server

インストール

pip install -e .

使用方法

obsidian-mcp

または MCP クライアントで設定します:

{
  "mcpServers": {
    "obsidian": {
      "command": "obsidian-mcp",
      "env": {
        "OBSIDIAN_MCP_VAULT_PATH": "C:/path/to/vault"
      }
    }
  }
}

設定

環境変数

デフォルト

説明

OBSIDIAN_MCP_VAULT_PATH

現在のディレクトリ

Obsidian ボールトのルートへのパス

OBSIDIAN_MCP_MAX_FILE_SIZE

10MB

操作の最大ファイルサイズ

OBSIDIAN_MCP_DEFAULT_ENCODING

utf-8

テキストエンコーディング

OBSIDIAN_MCP_INDEX_FRONTMATTER

true

YAML frontmatter を解析

OBSIDIAN_MCP_FOLLOW_SYMLINKS

false

シンボリックリンクを辿る

ツールリファレンス

read_note

{
  "path": "Projects/roadmap.md",
  "include_frontmatter": true
}

write_note

{
  "path": "Projects/new-idea.md",
  "content": "# New Idea\n\nDetails here...",
  "frontmatter": { "tags": ["idea", "draft"], "status": "wip" }
}

list_notes

{
  "path": "Projects",
  "glob_pattern": "**/*.md",
  "recursive": true
}
{
  "pattern": "MCP",
  "path": ".",
  "max_results": 50
}
{
  "key": "status",
  "value": "done",
  "operator": "eq"
}

get_daily_note

{
  "date": "2026-08-21",
  "folder": "Daily Notes",
  "create_if_missing": true
}

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables interaction between LLMs and Obsidian vaults through the Model Context Protocol, supporting secure file operations, content management, and advanced search capabilities.
    8,638 npm
    698
    Apache 2.0
  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables semantic search and content retrieval from local Obsidian vaults through the Model Context Protocol. It allows AI assistants to query notes by meaning, filter by tags, and access full note content for enhanced knowledge integration.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to interact with Obsidian vaults through vector search, vault indexing, and file monitoring. It provides a standardized interface for searching and managing markdown-based personal knowledge management data within the Model Context Protocol.
    8,638 npm
    1
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Enables AI to manage Obsidian notes, including creation, reading, updating, deletion, full-text search, listing with filtering, sorting, and metadata extraction via the Model Context Protocol.
    8
    22 npm
    MIT