ObsidianMCP
Provides tools to interact with an Obsidian vault, including reading, creating, updating, deleting notes, performing full-text and semantic search, executing commands, managing periodic notes, and more.
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., "@ObsidianMCPfind notes semantically related to 'deep learning'"
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.
ObsidianMCP
An MCP (Model Context Protocol) server that connects Claude to your Obsidian vault via the Obsidian Local REST API plugin.
Prerequisites
Obsidian with the Local REST API community plugin installed and enabled
An API key from the plugin settings (Settings → Local REST API → API Key)
Node.js 18+
Related MCP server: obsidian-mcp-server
Setup
npm install
npm run buildConfiguration
Set the following environment variables:
Variable | Required | Default | Description |
| Yes | — | API key from the Local REST API plugin |
| No |
| Host where Obsidian is running |
| No |
| Port for the REST API |
| No |
|
|
| No |
| Set to |
| No | — | Path to |
Usage with Claude Code
Add to your Claude Code MCP settings (~/.claude/settings.json):
{
"mcpServers": {
"obsidian": {
"command": "node",
"args": ["/path/to/ObsidianMCP/dist/index.js"],
"env": {
"OBSIDIAN_API_KEY": "your-api-key-here",
"OBSIDIAN_VERIFY_SSL": "false",
"OBSIDIAN_SMART_ENV_PATH": "/path/to/your/vault/.smart-env"
}
}
}
}Usage with Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"obsidian": {
"command": "node",
"args": ["/path/to/ObsidianMCP/dist/index.js"],
"env": {
"OBSIDIAN_API_KEY": "your-api-key-here",
"OBSIDIAN_VERIFY_SSL": "false",
"OBSIDIAN_SMART_ENV_PATH": "/path/to/your/vault/.smart-env"
}
}
}
}Available Tools
File Operations
list_vault_files — List files/folders in the vault
read_note — Read a note's content
create_note — Create or overwrite a note
append_to_note — Append content to a note
patch_note — Insert/replace content under a specific heading
delete_note — Delete a note
open_note — Open a note in the Obsidian UI
upload_attachment — Upload an image/PDF/audio/video file to the vault, then embed with
![[filename]]
Active Note
get_active_note — Read the currently open note
update_active_note — Overwrite the currently open note
append_to_active_note — Append content to the currently open note
patch_active_note — Insert/replace content under a heading in the active note
delete_active_note — Delete the currently open note
Search
search_vault — Full-text fuzzy search across the vault
search_dataview — Run a Dataview DQL query (requires Dataview plugin)
search_jsonlogic — Run a JsonLogic structured query
Periodic Notes
get_periodic_note — Read a daily/weekly/monthly/quarterly/yearly note
create_periodic_note — Create or overwrite a periodic note
append_to_periodic_note — Append to a periodic note
Commands
list_commands — List available Obsidian commands
execute_command — Execute an Obsidian command by ID
Semantic Search (Smart Connections)
semantic_search — AI-powered semantic search across the vault (finds conceptually related content)
find_related_notes — Find notes semantically related to a given note
smart_connections_status — Index stats: sources, blocks, model, dimensions
Requires the Smart Connections plugin and
OBSIDIAN_SMART_ENV_PATHenv var. The firstsemantic_searchcall downloads the embedding model (~30MB, cached afterwards).
Server
get_server_status — Check REST API status and version info
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-qualityCmaintenanceEnables LLMs to interact with Obsidian vaults via the Local REST API plugin for comprehensive note management, file operations, and vault navigation. It supports creating and editing notes, executing Obsidian commands, and performing advanced searches using Dataview queries.Last updated14251MIT
- Alicense-qualityDmaintenanceEnables Claude Desktop to interact with an Obsidian vault through the Local REST API, allowing file listing, reading, searching, creating, and updating markdown notes.Last updated1,938Apache 2.0
- Flicense-qualityCmaintenanceEnables Claude to create, read, update, and search notes in a local Obsidian vault, with automatic YAML frontmatter and folder management.Last updated1
- AlicenseAqualityAmaintenanceEnables Claude clients to interact with an Obsidian vault as a knowledge graph, supporting full-text search, backlink traversal, neighborhood exploration, and note creation/append.Last updated391,6042MIT
Related MCP Connectors
Search your Obsidian vault to quickly find notes by title or keyword, summarize related content, a…
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
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/rcgeorge/ObsidianMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server