mcp-obsidian
Provides tools for searching, reading, creating, updating, appending, deleting notes, listing directories, opening notes, and executing commands in an Obsidian vault via the Local REST API plugin.
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., "@mcp-obsidiansearch my notes for MCP"
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.
mcp-obsidian
MCP server that connects Claude Desktop to Obsidian via the Local REST API plugin.
Overview
mcp-obsidian is a Node.js/TypeScript MCP server that exposes your Obsidian vault to Claude Desktop over stdio.
It talks to the Obsidian Local REST API plugin and provides tools for searching, reading, writing, and managing notes, plus running Obsidian commands.
Related MCP server: obsidian-mcp
Features (Available MCP Tools)
Based on src/index.ts, this server currently exposes:
search_notes- search notes using Obsidian query syntaxget_note- read full markdown content by vault-relative pathcreate_note- create a new note (overwriteoptional)update_note- replace full content of an existing noteappend_note- append or prepend content to a notedelete_note- delete a notelist_directory- list files/folders under a vault directoryopen_note- open a note in the Obsidian applist_commands- list available Obsidian command IDsexecute_command- execute an Obsidian command by IDget_active_note- get content of the active note in Obsidian
Requirements
Node.js 18+ (Node 20+ recommended)
Obsidian desktop app
Obsidian plugin: Local REST API installed and enabled
API key from the Local REST API plugin settings
Environment Variables
Required:
OBSIDIAN_BASE_URL(example:https://127.0.0.1:27124)OBSIDIAN_API_KEY(token/license key from plugin settings)
Optional (only if you use self-signed TLS cert from local plugin):
NODE_TLS_REJECT_UNAUTHORIZED=0
Security note: disable TLS verification only for local trusted use.
Installation & Build
npm install
npm run buildBuild output will be generated in dist/.
Claude Desktop Configuration
Use claude_desktop_config.example.json as reference.
Example:
{
"mcpServers": {
"obsidian": {
"command": "node",
"args": ["/absolute/path/to/mcp_obsidian/dist/index.js"],
"env": {
"OBSIDIAN_BASE_URL": "https://127.0.0.1:27124",
"OBSIDIAN_API_KEY": "YOUR_LOCAL_REST_API_KEY_HERE",
"NODE_TLS_REJECT_UNAUTHORIZED": "0"
}
}
}
}Adjust args to the absolute path on your machine.
Usage Examples
After Claude Desktop loads this MCP server, you can call tools like:
Search notes:
tool:
search_notesargs:
{"query":"tag:#project","context_length":120}
Read note:
tool:
get_noteargs:
{"path":"Projects/Plan.md"}
Create note:
tool:
create_noteargs:
{"path":"Journal/2026-08-17.md","content":"# Daily Log\\n- ...","overwrite":false}
Append note:
tool:
append_noteargs:
{"path":"Inbox.md","content":"\\n- New item","mode":"append"}
Run command:
tool:
execute_commandargs:
{"command_id":"app:go-home"}
Project Structure
.
├── src/
│ ├── index.ts # MCP server entrypoint, tool schema + handlers
│ └── obsidianApi.ts # Obsidian Local REST API client wrapper
├── claude_desktop_config.example.json
├── package.json
└── tsconfig.jsonObsidian Local REST API Plugin Note
This project depends on the Local REST API plugin endpoints (/vault, /search/simple, /commands, /active, /open).
If the plugin is not installed/enabled or API key/base URL is wrong, MCP tools will fail.
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.
Related MCP Servers
- Alicense-qualityFmaintenanceA local MCP server that enables AI applications like Claude Desktop to securely access and work with Obsidian vaults, providing capabilities for reading notes, executing templates, and performing semantic searches.831MIT
- Alicense-qualityDmaintenanceBidirectional MCP server that connects Claude with an Obsidian vault, enabling note management, full-text search, graph traversal, and daily notes operations.3,860MIT
- Alicense-qualityCmaintenanceMCP server for interacting with Obsidian via the Local REST API, enabling file operations, search, and content editing in your vault.MIT
- Alicense-qualityDmaintenanceMCP server to interact with Obsidian via the Local REST API community plugin, enabling file listing, search, content manipulation, and note management.MIT
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Search, read, and write your Apple Notes from ChatGPT/Claude via a local Mac agent + MCP relay.
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/chzkyy/mcp_obsidian'
If you have feedback or need assistance with the MCP directory API, please join our Discord server