Skip to main content
Glama

@kazuph/mcp-obsidian

by kazuph

MCP Obsidian

Model Context Protocol server for Obsidian vault integration. This allows Claude Desktop (or any MCP client) to search and read your Obsidian notes.

Quick Start (For Users)

Prerequisites

  • Node.js 18+ (install via brew install node)
  • Obsidian vault
  • Claude Desktop (install from https://claude.ai/desktop)

Configuration

  1. Open your Claude Desktop configuration file at: ~/Library/Application Support/Claude/claude_desktop_config.json

You can find this through the Claude Desktop menu:

  1. Open Claude Desktop
  2. Click Claude on the Mac menu bar
  3. Click "Settings"
  4. Click "Developer"
  5. Add the following to your configuration:
{ "tools": { "obsidian": { "command": "npx", "args": ["-y", "@kazuph/mcp-obsidian"], "env": { "OBSIDIAN_VAULT_PATH": "/path/to/your/obsidian/vault" } } } }

Note: Replace /path/to/your/obsidian/vault with your actual Obsidian vault path.

For Developers

Prerequisites

  • Node.js 18+ (install via brew install node)
  • Obsidian vault
  • Claude Desktop (install from https://claude.ai/desktop)
  • tsx (install via npm install -g tsx)

Installation

git clone https://github.com/kazuph/mcp-obsidian.git cd mcp-obsidian npm install npm run build

Configuration

  1. Make sure Claude Desktop is installed and running.
  2. Install tsx globally if you haven't:
npm install -g tsx # or pnpm add -g tsx
  1. Modify your Claude Desktop config located at: ~/Library/Application Support/Claude/claude_desktop_config.json

You can easily find this through the Claude Desktop menu:

  1. Open Claude Desktop
  2. Click Claude on the Mac menu bar
  3. Click "Settings"
  4. Click "Developer"

Add the following to your MCP client's configuration:

{ "tools": { "obsidian": { "args": ["tsx", "/path/to/mcp-obsidian/index.ts"], "env": { "OBSIDIAN_VAULT_PATH": "/path/to/your/obsidian/vault" } } } }

Available Tools

  • obsidian_read_notes: Read the contents of multiple notes. Each note's content is returned with its path as a reference.
  • obsidian_search_notes: Search for notes by name (case-insensitive, supports partial matches and regex).
  • obsidian_read_notes_dir: List the directory structure under a specified path.
  • obsidian_write_note: Create a new note at the specified path.
Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

Obsidian vault connector for Claude Desktop - enables reading and writing Markdown notes using Model Context Protocol (MCP)

  1. Quick Start (For Users)
    1. Prerequisites
    2. Configuration
  2. For Developers
    1. Prerequisites
  3. Installation
    1. Configuration
      1. Available Tools

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          This is a connector to allow Claude Desktop (or any MCP client) to read and search any directory containing Markdown notes (such as an Obsidian vault).
          Last updated -
          900
          993
          JavaScript
          AGPL 3.0
        • -
          security
          A
          license
          -
          quality
          A local MCP server that enables AI applications like Claude Desktop to securely access and work with Obsidian vaults, providing capabilities for reading notes, executing templates, and performing semantic searches.
          Last updated -
          229
          TypeScript
          MIT License
          • Apple
          • Linux
        • -
          security
          F
          license
          -
          quality
          Provides semantic search capability over Obsidian vaults and exposes recent notes as resources to Claude through the MCP protocol.
          Last updated -
          5
          Python
        • -
          security
          F
          license
          -
          quality
          Integration project for Model Context Protocol (MCP) servers with Claude Desktop App, enabling filesystem operations, development support, and file management through natural language.
          Last updated -
          TypeScript

        View all related MCP servers

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

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