Skip to main content
Glama
mcp-obsidian

mcp-obsidian

by NeveuGregor

mcp-obsidian

🇬🇧 English · 🇫🇷 Français

A filesystem-based MCP server for an Obsidian vault. It reads and writes your vault's Markdown files directly on disk — no Obsidian plugin, no Local REST API, no running Obsidian instance required. Point it at a folder and your LLM can browse and edit notes.

Why filesystem-based

Most Obsidian MCP servers talk to the Local REST API community plugin, which means Obsidian must be running with the plugin enabled. mcp-obsidian skips all that and operates on the vault directory itself — works headless, in CI, or on a synced folder.

Related MCP server: obsidian-mcp

Tools

Tool

Description

obsidian_read

Read a note (with optional truncation)

obsidian_search

Keyword search across notes, with truncated context per hit; optional subfolder scope

obsidian_write

Create or overwrite a note (creates parent folders)

obsidian_append

Append content to a note

obsidian_patch_frontmatter

Patch a note's YAML frontmatter

obsidian_list

List .md files and subfolders of a directory

All paths are relative to the vault root (e.g. wiki/cyber/sql-injection.md).

Scope

This server is transport only. It has no notion of a "claim", no conflict detection and no merge policy — obsidian_write is a plain overwrite, last write wins. Contradiction handling, note conventions and the human-in-the-loop review step live one layer up, in claude-obsidian-system.

Install

git clone https://github.com/NeveuGregor/mcp-obsidian.git
cd mcp-obsidian
npm install
npm run build      # compiles TypeScript to dist/

Configuration

The vault path is provided via the OBSIDIAN_VAULT environment variable (absolute path). The server exits with an error if it is not set.

Register it with Claude (CLI or Desktop), e.g. in your MCP config:

{
  "mcpServers": {
    "obsidian": {
      "type": "stdio",
      "command": "node",
      "args": ["/absolute/path/to/mcp-obsidian/dist/index.js"],
      "env": {
        "OBSIDIAN_VAULT": "/absolute/path/to/your/vault"
      }
    }
  }
}

Requirements

  • Node.js 18+

  • An Obsidian vault (just a folder of Markdown files)

This server is the MCP layer of a broader knowledge architecture — claude-obsidian-system — which documents how the vault itself is designed (LLM-Wiki + Zettelkasten + Evergreen) and wired to Claude Code skills and memory.

License

CeCILL-B (BSD-compatible, French law) — © 2026 Neveu Grégor.

Available Tools

6 tools
obsidian_appendA

Ajoute du contenu à la fin d'une note existante

Inputs: path (required), content (required).

obsidian_listB

Liste les fichiers .md et sous-dossiers d'un répertoire du vault

Inputs: dir, recursive.

obsidian_patch_frontmatterA

Modifie des champs du frontmatter YAML sans réécrire le corps de la note

Inputs: path (required), fields (required).

obsidian_readB

Lit une note du vault Obsidian avec troncation optionnelle

Inputs: path (required), max_chars.

obsidian_writeA

Écrit ou écrase une note du vault. Crée les dossiers parents si nécessaire

Inputs: path (required), content (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool targets a distinct operation: append, list, patch frontmatter, read, search, write. There is no ambiguity between them, as descriptions clearly differentiate appending from overwriting and frontmatter-specific editing.

    Naming Consistency5/5

    All tool names follow a consistent `obsidian_<verb>` pattern, with one compound verb (`patch_frontmatter`). The naming is predictable and uniform, aiding agent selection.

    Tool Count5/5

    With 6 tools, the server is well-scoped for an Obsidian vault interface. The count is neither too small nor too large, covering essential operations without redundancy.

    Completeness4/5

    The toolset covers core CRUD operations (read, write, append, list, search) and frontmatter editing. A minor gap is the lack of a delete tool, but the set is largely complete for typical note management.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      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
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server that provides read and write access to an Obsidian vault by interacting directly with markdown files on disk. Supports searching, listing, reading, creating, editing, and appending notes without requiring any Obsidian plugins.
      3,512 npm
      ISC
    • A
      license
      A
      quality
      D
      maintenance
      A filesystem-based MCP server for Obsidian vaults that works without Obsidian running, enabling direct file operations via tools like list, read, write, append, and patch notes.
      21
      20 npm
      MIT