cyanheads/obsidian-mcp-server
Read, write, search, and surgically edit Obsidian vault notes, tags, and frontmatter via MCP. STDIO or Streamable HTTP.
What it solves
AI assistants need a safe, structured way to work with your personal notes, but Obsidian stores notes in a local vault that AI tools cannot natively read or modify. This project is a bridge: it exposes an Obsidian vault to any MCP-capable AI client (Claude Desktop, Cursor, VS Code, and others) so the assistant can read, search, write, and precisely edit notes, tags, and frontmatter — while you keep control over which folders it can touch.
How it works
The server sits between an AI client and the Obsidian Local REST API plugin running inside your vault. It offers 14 tools (read a note, list notes, search, write, append, patch, replace, manage frontmatter, manage tags, delete, open in UI, list and run commands) and 3 resources (a note's full content, all vault tags, and server status). It can run over stdio (standard input/output) or Streamable HTTP, and lets you configure folder-scoped read/write permissions, deny lists, and a read-only mode. Search supports plain text, JSONLogic trees, and BM25-ranked Omnisearch when that plugin is available.
Who it's for
Anyone who uses Obsidian as their knowledge base and wants an AI assistant to work with those notes — reading, searching, editing, tagging, and organizing — through a standard MCP connection. It is especially useful for people who want fine-grained permission control over what an AI can see or change, and who want precise edits (a single heading, block, or frontmatter field) rather than whole-file rewrites.
Highlights
- 14 tools covering read, search, write, append, patch, replace, frontmatter, tags, delete, and command execution
- Surgical in-place edits: modify one heading, block, or frontmatter field without touching the rest of the note
- Folder-scoped read/write permissions, deny lists, and a read-only switch
- Multiple search modes: plain text, JSONLogic trees, and BM25-ranked Omnisearch with typo tolerance
- Agent-friendly output: every error carries a recovery hint, every mutation reports byte-size deltas, and results use discriminated formats
- One-click install for Claude Desktop, Cursor, and VS Code; runs over stdio or Streamable HTTP with pluggable auth and storage
Related
- Project
- Project
- Project
- Project
- Project