Obsidian Claude Connector
Obsidian Claude Connector | Unofficial Extension for Connecting Claude to local Obsidian Vault
Ask AI about Obsidian Claude Connector
Powered by Claude Β· Grounded in docs
I know everything about Obsidian Claude Connector. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
Obsidian Claude Connector
Connect your Obsidian vault to Claude Desktop
via Model Context Protocol (MCP) as a single-click installable
MCP Bundle (.mcpb).
Claude can read, search, create, and update notes directly inside your vault during a conversation β without you having to copy-paste anything, and without Obsidian needing to be running.
Features
-
Single-click install β packaged as an MCPB bundle so Claude Desktop can install it without any manual configuration.
-
No extra server required β runs as a local stdio process managed by Claude Desktop.
-
Direct filesystem access β reads and writes Markdown files directly from your vault directory. No Obsidian installation or plugin API needed at runtime.
-
Vault tools exposed to Claude:
Tool Description list_notesList notes, optionally filtered by folder read_noteRead the full content of a note search_notesSearch notes by title or content create_noteCreate a new note update_noteOverwrite, append to, or prepend to a note -
Vault resources β every Markdown file is also exposed as an MCP resource with URI
obsidian://note/<path>. -
Path-traversal protection β all file operations are validated to stay within the vault directory.
Install
Option A β Install a release build
- Download the latest
.mcpbfile from the Releases page. - Open the
.mcpbfile with Claude Desktop for macOS or Windows. - Claude Desktop will show an installation dialog. Select your Obsidian vault directory in the Vault directory field.
- Click Install β done.
Option B β Build and install from source
git clone https://github.com/highlanderkev/obsidian-claude-connector.git
cd obsidian-claude-connector
npm install
npm run pack # builds server/index.js then runs mcpb pack
Open the resulting .mcpb file with Claude Desktop.
Configuration
The bundle exposes one user-configurable setting that Claude Desktop will prompt for during installation:
| Setting | Description | Required |
|---|---|---|
| Vault directory | Root folder of your Obsidian vault. All note paths are relative to this directory. | Yes |
Security notes
- The server process runs locally on your machine, started by Claude Desktop.
- All file operations are sandboxed to the configured vault directory. Paths containing
..segments that would escape the vault are rejected with an error. - No vault data is sent anywhere by the server itself. Data flows only between the server process and the Claude Desktop client over stdio.
Development
npm install
npm run dev # watch mode (rebuilds on source changes)
npm run build # production build (outputs server/index.js)
npm run pack # build then pack into a .mcpb bundle
npm run lint # ESLint
npm run inspector # launch MCP Inspector to test the server interactively
Test with MCP Inspector
Use the MCP Inspector to test tools and resources interactively.
-
Build the project and run the server directly:
npm run build VAULT_PATH=/path/to/your/vault node server/index.js -
In another terminal, launch MCP Inspector:
npm run inspector -
Connect to the running server using the stdio transport, pointing at
node server/index.jswithVAULT_PATHset.
Project structure
src/
server/
index.ts # Entry point β creates MCP server, connects stdio transport
mcp/
mcp-server-factory.ts # Registers MCP tools and resources
tools.ts # Tool implementations (list, read, search, create, update)
server/
index.js # Built output (gitignored; produced by npm run build)
manifest.json # MCPB bundle manifest (manifest_version: "0.3")
esbuild.config.mjs # Build configuration
