@kazuph/mcp-obsidian
The @kazuph/mcp-obsidian server enables integration of an Obsidian vault with Claude Desktop via the Model Context Protocol (MCP). It allows users to:
Read multiple notes: Fetch contents of notes by their paths
Search notes: Find notes by name with case-insensitive and regex support
List directory structure: Retrieve vault organization under specified paths
Write new notes: Create and save new notes at specified locations
Allows access to Obsidian vault content for searching, reading, listing directory structure, and creating notes
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@kazuph/mcp-obsidiansearch for notes about meeting notes from last week"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Open your Claude Desktop configuration file at:
~/Library/Application Support/Claude/claude_desktop_config.json
You can find this through the Claude Desktop menu:
Open Claude Desktop
Click Claude on the Mac menu bar
Click "Settings"
Click "Developer"
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.
Related MCP server: MCP Tools for Obsidian
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 buildConfiguration
Make sure Claude Desktop is installed and running.
Install tsx globally if you haven't:
npm install -g tsx
# or
pnpm add -g tsxModify your Claude Desktop config located at:
~/Library/Application Support/Claude/claude_desktop_config.json
You can easily find this through the Claude Desktop menu:
Open Claude Desktop
Click Claude on the Mac menu bar
Click "Settings"
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.
Related MCP Connectors
- TaprootOAuthcom.taproothq
Persistent memory layer for AI tools. Save and recall notes across Claude and other MCP clients.
Zotero MCP server for Claude and ChatGPT: search, citations, safe writes, PDF passages and pages.
Read and write your Fresh Jots notes from Claude, Cursor, and any MCP client.
- mcpOAuthai.butlerbrain
Persistent memory for AI assistants. Save once; recall from Claude, ChatGPT, or any MCP client.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceThis 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).797 npm1,352AGPL 3.0
- AlicenseNot gradedqualityFmaintenanceA 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.833MIT
- FlicenseNot gradedqualityDmaintenanceProvides semantic search capability over Obsidian vaults and exposes recent notes as resources to Claude through the MCP protocol.9-
- FlicenseDqualityDmaintenanceA server built on mcp-framework that enables integration with Claude Desktop through the Model Context Protocol.11-