Skip to main content
Glama
Obsidian MCP Server

Obsidian MCP Server

by Airgap-fleet

Obsidian MCP Server

FastMCP-Server für Obsidian-Vault-Operationen – Notizen lesen, schreiben, durchsuchen und verwalten über das Model Context Protocol.

Funktionen

  • read_note – Liest eine Notiz mit optionalem Frontmatter-Parsing

  • write_note – Schreibt Notizen mit YAML-Frontmatter-Unterstützung

  • list_notes – Listet Notizen mit Glob-Filterung und Rekursion auf

  • search_notes – Regex-Suche im gesamten Vault-Inhalt

  • search_frontmatter – Fragt Notizen nach Frontmatter-Schlüssel/Wert ab

  • get_daily_note – Ruft tägliche Notizen mit Vorlagen ab oder erstellt sie

Related MCP server: Obsidian RAG MCP Server

Installation

pip install -e .

Verwendung

obsidian-mcp

Oder konfigurieren Sie es in Ihrem MCP-Client:

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

Konfiguration

Umgebungsvariable

Standard

Beschreibung

OBSIDIAN_MCP_VAULT_PATH

Aktuelles Verzeichnis

Pfad zum Obsidian-Vault-Root

OBSIDIAN_MCP_MAX_FILE_SIZE

10MB

Maximale Dateigröße für Operationen

OBSIDIAN_MCP_DEFAULT_ENCODING

utf-8

Textkodierung

OBSIDIAN_MCP_INDEX_FRONTMATTER

true

YAML-Frontmatter parsen

OBSIDIAN_MCP_FOLLOW_SYMLINKS

false

Symlinks folgen

Tool-Referenz

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