Obsidian CLI MCP server
io.github.dariuscorvus/obsidian-cli-mcp·v0.4.1Local MCP server for Obsidian Desktop via the official Obsidian CLI.
0 stars50 downloads/wk
Reviews
Write oneNobody has reviewed Obsidian CLI MCP yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Obsidian CLI MCP tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.10 · 2026-10-31 · same rubric, same numbers if you re-run it
- Code scan36 source files scanned20/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 66 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Findings (1)
- mediumeval / new Function used
exec.evaldist/index.js: … } return parsed.value; } async eval(js, options = {}) { const { stdout }…
How Obsidian CLI MCP compares
Against every graded Productivity MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 80/100
- higher than 53% of 1,297 Productivity servers
- Downloads a week
- 50
- more than 40% of 423 Productivity servers with a package
Install Obsidian CLI MCP in Claude Code, Cursor or VS Code
Runs npx -y @dariuscodes/obsidian-cli-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add obsidian-cli-mcp -- npx -y @dariuscodes/obsidian-cli-mcp
What the publisher says
From the Obsidian CLI MCP repository's README, as published. We do not edit it. Read it on GitHub
obsidian-cli-mcp
obsidian-cli-mcp is an MCP server for the official Obsidian CLI. It exposes Obsidian vault search, note, task, file, link, and native Canvas operations to an MCP client. The server does not replace Obsidian: the CLI forwards requests to the running Obsidian desktop app.
The default transport is local stdio. Remote Streamable HTTP is available as an advanced, separately secured setup; it is not required for local use.
Requirements
Command line interface**, then register obsidian on your PATH.
- macOS with Obsidian Desktop installed and running.
- The official Obsidian CLI enabled in Obsidian: **Settings → General →
build or develop this source checkout.
- Node.js 18 or newer to run the published package. Bun is only needed to
This project requires the desktop CLI. It does not support obsidian-headless. The Obsidian app must remain open while the MCP server is being used.
Check the Obsidian side first:
command -v obsidian
obsidian version
obsidian vaultQuickstart with npm
Start the published v0.4.1 package from any directory:
npx --yes --package=@dariuscodes/obsidian-cli-mcp@0.4.1 obsidian-cli-mcpThe command speaks MCP over stdio and waits for an MCP client. It intentionally does not print protocol data to the terminal. Diagnostics go to stderr.
For a source checkout instead:
git clone https://github.com/DariusCorvus/obsidian-cli-mcp.git
cd obsidian-cli-mcp
bun install --frozen-lockfile
bun run build
node dist/main.jsNo vault name, vault path, token, Cloudflare account, LaunchAgent, or config file is required for the local default. The server uses the active vault that Obsidian exposes through the official CLI.
Connect an MCP client
For a client that accepts an mcpServers configuration, use the npm command:
{
"mcpServers": {
"obsidian": {
"command": "npx",
"args": [
"--yes",
"--package=@dariuscodes/obsidian-cli-mcp@0.4.1",
"obsidian-cli-mcp"
]
}
}
}If the client does not inherit your shell PATH, replace npx with the absolute path printed by command -v npx. For a source checkout, use command: "node" and args: ["/absolute/path/to/obsidian-cli-mcp/dist/main.js"].
Restart the client after changing its MCP configuration. The first useful sequence is:
example { "query": "meeting", "limit": 10 }.
- Call vault_search with a query that should exist in your vault, for
{ "path": "" }.
- Pass one returned path to note_read, for example
- Preview a safe note mutation before applying it:
{
"name": "MCP smoke note",
"content": "Created after reviewing the plan.",
"dryRun": true
}This is a note_create call. It returns the planned action and exact CLI command without changing the vault. Only use dryRun: false after reviewing the plan. dryRun is a preview, not an authorization boundary.
- For Canvas, preview a native Canvas file and one text node:
{
"path": "MCP smoke.canvas",
"nodes": [
{
"id": "hello",
"type": "text",
"x": 0,
"y": 0,
"width": 320,
"height": 180,
"text": "Hello from MCP"
}
],
"dryRun": true
}This is a canvascreate call. Review the plan, then call it with dryRun: false if you want to create the file. Use canvasread to inspect the native .canvas JSON afterward. Canvas tools preserve unknown fields, validate node/edge references, and do not require arbitrary eval.
Configuration and safe defaults
An empty or missing configuration is usable for a vanilla Obsidian vault. The optional .obsidianmcprc.yaml is discovered from the server working directory. For clients with an unpredictable working directory, set OBSIDIANMCPCONFIG to an explicit config-file path.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Grade history
- 2026-10-31downgradeA → Bscore 80: eval / new Function used
Obsidian CLI MCP: common questions
- Is Obsidian CLI MCP server safe?
- Mostly: it is graded B (80/100). Read the Obsidian CLI MCP safety report
- How do I install Obsidian CLI MCP?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Obsidian CLI MCP need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Obsidian CLI MCP maintained?
- The last commit was 68 days ago (2026-08-26). The latest release is v0.4.1.
- What can I use instead of Obsidian CLI MCP?
- Servers from other publishers that do the same job: Obsidian MCP server, Obsidian MCP server and Agent-Native Content MCP server.
- How does Obsidian CLI MCP compare with other Productivity MCP servers?
- safety score 80/100 (higher than 53% of 1,297 Productivity servers); downloads a week 50 (more than 40% of 423 Productivity servers with a package). Full comparison.
Alternatives to Obsidian CLI MCP
Same job from other publishers: the closest match first, then the best rated.
- ObsidianMCP server that interacts with Obsidian via the Obsidian rest API community pluginnot reviewedEstablishedA
- ObsidianRead, write, search, and surgically edit Obsidian notes, tags, and frontmatter via MCP.not reviewedEstablishedA
- Agent-Native ContentOpen-source Obsidian for MDX - edit local docs with agent assistancenot reviewedEstablishedA
- gflow-cliDrive Google Flow from an agent: Veo video and Imagen image generationnot reviewedEstablishedA
- Obsidian Hybrid SearchSearch Obsidian vaults with hybrid full-text, fuzzy, semantic, and graph retrieval.not reviewedEstablishedB