Skip to main content
Glama
DusanMilic

obsidian-mcp-server

by DusanMilic

Obsidian MCP Server

An MCP (Model Context Protocol) server that exposes an Obsidian vault as a structured interface for AI models. Connect Claude Desktop or Claude Code to your vault and interact with your notes in natural language.

What it does

Instead of manually navigating your vault, you can ask Claude:

  • "Read my weekly plan for W31"

  • "Search my notes for anything about HireRight"

  • "What are my 5 most recently modified notes?"

  • "What's the structure of my vault?"

  • "Create today's daily note"

Claude calls the appropriate tool, reads or writes the file, and responds naturally.

Related MCP server: brain-mcp

Tools

Tool

Description

read_note(path)

Read a note by path relative to vault root

list_recent(n)

List the N most recently modified notes

search_vault(query, tag, folder)

Full-text search with optional tag and folder filters

get_vault_structure()

Get the folder hierarchy and note counts

create_note(path, content)

Create a new note (refuses to overwrite existing)

Architecture

Claude Desktop / Claude Code
        │
        │  stdio (local)
        ▼
  MCP Server (server.py)
        │
        ▼
  Obsidian Vault (filesystem)

The server runs as a local process started by the MCP host (Claude Desktop or Claude Code). Communication happens over stdio — no network exposure, no auth required for local use.

Stack

  • Python 3.10+

  • mcp 2.0.0 — official MCP Python SDK

  • uv — package manager

Setup

1. Clone and install dependencies

git clone https://github.com/DusanMilic/obsidian-mcp-server.git
cd obsidian-mcp-server
uv sync

2. Set your vault path

Edit server.py and update VAULT_PATH:

VAULT_PATH = Path("/your/path/to/obsidian/vault")

3. Connect to Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "obsidian": {
      "command": "/path/to/uv",
      "args": [
        "--directory", "/path/to/obsidian-mcp-server",
        "run", "server.py"
      ]
    }
  }
}

Restart Claude Desktop. The server starts automatically.

4. Connect to Claude Code

claude mcp add --scope user obsidian -- /path/to/uv --directory /path/to/obsidian-mcp-server run server.py

Security

  • All paths are validated to be within the vault root — no path traversal possible

  • create_note refuses to overwrite existing notes

  • No write tool overwrites existing content — create_note is append-safe by design

  • Local stdio transport only — no network exposure in default configuration

Project context

Built as Phase 1 of an AI engineering learning path — the goal is to move from AI consumer to AI builder. This server is used daily to give Claude structured access to a personal Obsidian vault containing journaling, planning, and project notes.

Phase 2 will extend this into a personal finance agent. Phase 4 targets a real estate agentic analyzer over Serbian property data.

F
license - not found
-
quality - not tested
B
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
    -
    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.
    Last updated
    36
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    An MCP server for managing Obsidian-style note vaults, providing tools for full-text search, note creation, and backlink tracking. It enables users to navigate, structure, and update their personal knowledge base through natural language.
    Last updated
    9
    MIT
  • F
    license
    -
    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.
    Last updated
    2
  • A
    license
    -
    quality
    C
    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.
    Last updated
    3,485
    ISC

View all related MCP servers

Related MCP Connectors

  • Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.

  • Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.

  • Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only

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/DusanMilic/obsidian-mcp-server'

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