obsidian-mcp-server
View on GitHubRead, write, search, and surgically edit Obsidian vault notes, tags, and frontmatter via MCP. STDIO or Streamable HTTP.
MCP server that gives LLM clients read/write access to an Obsidian vault over the Local REST API plugin: 14 tools and 3 resources cover note CRUD, section/block patching, frontmatter, tags, and text/JSONLogic/Omnisearch queries. Runs via STDIO or Streamable HTTP with folder-scoped permissions.
Use Cases
Let an LLM read and summarize Obsidian vault notesCreate or update notes from an AI chat sessionSurgically patch headings, blocks, and frontmatterManage vault tags and frontmatter metadata via agentSearch a vault by text, JSONLogic, or BM25 OmnisearchFind backlinks using JSONLogic regexp queriesAppend daily/periodic note entries automaticallyExpose vault contents as MCP resources to Claude Desktop, Cursor, or VS CodeRun a local Streamable HTTP MCP server for a personal knowledge baseEnforce folder-scoped read/write permissions on vault accessDrive Obsidian command-palette actions from an agent
Built With
- Language
- TypeScript
- Frameworks
- Model Context Protocol (MCP) · @cyanheads/mcp-ts-core · Bun · Vitest · Biome · Docker
Tags
mcp · mcp-server · obsidian · knowledge-base · note-taking · markdown · frontmatter · tags · search · omnisearch · stdio · streamable-http · typescript · bun · docker · claude-desktop