Skip to main content
Glama
live-mcp-for-obsidian

live-mcp-for-obsidian

by gapmiss

live-mcp-for-obsidian

Connect Claude (or any MCP client) to your running Obsidian app.

IMPORTANT

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

More demos

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 app API

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-path at 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-obsidian

To 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.js

Options

Flag

Default

What it does

--obsidian-path

/Applications/Obsidian.app/Contents/MacOS/Obsidian

Where the Obsidian binary is

--vault, -v

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

obsidian_status, obsidian_vaults

Workspace

obsidian_tabs, obsidian_workspace, obsidian_open

Files

obsidian_files, obsidian_read, obsidian_create, obsidian_append, obsidian_prepend, obsidian_delete, obsidian_move, obsidian_search

Notes and metadata

obsidian_properties, obsidian_property_set, obsidian_tags, obsidian_links, obsidian_backlinks, obsidian_outline, obsidian_tasks, obsidian_daily, obsidian_daily_append

Plugins

obsidian_plugins, obsidian_plugin_info, obsidian_plugin_enable, obsidian_plugin_disable, obsidian_plugin_reload, obsidian_commands, obsidian_command

Themes

obsidian_theme, obsidian_themes, obsidian_snippets

Developer

obsidian_eval, obsidian_dom, obsidian_console, obsidian_errors, obsidian_screenshot, obsidian_css, obsidian_cdp, obsidian_debug, obsidian_mobile, obsidian_devtools

Briefing

obsidian_briefing

Recording

obsidian_record, obsidian_start_recording, obsidian_stop_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-plugin

Screenshots 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 tools
obsidian_appendB

Append content to a file

Inputs: content (required), file, path, inline.

obsidian_briefingA
Read-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_commandsA
Read-only

List available Obsidian commands, optionally filtered by prefix

Inputs: filter.

obsidian_consoleB
Read-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_cssB
Read-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_deleteA
Destructive

Delete a file (moves to trash by default)

Inputs: file, path, permanent.

obsidian_devtoolsA

Toggle Electron DevTools open/closed

Inputs: no named parameters.

obsidian_domA
Read-only

Query DOM elements by CSS selector

Inputs: selector (required), all, css, attr, +1 more.

obsidian_errorsC
Read-only

Show captured errors from Obsidian

Inputs: clear.

obsidian_evalC

Execute JavaScript in Obsidian and return the result

Inputs: code (required).

obsidian_filesA
Read-only

List files in the vault, optionally filtered by folder or extension

Inputs: ext, total, folder.

obsidian_mobileC

Toggle mobile emulation on or off

Inputs: on, off.

obsidian_moveB
Destructive

Move or rename a file

Inputs: to (required), file, path.

obsidian_openC

Open a file in Obsidian

Inputs: file, path, newtab.

obsidian_outlineA
Read-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_infoA
Read-only

Get detailed info about a specific plugin

Inputs: id (required).

obsidian_plugin_reloadA

Reload a plugin (useful during development)

Inputs: id (required).

obsidian_pluginsA
Read-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_propertiesB
Read-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_readB
Read-only

Read the contents of a file

Inputs: file, path.

obsidian_screenshotA
Read-only

Take a screenshot of Obsidian. Uses Chrome DevTools Protocol for full-window or element-targeted captures.

Inputs: path, format, quality, selector.

obsidian_snippetsA
Read-only

List installed CSS snippets

Inputs: no named parameters.

obsidian_statusA
Read-only

Get Obsidian version, vault name, path, file/folder counts, and size

Inputs: no named parameters.

obsidian_tabsA
Read-only

List open tabs in the main editor area. Use 'all' to include sidebar panels.

Inputs: all, ids.

obsidian_tagsA
Read-only

List tags in the vault or for a specific file

Inputs: file, path, sort, active, +2 more.

obsidian_tasksB
Read-only

List tasks in the vault or a specific file

Inputs: done, file, path, todo, +4 more.

obsidian_themeA
Read-only

Show active theme info or get details about a specific theme

Inputs: name.

obsidian_themesC
Read-only

List installed themes

Inputs: versions.

obsidian_vaultsA
Read-only

List all known vaults

Inputs: no named parameters.

obsidian_workspaceB
Read-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

    B3.2/5.0

    Scored across 43 tools

    Disambiguation4/5

    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.

    Naming Consistency5/5

    All tools follow the 'obsidian_' prefix consistently, and the naming pattern (verb or noun) is uniform, with no mixing of conventions.

    Tool Count2/5

    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.

    Completeness5/5

    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

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides 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.
      37
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A 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.
      2
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      An Obsidian plugin that runs an MCP server, enabling AI agents to read, edit, search notes, and run Dataview queries in your vault.
      3
      BSD Zero Clause