Skip to main content
Glama
Airgap-fleet

Obsidian MCP Server

by Airgap-fleet

Obsidian MCP Server

FastMCP server for Obsidian vault operations — read, write, search, and manage notes via Model Context Protocol.

Features

  • read_note — Read a note with optional frontmatter parsing

  • write_note — Write notes with YAML frontmatter support

  • list_notes — List notes with glob filtering and recursion

  • search_notes — Regex search across vault content

  • search_frontmatter — Query notes by frontmatter key/value

  • get_daily_note — Get or create daily notes with templates

Related MCP server: Obsidian RAG MCP Server

Installation

pip install -e .

Usage

obsidian-mcp

Or configure in your MCP client:

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

Configuration

Environment Variable

Default

Description

OBSIDIAN_MCP_VAULT_PATH

Current directory

Path to Obsidian vault root

OBSIDIAN_MCP_MAX_FILE_SIZE

10MB

Max file size for operations

OBSIDIAN_MCP_DEFAULT_ENCODING

utf-8

Text encoding

OBSIDIAN_MCP_INDEX_FRONTMATTER

true

Parse YAML frontmatter

OBSIDIAN_MCP_FOLLOW_SYMLINKS

false

Follow symlinks

Tool Reference

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
}

search_notes

{
  "pattern": "MCP",
  "path": ".",
  "max_results": 50
}

search_frontmatter

{
  "key": "status",
  "value": "done",
  "operator": "eq"
}

get_daily_note

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

Maintenance

ActivityMaintained
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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.
    5,784
    671
    Apache 2.0
  • F
    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.
  • 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.
    5,784
    1
    MIT
  • A
    license
    Not graded
    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.
    18
    MIT

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/Airgap-fleet/obsidian-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server