obsidian-mcp
Provides tools for searching, listing, reading, creating, editing, and appending notes in an Obsidian vault by working directly on the markdown files.
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-mcplist all notes in the 'projects' folder"
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-mcp
A small Model Context Protocol server that gives an MCP client (such as Claude Code or Claude Desktop) read and write access to an Obsidian vault by working directly on the markdown files.
No Obsidian plugins required and the app does not need to be running — the server
reads and writes the .md files on disk.
Features
Works directly on the vault's files (no Local REST API plugin needed).
Path-traversal safe: every path is resolved inside the vault;
../escapes are rejected.Ignores
.obsidian,.git,.trashandnode_modules.
Tools
Tool | Description |
| Full-text search across all notes, with line snippets |
| List notes in the whole vault or a subfolder |
| Read a note by its vault-relative path |
| Create a new note (creates folders; won't overwrite unless asked) |
| Replace an exact string in a note ( |
| Append text to the end of a note |
Related MCP server: brain-mcp
Requirements
Node.js >= 18
Installation
git clone https://github.com/C0d1g0v3c/obsidian-mcp.git
cd obsidian-mcp
npm installConfiguration
The server requires the OBSIDIAN_VAULT environment variable: the absolute path
to your vault. It exits with an error if it is not set.
Usage with Claude Code
claude mcp add obsidian --scope user \
-e OBSIDIAN_VAULT="/absolute/path/to/your/vault" \
-- node /absolute/path/to/obsidian-mcp/index.jsUsage with Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"obsidian": {
"command": "node",
"args": ["/absolute/path/to/obsidian-mcp/index.js"],
"env": {
"OBSIDIAN_VAULT": "/absolute/path/to/your/vault"
}
}
}
}Running directly
OBSIDIAN_VAULT="/absolute/path/to/your/vault" node index.jsThe server communicates over stdio and is meant to be launched by an MCP client.
License
ISC
This server cannot be installed
Maintenance
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/C0d1g0v3c/obsidian-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server