What it is
mcp-obsidian by Markus Pfundstein connects an agent to Obsidian by calling the Local REST API community plugin on your machine. It is a community project and not made by Obsidian.
- Maintainer
- CommunityMarkusPfundstein on GitHub (individual account, community project)
- Source
- MarkusPfundstein/mcp-obsidian4,565 GitHub stars · MIT licence
- Transport
- stdio
- Packages
- mcp-obsidian pypi · latest 0.2.3 · 14,159 downloads last month
- Latest release
- No GitHub release listed. Check the package registry for versions.
- Public advisories
- 0GitHub and OSV, as of December 5, 2026
What it can do
Read from the public tool definitions in the source, not from a live run. A capability marked "yes" means at least one tool can do it.
- Reads: yes
- Writes: yes
- Deletes: yes
- Runs code: no
- Network: no
- Sends: no
Notes can hold passwords, client details and private journals. Everything the tools read goes to the model.
| Tool | What it can do | Notes |
|---|---|---|
obsidian_get_file_contents | Reads | |
obsidian_batch_get_file_contents | Reads | |
obsidian_simple_search | Reads | |
obsidian_complex_search | Reads | |
obsidian_search_by_tag | Reads | |
obsidian_get_frontmatter | Reads | |
obsidian_get_periodic_note | Reads | |
obsidian_get_recent_periodic_notes | Reads | |
obsidian_get_recent_changes | Reads | |
obsidian_append_content | Writes | |
obsidian_patch_content | Writes | |
obsidian_put_content | Writes, Deletes | Overwrites a note. |
obsidian_delete_file | Deletes | Deletes a file or directory from the vault. |
Tool names read from src/mcp_obsidian/tools.py. The README lists a shorter set of 7 tools, so the tool list differs by version.
Credentials and least privilege
One plugin key gives full access to the vault.
| Credential | What it is for | Least privilege |
|---|---|---|
OBSIDIAN_API_KEY (with OBSIDIAN_HOST, OBSIDIAN_PORT) | API key from the Local REST API plugin settings. | The plugin key has no scopes, so it grants full vault access. Use a vault that holds only what the agent should see, and keep a backup. |
Public security advisories
No published security advisory was listed for this project on GitHub or OSV as of December 5, 2026. That only means none had been published. It does not mean the code has been audited.
What stands out
- The README tool list shows 7 tools while the source registers 13, so your installed version decides what you get.
- The source sets
verify_sslto False for the plugin connection, which is common for the plugin's self-signed certificate but means no certificate check. - There is no read-only switch in the README.
Safe-install checklist
Install command from the project's docs: uvx mcp-obsidian.
- Pin the version. Use an exact version, not
latest:uvx mcp-obsidian==0.2.3. Needs the Obsidian Local REST API plugin running. - Scope the credential. The plugin key has no scopes, so it grants full vault access. Use a vault that holds only what the agent should see, and keep a backup.
- Keep a backup or version control on the vault before enabling write tools.
- Deny
obsidian_delete_fileandobsidian_put_content, and keep sensitive notes in a separate vault. - Deny the tools you do not need. In Claude Code, deny rules in
.claude/settings.jsonuse the formmcp__<server name>__<tool>, where the server name is whatever you called it in your config. Example, if you named itmcp-obsidian:{ "permissions": { "deny": [ "mcp__mcp-obsidian__obsidian_append_content", "mcp__mcp-obsidian__obsidian_patch_content", "mcp__mcp-obsidian__obsidian_put_content", "mcp__mcp-obsidian__obsidian_delete_file" ] } } - Snapshot the tool list. Save the
tools/listoutput right after you install, then compare it before every upgrade with the free PTS MCP tool diff checker. It runs in your browser and flags new tools and changed descriptions or schemas. - Watch for fixes. Watch the project's security advisories and upgrade on purpose, after the diff.
For the general version of this list, see the MCP server security checklist. Not sure about a server that is not listed here? Read Is an MCP server safe to install?
Quick follow-ups
What can MCP Obsidian do on my machine or accounts?
Based on its public tool definitions, it can: reads local files or data; creates or changes files, records or settings; deletes or destroys data. Notes can hold passwords, client details and private journals. Everything the tools read goes to the model.
Does MCP Obsidian need a token or API key?
Yes, depending on setup: OBSIDIAN_API_KEY (with OBSIDIAN_HOST, OBSIDIAN_PORT). One plugin key gives full access to the vault.
Has MCP Obsidian had public security advisories?
No published advisory was listed for it on GitHub or OSV as of December 5, 2026. That is not proof it has no issues, only that none had been published.
How do I keep MCP Obsidian from changing under me?
Pin the version, for example uvx mcp-obsidian==0.2.3. Then save its tool list (name, description, input schema) with the free PTS MCP tool diff checker and compare it before each upgrade.
Sources
This page is a factual summary of public information about the software. It is not a verdict on the maintainers and not an audit. Check the project's own docs for your version before you rely on it. Educational, not legal or security advice.
