obsidian-mcp
Provides tools for searching, listing, reading, creating, editing, and appending notes in an Obsidian vault by working directly on the markdown files.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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: mcp-obsidian
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
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Markdown-based note-taking with a hosted MCP server. Your notes serve you and your AI.
Google Keep-style notes app with an MCP server for AI agents to read/write notes.
Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.
MCP-native open-source Notion alternative: read & write pages, databases and kanban boards.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceMCP server that exposes an Obsidian vault (search, read, create, and update notes) via Streamable HTTP.-
- AlicenseNot gradedqualityDmaintenanceMCP server for interacting with Obsidian via the Local REST API, enabling file operations, search, and content editing in your vault.MIT
- AlicenseNot gradedqualityDmaintenanceMCP server to interact with Obsidian via the Local REST API community plugin, enabling file listing, search, content manipulation, and note management.MIT
- FlicenseCqualityDmaintenanceMCP server to query and modify an Obsidian vault or any folder of markdown files. It provides search, tag filtering, backlinks, and CRUD operations on notes, with path traversal protection.11-