obsidian-vault-mcp
MCP tool allowing Open WebUI or Claude Desktop to retrieve files from your vault
Install / Use
claude mcp add ebullient -- npx -y github:ebullient/obsidian-vault-mcpIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Our assessment of obsidian-vault-mcp
obsidian-vault-mcp scores 81/100 on our quality scale, 3489th of 4,589 Development & Engineering skills we index.
Its MCP Server is 7.5 KB long, well organised into 17 sections with 2 code examples: a thorough specification that gives an agent plenty to work with.
It has 42 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated 9 days ago, so obsidian-vault-mcp is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 92/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
obsidian-vault-mcp compared with similar skills
All 4 of these similar skills score higher than obsidian-vault-mcp; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| obsidian-vault-mcp (this skill)by ebullient | 81 | 42 | 9d ago | MCP Server |
| Agent-Reachby Panniantong | 100 | 93.0k | 22d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 74.6k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.3k | today | CLAUDE.md |
| ai-job-searchby MadsLorentzen | 100 | 45.2k | 2d ago | CLAUDE.md |
Frequently asked questions
- How do I install obsidian-vault-mcp?
- Run
claude mcp add ebullient -- npx -y github:ebullient/obsidian-vault-mcp. The install tabs above show the steps for each supported agent. - Which AI agents does obsidian-vault-mcp work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is obsidian-vault-mcp safe to use?
- It is MIT-licensed and scores 92/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is obsidian-vault-mcp still maintained?
- The repository was last updated 9 days ago, so obsidian-vault-mcp is actively maintained.
Skill content
View source on GitHubVault as MCP
This Obsidian plugin runs an MCP (Model Context Protocol) server directly inside Obsidian, letting external LLM tools access your vault. Supports HTTP transport natively (Open WebUI, remote LLMs). An optional bridge script provides a bridge from HTTP to stdio (Claude Desktop).
Important Notes
- Network Use: This plugin runs a local HTTP server on your machine to accept inbound MCP connections. It does not send your vault data to external LLM services by itself.
- Privacy: This plugin lets you control vault access through Obsidian APIs and path ACLs instead of giving external tools direct filesystem access.
- Desktop Only: This plugin requires a desktop environment and will not work on mobile devices.
Features
- HTTP-based MCP server: Runs a Fastify server implementing the MCP protocol
- Status Bar Indicator: Shows server status (stopped/running/error) with click-to-toggle functionality
- Configurable Settings: Adjust server port, auto-start behavior, logging, and path ACLs to control access to areas of your vault
- CORS Support: Enables access from remote machines via Tailscale or local network
- MCP Tools: Read, search, list, create, edit, rename, and delete notes; templates and periodic notes — see MCP Tools Reference
Installation
Community Plugins
- Open Settings → Community Plugins
- Click "Browse" and search for "Vault as MCP"
- Install and enable the plugin
Manual Installation
- Download the latest release from GitHub
- Extract the files to your vault's
.obsidian/plugins/vault-as-mcp/directory - Reload Obsidian
- Enable "Vault as MCP" in Settings → Community Plugins
Install with BRAT
Assuming you have the BRAT plugin installed and enabled:
- Open BRAT plugin settings
- Click 'Add beta plugin'
- Use
https://github.com/ebullient/obsidian-vault-mcpas the URL, select the latest version and install - Enable "Vault as MCP", either as part of installing via BRAT, or in Settings → Community Plugins
Usage
Starting the Server
The plugin provides three ways to control the server:
- Status Bar: Click the status indicator in the bottom-right to toggle the server on/off
- Commands: Use the command palette to:
- Start MCP server
- Stop MCP server
- Restart MCP server
- Auto-start: Enable in settings to automatically start the server when Obsidian loads
Configuration
Open Settings → Vault as MCP:
- Server Port: Port number for the MCP server (default: 8765)
- Bearer Token: Optional authentication token for secure access
- Auto-start Server: Automatically start when Obsidian loads
- Debug: Enable debug messages
Authentication
Bearer token authentication is optional but recommended for security, especially when accessing your vault over a network.
To enable authentication:
- Open Settings → Vault as MCP
- Click "Generate" to create a secure random token (or enter your own)
- Copy the token for use in client configuration
- Save settings and restart the server if it's running
To disable authentication:
- Open Settings → Vault as MCP
- Click "Clear" to remove the token
- Save settings and restart the server if it's running
Connecting from Open WebUI
In Open WebUI's MCP configuration, add a new server: http://localhost:8765/mcp
If Open WebUI is running on a remote machine (e.g., via Tailscale): http://<your-machine-ip>:8765/mcp
With authentication enabled, add the bearer token from your MCP server configuration in Open WebUI using the Authorization header:
Authorization: Bearer <your-token-here>
Connecting with Claude Code
claude mcp add -t http -s local Obsidian http://localhost:8765/mcp -H "Authorization: Bearer <token>"
Notes:
- Make sure your port matches what you've configured in plugin settings
- Enable authentication and use the bearer token from plugin settings
Claude Desktop
Claude Desktop uses stdio transport for MCP servers, so you'll need the
mcp-bridge.js script to bridge stdio to HTTP.
Requirements:
- Node.js 18+ (for native fetch support)
- "Vault as MCP" plugin enabled with the server running in Obsidian
Setup a stdio bridge (alternative to http):
-
Download
mcp-bridge.jsfrom the latest GitHub release and save it somewhere accessible (e.g.,~/.obsidian/scripts/mcp-bridge.js). Source is in thebridgebranch. -
Find your Claude Desktop config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/claude/claude_desktop_config.json
- macOS:
-
Add the MCP server configuration:
{ "mcpServers": { "obsidian-vault": { "command": "node", "args": ["/absolute/path/to/mcp-bridge.js"], "env": { "VAULT_MCP_URL": "http://localhost:8765/mcp" } } } }With authentication enabled, add the
VAULT_MCP_TOKENenvironment variable:{ "mcpServers": { "obsidian-vault": { "command": "node", "args": ["/absolute/path/to/mcp-bridge.js"], "env": { "VAULT_MCP_URL": "http://localhost:8765/mcp", "VAULT_MCP_TOKEN": "your-token-here" } } } } -
Important: Replace
/absolute/path/to/mcp-bridge.jswith the actual path where you saved the bridge script -
Restart Claude Desktop
Testing:
- The bridge logs to stderr, so you can see its activity in Claude Desktop's logs
- In Claude, you should see the vault's MCP tools available
- Try asking Claude to "read my note at path Daily Notes/today.md"
Troubleshooting:
- Verify the plugin server is running (check Obsidian status bar)
- Check the path to
mcp-bridge.jsis correct and absolute - Ensure Node.js 18+ is installed:
node --version - Look for bridge errors in Claude Desktop's logs
MCP Tools Reference
Tool names, parameters, and behavior are defined in
src/vaultasmcp-Tools.ts and served live via the
MCP tools/list endpoint — that's the source of truth for exact parameter
names, types, and descriptions. The summary below is for orientation only.
read_note/read_multiple_notes— Read note content by path;metadataOnlyreturns structure and size without contentsearch_notes— Find notes by folder, heading, tag, frontmatter, modification time, or text content; returns paths onlylist_notes— List notes and subfolders in a directorycreate_note— Create a note or binary file, optionally from a templateappend_to_note/update_note/patch_note— Add or edit note content;patch_notereplaces an exact string for surgical editsdelete_note/rename_note— Delete or move/rename a note (rename_noterewrites links that point to it)read_periodic_note— Get or create a daily/weekly/monthly/etc. notelist_templates— List available Templater templates
Development
See CONTRIBUTING.md for development setup, build commands, and architecture details. AI assistants should also review CLAUDE.md for working guidelines.
License
MIT
Author
Related Skills
Agent-Reach
93.0kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
74.6kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
47.3kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
ai-job-search
45.2kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
