live-mcp-for-obsidian
Connect an MCP client to a live Obsidian app to read/write notes, control the UI, manage plugins, run JS, capture screenshots/recordings, and inspect/debug the app.
Read, create, append, prepend, delete, move, and search files; manage properties, tags, links, backlinks, outlines, tasks, and daily notes.
Manage workspace: list/open tabs, show layout, open files.
Manage plugins: list/inspect/enable/disable/reload; list/execute Obsidian commands.
Manage themes and CSS snippets.
Developer tools: run JavaScript (
obsidian_eval), query DOM, inspect CSS, capture console/errors, run CDP commands, attach debugger, toggle mobile emulation/DevTools.Visual: take screenshots (full window or element); record screen to MP4/WebM/GIF (per README).
Get status/vaults/briefing for session context.
Remote via SSH; local stdio, no ports.
Provides live automation and control of an Obsidian instance, including reading/writing notes, managing plugins, executing JavaScript, taking screenshots, and interacting with the UI.
Click on "Deploy 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., "@live-mcp-for-obsidian Read my daily note and summarize any tasks"
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.
live-mcp-for-obsidian
Connect Claude (or any MCP client) to your running Obsidian app.
Disclaimer: This project is not created by, affiliated with, or endorsed by Obsidian or Dynalist Inc. "Obsidian" is a trademark of Dynalist Inc. This project uses Obsidian's native CLI interface for interoperability.
Most Obsidian MCP servers treat your vault as a folder of markdown files. This one talks to the app itself. It can read and write notes, and it can also manage plugins, run commands, click through the UI, take screenshots, record video, inspect the DOM and CSS, and run JavaScript inside Obsidian.
46 tools. No Obsidian plugin to install.
Demo
https://github.com/user-attachments/assets/297fb0d5-f089-45b5-8038-5de2cbc0f4b7
Related MCP server: Obsidian MCP Tool Server
How is this different?
File-based MCP servers | live-mcp-for-obsidian | |
Read and write notes | Yes | Yes |
Find notes | Yes | Yes |
Manage plugins | No | Enable, disable, reload, inspect |
Click UI elements | No | Any button, menu, or control |
Screenshots | No | Whole window or a single element |
Screen recording | No | MP4, WebM, or GIF |
Run JavaScript | No | Full access to Obsidian's |
Inspect DOM and CSS | No | Like Chrome DevTools |
Mobile emulation | No | Test mobile layouts on desktop |
Console and error capture | No | Yes |
Needs an Obsidian plugin | Usually | No, it uses Obsidian's built-in CLI |
Requirements
Obsidian 1.12.4 or later, open and running
Node.js 18 or later
macOS works out of the box. On Linux or Windows, point
--obsidian-pathat your Obsidian binary.ffmpeg, only for the three recording tools (
brew install ffmpeg)
Install
Claude Code
claude mcp add obsidian-live -- npx live-mcp-for-obsidianTo pin it to one vault:
claude mcp add obsidian-live -- npx live-mcp-for-obsidian --vault "My Vault"This makes the server available in every Claude Code session. To limit it to one project, add --scope project, which writes to .mcp.json in the current folder.
Claude Desktop
Add this to claude_desktop_config.json:
{
"mcpServers": {
"obsidian-live": {
"command": "npx",
"args": ["live-mcp-for-obsidian"]
}
}
}To pin it to one vault, change args to ["live-mcp-for-obsidian", "--vault", "My Vault"].
From source
git clone https://github.com/gapmiss/live-mcp-for-obsidian.git
cd live-mcp-for-obsidian
npm install
npm run build
claude mcp add obsidian-live -- node ./build/cli.jsOptions
Flag | Default | What it does |
|
| Where the Obsidian binary is |
| Obsidian's active vault | Which vault to work with |
What you can ask for
"Give me a briefing" "Append 'Called the dentist' to today's daily note" "What are my open tasks in Projects/?" "Reload my-plugin and show me any console errors" "Screenshot the left sidebar" "What CSS is applied to
.workspace-leaf?" "Start recording, open the graph view, then stop" "Toggle mobile emulation"
The user guide walks through each area, with tips on screenshots, recording, multiple vaults, token usage, and troubleshooting.
Tools
Area | Tools |
Status |
|
Workspace |
|
Files |
|
Notes and metadata |
|
Plugins |
|
Themes |
|
Developer |
|
Briefing |
|
Recording |
|
Every tool's parameters are listed in the tool reference.
How it works
Obsidian ships with a command-line interface that talks to the running app. This server wraps it. Each tool call becomes one or more CLI calls:
obsidian_read { file: "My Note" }
→ obsidian read file="My Note"
obsidian_plugin_reload { id: "my-plugin" }
→ obsidian plugin:reload id=my-pluginScreenshots and recordings go through the Chrome DevTools Protocol, which the CLI also exposes.
The server communicates with your MCP client over stdio. It doesn't open any ports.
Remote use
Because everything runs through a local CLI, SSH is all you need for remote access. SSH into the machine running Obsidian, start Claude Code there, and every tool works. There's no HTTP server or tunnel to set up.
FAQ
Is it safe?
It runs locally with no network listener. Your MCP client shows you each tool call before it runs, and you can deny any of them. obsidian_eval and obsidian_cdp can do almost anything inside Obsidian, so read those calls before approving them. See SECURITY.md.
Why include obsidian_eval at all?
The other 45 tools cover the common tasks. Eval covers everything else, and it's what makes requests like "click that button" possible.
Can I turn off the powerful tools? Deny them when your client asks. In Claude Code you can also pre-approve only the tools you're comfortable with. See Permissions and safety.
Does it cost a lot of tokens? Usually not. Most tools return a few words or a short list. The exceptions are big reads and vault-wide listings. The guide covers how to keep them small.
License
MIT
Available Tools
43 toolsobsidian_appendB
Append content to a file
Inputs: content (required), file, path, inline.
obsidian_backlinksARead-only
List backlinks to a file
Inputs: file, path, total, counts, +1 more.
obsidian_briefingARead-only
Get a snapshot of the current Obsidian state: active file, open tabs, daily note, recent files, vault stats, and CLAUDE.md instructions if present. Call this at the start of a session for instant context.
Inputs: no named parameters.
obsidian_cdpC
Run a Chrome DevTools Protocol command directly
Inputs: method (required), params.
obsidian_commandB
Execute an Obsidian command by ID
Inputs: id (required).
obsidian_commandsARead-only
List available Obsidian commands, optionally filtered by prefix
Inputs: filter.
obsidian_consoleBRead-only
Show captured console messages from Obsidian
Inputs: clear, level, limit.
obsidian_createB
Create a new file in the vault
Inputs: name, open, path, content, +2 more.
obsidian_cssBRead-only
Inspect CSS with source locations for a selector
Inputs: selector (required), prop.
obsidian_dailyC
Open or read the daily note
Inputs: read.
obsidian_daily_appendB
Append content to the daily note
Inputs: content (required), inline.
obsidian_debugC
Attach or detach the Chrome DevTools Protocol debugger
Inputs: on, off.
obsidian_deleteADestructive
Delete a file (moves to trash by default)
Inputs: file, path, permanent.
obsidian_devtoolsA
Toggle Electron DevTools open/closed
Inputs: no named parameters.
obsidian_domARead-only
Query DOM elements by CSS selector
Inputs: selector (required), all, css, attr, +1 more.
obsidian_errorsCRead-only
Show captured errors from Obsidian
Inputs: clear.
obsidian_evalC
Execute JavaScript in Obsidian and return the result
Inputs: code (required).
obsidian_filesARead-only
List files in the vault, optionally filtered by folder or extension
Inputs: ext, total, folder.
obsidian_linksARead-only
List outgoing links from a file
Inputs: file, path, total.
obsidian_mobileC
Toggle mobile emulation on or off
Inputs: on, off.
obsidian_moveBDestructive
Move or rename a file
Inputs: to (required), file, path.
obsidian_openC
Open a file in Obsidian
Inputs: file, path, newtab.
obsidian_outlineARead-only
Show headings for a file
Inputs: file, path, format.
obsidian_plugin_disableB
Disable a plugin
Inputs: id (required).
obsidian_plugin_enableC
Enable a plugin
Inputs: id (required).
obsidian_plugin_infoARead-only
Get detailed info about a specific plugin
Inputs: id (required).
obsidian_plugin_reloadA
Reload a plugin (useful during development)
Inputs: id (required).
obsidian_pluginsARead-only
List installed plugins with enabled/disabled state
Inputs: filter, format, versions.
obsidian_prependC
Prepend content to a file
Inputs: content (required), file, path, inline.
obsidian_propertiesBRead-only
List properties in the vault or for a specific file
Inputs: file, name, path, total, +3 more.
obsidian_property_setC
Set a property on a file
Inputs: name (required), value (required), file, path, +1 more.
obsidian_readBRead-only
Read the contents of a file
Inputs: file, path.
obsidian_screenshotARead-only
Take a screenshot of Obsidian. Uses Chrome DevTools Protocol for full-window or element-targeted captures.
Inputs: path, format, quality, selector.
obsidian_searchBRead-only
Search files, tags, properties, or links in the vault
Inputs: query (required).
obsidian_snippetsARead-only
List installed CSS snippets
Inputs: no named parameters.
obsidian_statusARead-only
Get Obsidian version, vault name, path, file/folder counts, and size
Inputs: no named parameters.
obsidian_tabsARead-only
List open tabs in the main editor area. Use 'all' to include sidebar panels.
Inputs: all, ids.
obsidian_tagsARead-only
List tags in the vault or for a specific file
Inputs: file, path, sort, active, +2 more.
obsidian_tasksBRead-only
List tasks in the vault or a specific file
Inputs: done, file, path, todo, +4 more.
obsidian_themeARead-only
Show active theme info or get details about a specific theme
Inputs: name.
obsidian_themesCRead-only
List installed themes
Inputs: versions.
obsidian_vaultsARead-only
List all known vaults
Inputs: no named parameters.
obsidian_workspaceBRead-only
Show the workspace tree layout
Inputs: ids.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 43 tools
Most tools have distinct purposes, but there is potential confusion among similar-sounding ones like obsidian_links vs obsidian_backlinks vs obsidian_outline vs obsidian_properties. However, descriptions are clear enough to distinguish them.
All tools follow the 'obsidian_' prefix consistently, and the naming pattern (verb or noun) is uniform, with no mixing of conventions.
With 43 tools, the set is significantly larger than the typical 3-15 range considered appropriate. Many tools are for debugging and development, which expands the scope beyond core note-taking functionality.
The tool set covers nearly all aspects of Obsidian interaction: file operations, metadata, plugins, themes, search, daily notes, vault management, and developer tools. There are no obvious gaps for common use cases.
Maintenance
Related MCP Connectors
Hosted MCP server for Obsidian Sync vaults: read, search, edit notes. Not affiliated with Obsidian.
MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.
Remote MCP server to control your Android phone from AI assistants with per-app permissions.
Markdown-based note-taking with a hosted MCP server. Your notes serve you and your AI.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceA 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.829MIT
- AlicenseNot gradedqualityCmaintenanceProvides an MCP server that allows AI assistants to interact with Obsidian vaults, enabling reading/writing notes, managing metadata, searching content, and working with daily notes.37MIT
- AlicenseNot gradedqualityDmaintenanceA local MCP server that wraps the Obsidian CLI to give AI assistants direct access to read, edit, and manage notes within an Obsidian vault. It enables advanced operations such as frontmatter property management, context-aware searching, and the execution of internal Obsidian commands.2MIT
- AlicenseNot gradedqualityDmaintenanceAn Obsidian plugin that runs an MCP server, enabling AI agents to read, edit, search notes, and run Dataview queries in your vault.3BSD Zero Clause