mcp-obsidian-cli
Provides tools for creating, reading, searching, and managing notes in an Obsidian vault, including daily notes, tags, tasks, backlinks, and templates.
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-obsidian-cliSearch my vault for 'project ideas' and return results."
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-cli
Your thinking starts in Claude Desktop, not in Obsidian. You research, draft, argue with the model, and when something's worth keeping you say "save this to my vault." It lands in the right place: your template, your properties, today's daily note, wired into your link graph. No tab-switch, no copy-paste.

Two halves:
Capture — turn a conversation into a real note, filed where it belongs.
Augment — pull what's already in the vault (backlinks, full-text search) back into the chat to inform or update a note.
Needs Obsidian running. It can sit minimized, so you never switch to it.
On Claude Code? The native obsidian-cli skill fits better there: direct CLI, no MCP layer. Use that.
Quick start
New here? The Install brief has a one-line prompt you paste into Claude Code — it then does the whole setup (checks Node, enables the Obsidian CLI, edits your Claude Desktop config, verifies it works).
npx mcp-obsidian-cliRelated MCP server: Obsidian Nexus
Claude Desktop config
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"obsidian": {
"command": "npx",
"args": ["-y", "mcp-obsidian-cli"],
"env": {
"OBSIDIAN_VAULT": "my-vault"
}
}
}
}Requirements
Obsidian running with its command line interface enabled (Settings → General → Advanced → Command line interface). The CLI ships built into Obsidian — nothing extra to install.
obsidian-clireachable — on your PATH, or pointOBSIDIAN_CLI_PATHat it (typically/Applications/Obsidian.app/Contents/MacOS/obsidian-clion macOS).Node.js >= 18
Full walkthrough: docs/INSTALL.md.
How it works
The server exposes Obsidian CLI commands as MCP tools. A generic pass-through tool handles the full CLI surface (80+ commands), plus typed convenience tools for common operations:
Tool | Description |
| Generic pass-through — run any CLI command (ships intent→verb cheatsheet, pre-call manifest validation, reload detection) |
| Manifest-backed help — list verbs by category, or look up a single verb / doc topic |
| Read today's daily note |
| Append to daily note |
| Read a note by name or path |
| Full-text search with context |
| List tags with counts |
| Query tasks (daily, todo, done) |
| Read frontmatter properties |
| Create a new plain note (no Templater expansion) |
| Create a note from a Templater template (expands |
| Set a frontmatter property |
| List backlinks to a note |
| List vault files |
| Recently opened files |
The generic obsidian tool means the MCP server never falls behind the CLI — new CLI commands work immediately without a server update.
Environment variables
Variable | Default | Description |
| (none) | Target vault by name |
|
| Path to CLI binary |
|
| Command timeout |
|
| Base path for config file |
Config file
The server can read settings from a YAML config file:
Default:
~/.config/mcp-obsidian-cli/config.yamlWith
XDG_CONFIG_HOME:$XDG_CONFIG_HOME/mcp-obsidian-cli/config.yaml
Config file format:
vault: "my-vault"
cliPath: "obsidian-cli"
timeoutMs: 15000Config precedence: env vars > config file > hardcoded defaults
What it can do
It talks to the running Obsidian instance, so it works with your vault the way Obsidian sees it:
Backlinks and full-text search across your resolved link graph and search index (the augment half).
Templater templates and typed frontmatter properties when creating or updating notes.
Daily notes, task queries, and tag counts.
80+ commands through the generic pass-through. No API keys, no REST plugin. Just the official Obsidian CLI.
Bugs / requests
File an issue: https://github.com/stonematt/mcp-obsidian-cli/issues/new/choose. Bug template asks for version, MCP client, tool call, and response — quick to fill, fast to act on.
License
MIT
Maintained by @stonematt Licensed under the MIT License
Trademark Notice: "Obsidian" is a trademark of Obsidian Publishing, Inc. This project is not affiliated with or endorsed by Obsidian Publishing.
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.
Latest Blog Posts
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/stonematt/mcp-obsidian-cli'
If you have feedback or need assistance with the MCP directory API, please join our Discord server