The Obsidian MCP server connects AI assistants to your local Obsidian vault through the Obsidian Local REST API community plugin, enabling read, write, and search operations on your personal knowledge base. Built by MarkusPfundstein, it is community-built and best for Productivity.
by MarkusPfundstein
About
The Obsidian MCP server connects AI assistants to your local Obsidian vault through the Obsidian Local REST API community plugin, enabling read, write, and search operations on your personal knowledge base. With 4,280+ GitHub stars, mcp-obsidian by MarkusPfundstein is the most widely adopted Obsidian MCP integration available. The server exposes seven tools: list_files_in_vault (enumerate all vault files and directories), list_files_in_dir (browse a specific folder), get_file_contents (read any note by path), search (full-text search across all vault notes), patch_content (insert text relative to a heading, block reference, or frontmatter field), append_content (add text to a new or existing note), and delete_file (remove a note or folder). Install via a single uvx command; set OBSIDIAN_API_KEY, OBSIDIAN_HOST, and OBSIDIAN_PORT environment variables (default port 27124). You must first install and enable the Obsidian Local REST API community plugin inside your vault settings — it exposes the HTTP endpoint this server bridges. Works with Claude Desktop, Cursor, Windsurf, Cline, and any MCP-compatible client. Ideal for summarizing meeting notes, searching research across hundreds of Markdown files, drafting new pages from AI output, or building second-brain workflows where Claude reads and writes your full knowledge base.
Trust verdict
How grades are computed →Grade A (94/100, reliable) from 1 measured signal, based on repository evidence. Only one signal stands behind it, so treat the grade as provisional.
What was measured
- Repository maintenance100/100 · weight 20
The repository has been pushed to or released within the last six months. — last push 2026-05-15.
- Source verification100/100 · weight 25
The repository URL was confirmed to resolve against the live GitHub API and is not archived.
- Provenance65/100 · weight 10
Community-built. That is not a mark against it — most of the ecosystem is community-built — but there is no vendor accountable for keeping it working.
- Listing ↔ repository match100/100 · weight 5
The listing name lines up with the linked repository MarkusPfundstein/mcp-obsidian.
What could not be measured
These contributed nothing to the score — not a penalty, not a zero. They are why the confidence reads the way it does.
- Live MCP handshakeunknown
No remote endpoint to handshake — this server installs and runs locally over stdio, so there is nothing to probe from the outside.
- Measured uptimeunknown
No probe history recorded for this server yet.
- Tool-schema stabilityunknown
Drift is a difference between two successive checks, and this server has none recorded.
Installation
uvx mcp-obsidianmcp-obsidian confirmed live on PyPI — checked August 17, 2026.
This server does not read your vault off disk. It talks to the Obsidian Local REST API community plugin over HTTP, which means Obsidian has to be running with that plugin enabled for any tool call to succeed — the single fact that explains almost every failed first attempt. The upside of the design is that you get Obsidian's own search and its heading- and block-aware patching rather than a naive file walker.
Setting up the Obsidian MCP server
1.Install the Local REST API plugin first
In Obsidian: Settings → Community plugins → Browse → "Local REST API" (coddingtonbear). Install, enable, then copy the API key from the plugin's settings screen. Nothing below works until this plugin is running.
2.Add the server to your client config
The published package runs through uvx. Set OBSIDIAN_API_KEY to the key from the plugin; host defaults to 127.0.0.1 and port to 27124, so both can be omitted unless you changed them. If Claude cannot find uvx, put the absolute path from `which uvx` in the command field — a known rough edge called out in the README.
claude_desktop_config.json{ "mcpServers": { "mcp-obsidian": { "command": "uvx", "args": ["mcp-obsidian"], "env": { "OBSIDIAN_API_KEY": "<your_api_key_here>", "OBSIDIAN_HOST": "127.0.0.1", "OBSIDIAN_PORT": "27124" } } } }3.Tell the assistant to use Obsidian once
The README's own advice: open with an instruction to use Obsidian, and the tools get called reliably from then on. Without it, models tend to answer from memory rather than reaching for the vault.
The seven tools
That is the whole surface — small, and worth knowing exactly, because it tells you what to ask for.
list_files_in_vaultEverything in the vault root.
list_files_in_dirOne folder, for when the root listing is too large to be useful.
get_file_contentsReads a single note by path.
searchFull-text search across every note — the tool that makes a large vault usable.
patch_contentInserts relative to a heading, block reference, or frontmatter field. This is the one to reach for when editing an existing note, since it does not rewrite the file.
append_contentAppends to an existing note, or creates it.
delete_fileRemoves a note or directory. Irreversible from the assistant's side — Obsidian's own trash settings are your only safety net.
What people use it for
Summarise the last meeting into a new note
“Use Obsidian. Summarise the most recent architecture call note and write it to "summary meeting.md" with a short intro I can paste into an email.”
get_file_contents then append_content — the README's canonical example, and the workflow most people install this for.
Recover context scattered across years of notes
“Use Obsidian. Search for every file mentioning Azure CosmosDB and explain the context each mention appears in.”
search hits the plugin's index rather than reading files one by one, so it stays fast on vaults of thousands of notes.
Append under a specific heading without rewriting the note
“Use Obsidian. Add today's decisions under the "Decisions" heading in "Project Atlas.md" — leave the rest of the note untouched.”
patch_content targets the heading directly, which is the difference between an edit and a model regenerating your note.
Which one should you use?
Two servers are commonly confused because both are called "Obsidian MCP".
mcp-obsidian (MarkusPfundstein)
The maintained one, and the one this page documents. Python/uvx, ~4,200 stars, bridges the Local REST API plugin. Pick this unless you have a reason not to.
obsidian-mcp (StevenStavrakis)
A Node alternative, ~720 stars, with no commits since June 2025. Worth knowing about, but a stale dependency for a daily workflow.
Every command, environment variable, and endpoint above was read from the project’s own documentation on 2026-08-09: MarkusPfundstein/mcp-obsidian README, coddingtonbear/obsidian-local-rest-api.
Categories
Frequently Asked Questions
Why do all Obsidian MCP tool calls fail with a connection error?
Claude says it cannot find uvx — how do I fix it?
Which port does the Obsidian Local REST API use?
Can I read my vault without giving the assistant write access?
What is Obsidian MCP Server?
Who built Obsidian MCP Server?
Is Obsidian MCP Server free?
How do I install Obsidian MCP Server?
What does Obsidian MCP Server integrate with?
Related Guides
Repo Health
Local/stdio install — runs on your machine, so there is no remote endpoint to verify live. Trust signal below is from the source repo.
- Last commit
- 4mo ago
- Install
- pip
- Package
- mcp-obsidian
Quick Info
- Install Type
- pip
- Author
- MarkusPfundstein
- Categories
- 2
- Integrations
- 5
Related Servers
Memory
Knowledge graph-based persistent memory system. Store and retrieve contextual information.
Time
Time and timezone conversion capabilities for AI assistants.
21st.dev Magic
Create crafted UI components inspired by the best 21st.dev design engineers.
Notion MCP Server
The Notion MCP Server is the official integration from Notion that connects AI assistants directly to your Notion workspace via the Notion REST API. With 4,580+ GitHub stars, it is the canonical MCP tool for bringing Notion's knowledge management capabilities into Claude Desktop, Cursor, Windsurf, and any MCP-compatible client. The server exposes a rich set of tools: search your entire workspace by keyword and return matching pages and databases; retrieve full page content and block trees; create new pages inside any parent page or workspace section; update, append, or delete block content on existing pages; list all databases your integration has access to; query database entries with filter and sort parameters; retrieve individual blocks or nested children by block ID; and add comments to pages. Authentication uses a Notion integration token — create an internal integration at notion.so/my-integrations, share specific pages or databases with it, and set NOTION_TOKEN in your environment (the older OPENAPI_MCP_HEADERS form still works). Install with a single npx command. The Notion MCP Server is especially powerful for AI workflows that span documentation retrieval, project planning, and knowledge capture — Claude can read product specs from Notion, draft new pages from conversation output, log structured data into databases, and search across thousands of notes without any manual copy-paste.
Linear MCP Server
The Linear MCP server connects your AI assistant directly to Linear's project management platform via an officially hosted remote endpoint at mcp.linear.app — no local installation required. This is Linear's own first-party server, authenticated with OAuth 2.1 and centrally managed so you always run the latest version without updates. Available tools let you search issues by keyword, team, cycle, or filter; create new issues with title, description, and assignee; update status, priority, labels, and comments; and navigate Linear's project and cycle structure. In Claude Code, add it with: `claude mcp add --transport http linear-server https://mcp.linear.app/mcp`, then run /mcp to complete the OAuth flow. For older clients, use the mcp-remote bridge for backwards compatibility. Claude Desktop and Claude.ai users can connect via Settings > Connectors. Cursor and Codex have native support via their MCP config. Linear is used by thousands of engineering and product teams to plan, track, and ship software — the Linear MCP server brings that data into every AI-powered workflow without copy-paste or context-switching.
Sponsored
Gamma
Free PlanAI-native presentation and document builder. Instantly transform your agent's content into shareable slides, docs, or webpages.
Try Gamma free →