obsidian-local-mcp
Provides direct access to local Obsidian vaults via the Obsidian CLI, allowing for comprehensive note management including reading, creating, and editing notes, managing frontmatter properties, performing context-aware searches, and executing internal Obsidian commands.
Click on "Install 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., "@obsidian-local-mcpFind my notes about the MCP protocol and summarize the main points"
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.
obsidian-local-mcp
A local MCP server that wraps the Obsidian CLI, giving AI assistants like Claude direct access to your Obsidian vault. Allows editing in the middle of docs.
Requirements
Obsidian desktop app installed (v1.8+ with CLI support)
Node.js 18+
macOS, Windows, or Linux
Setup
git clone https://github.com/MatthewSuazo/obsidian-local-mcp.git
cd obsidian-local-mcp
npm installClaude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"obsidian-cli": {
"command": "node",
"args": ["/path/to/obsidian-local-mcp/server.js"],
"env": {
"OBSIDIAN_VAULT": "Your Vault Name"
}
}
}
}Set OBSIDIAN_VAULT to the name of the vault you want to target. Set OBSIDIAN_CLI_PATH to override the Obsidian binary location if it's not in the default path for your OS.
Tools
Tool | Description |
| Read note contents by name or path |
| Append content to a note |
| Prepend content to a note |
| Create a new note (with optional template) |
| Move or rename a file |
| Delete a file (trash or permanent) |
| Search vault text with line context |
| Set a frontmatter property |
| Read a frontmatter property |
| Read today's daily note |
| Append to today's daily note |
| Find and replace text in a note (exact, regex, replace-all) |
| Context-aware search returning surrounding content |
| List files in the vault or a specific folder |
| List folders in the vault |
| Open a file in the Obsidian UI |
| Execute JavaScript inside the Obsidian runtime |
| Execute any registered Obsidian command by ID |
| Insert content after a matched string in a note |
License
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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/MatthewSuazo/obsidian-local-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server