Obsidian MCP server
io.github.MarkusPfundstein/mcp-obsidian·v0.2.2·4.5k starsMCP server that interacts with Obsidian via the Obsidian rest API community plugin
4.5k stars5.1k downloads/wk
Reviews
Write oneNobody has reviewed Obsidian yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Obsidian 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-27 · same rubric, same numbers if you re-run it
- Code scan6 source files scanned25/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 57 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Obsidian compares
Against every graded Productivity MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 75% of 1,297 Productivity servers
- GitHub stars
- 4,499
- more than 95% of 852 Productivity servers
- Downloads a week
- 5,068
- more than 95% of 423 Productivity servers with a package
Install Obsidian in Claude Code, Cursor or VS Code
claude mcp add mcp-obsidian -- uvx mcp-obsidian
What the publisher says
From the Obsidian repository's README, as published. We do not edit it. Read it on GitHub
MCP server for Obsidian
MCP server to interact with Obsidian via the Local REST API community plugin.
Components
Tools
The server implements multiple tools to interact with Obsidian:
- listfilesin_vault: Lists all files and directories in the root directory of your Obsidian vault
- listfilesin_dir: Lists all files and directories in a specific Obsidian directory
- getfilecontents: Return the content of a single file in your vault.
- search: Search for documents matching a specified text query across all files in the vault
- patch_content: Insert content into an existing note relative to a heading, block reference, or frontmatter field.
- append_content: Append content to a new or existing file in the vault.
- delete_file: Delete a file or directory from your vault.
Example prompts
Its good to first instruct Claude to use Obsidian. Then it will always call the tool.
The use prompts like this:
- Get the contents of the last architecture call note and summarize them
- Search for all files where Azure CosmosDb is mentioned and quickly explain to me the context in which it is mentioned
- Summarize the last meeting notes and put them into a new note 'summary meeting.md'. Add an introduction so that I can send it via email.
Requirements
- Python >= 3.11
- mcp Python SDK >=1.1.0,<2.0.0 (pinned in pyproject.toml). mcp-obsidian currently registers its tool handlers via the mcp 1.x low-level Server API (@app.listtools() / @app.calltool()), which was removed in mcp 2.0. Installing with an unconstrained mcp>=2.0 will crash at import with AttributeError: 'Server' object has no attribute 'list_tools'.
Configuration
Obsidian REST API Key
There are two ways to configure the environment with the Obsidian REST API Key.
- Add to server config (preferred)
{
"mcp-obsidian": {
"command": "uvx",
"args": [
"mcp-obsidian"
],
"env": {
"OBSIDIAN_API_KEY": "<your_api_key_here>",
"OBSIDIAN_HOST": "<your_obsidian_host>",
"OBSIDIAN_PORT": "<your_obsidian_port>"
}
}
}Sometimes Claude has issues detecting the location of uv / uvx. You can use which uvx to find and paste the full path in above config in such cases.
- Create a .env file in the working directory with the following required variables:
OBSIDIAN_API_KEY=your_api_key_here
OBSIDIAN_HOST=your_obsidian_host
OBSIDIAN_PORT=your_obsidian_portNote:
- You can find the API key in the Obsidian plugin config
- Default port is 27124 if not specified
- Default host is 127.0.0.1 if not specified
Quickstart
Install
Obsidian REST API
You need the Obsidian REST API community plugin running: https://github.com/coddingtonbear/obsidian-local-rest-api
Install and enable it in the settings and copy the api key.
Claude Desktop
On MacOS: ~/Library/Application\ Support/Claude/claudedesktopconfig.json
On Windows: %APPDATA%/Claude/claudedesktopconfig.json
Development/Unpublished Servers Configuration
{
"mcpServers": {
"mcp-obsidian": {
"command": "uv",
"args": [
"--directory",
"<dir_to>/mcp-obsidian",
"run",
"mcp-obsidian"
],
"env": {
"OBSIDIAN_API_KEY": "<your_api_key_here>",
"OBSIDIAN_HOST": "<your_obsidian_host>",
"OBSIDIAN_PORT": "<your_obsidian_port>"
}
}
}
}Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Obsidian: common questions
- Is Obsidian MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the Obsidian safety report
- How do I install Obsidian?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Obsidian need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Obsidian maintained?
- The last commit was 63 days ago (2026-08-31). The latest release is v0.2.2.
- What can I use instead of Obsidian?
- Servers from other publishers that do the same job: Agent-Native Content MCP server, Obsidian Hybrid Search MCP server and DocsAgent — Zotero, Obsidian & Apple Notes MCP Server.
- How does Obsidian compare with other Productivity MCP servers?
- safety score 88/100 (higher than 75% of 1,297 Productivity servers); github stars 4,499 (more than 95% of 852 Productivity servers); downloads a week 5,068 (more than 95% of 423 Productivity servers with a package). Full comparison.
Alternatives to Obsidian
Same job from other publishers: the closest match first, then the best rated.
- Agent-Native ContentOpen-source Obsidian for MDX - edit local docs with agent assistancenot reviewedEstablishedA
- Obsidian Hybrid SearchSearch Obsidian vaults with hybrid full-text, fuzzy, semantic, and graph retrieval.not reviewedEstablishedB
- DocsAgent — Zotero, Obsidian & Apple Notes MCP ServerInstant, private access to your knowledge base: Zotero, Obsidian, Apple Notes (macOS).not reviewedEstablishedB
ExomemLocal Markdown/Obsidian knowledge substrate for MCP agents with governed memory and hybrid search.not reviewedEstablishedA- SeekstoneFilesystem-direct Obsidian MCP server — search and edit your vault with low context-tax.not reviewedGrowingA