Obsidian MCP Server
An MCP server that allows AI assistants to read from and write to your local Obsidian vault.
Obsidian MCP Server
A lightweight Model Context Protocol (MCP) server that enables AI assistants like Cursor & Claude to read from and write to your Obsidian vault.
Example Interactions
- "Create a new note for standup tomorrow describing the code changes I've made today" (should also use Git)
- "Check my notes about project ideas"
- "Check what todos I have related to refactoring"
Tools
Read
-
getAllFilenames
- Gets a list of all filenames in the Obsidian vault
- Useful for discovering what files are available
-
readMultipleFiles
- Retrieves the contents of specified files from the Obsidian vault
- Supports exact filenames, partial filenames, or case-insensitive matches
- Each file's content is prefixed with '# File: filename' for clear identification
-
getOpenTodos
- Retrieves all open TODO items from markdown files in the Obsidian vault
- Finds unchecked checkbox items (lines containing '- [ ] ')
- Returns them with their file locations
Write
- updateFileContent
- Updates the content of a specified file in the Obsidian vault with new markdown content
- If the file doesn't exist, it will be created
- Automatically creates any necessary directories
Install & build
npm install obsidian-mcp-server
npm run build
Integrating with Claude Desktop and Cursor
To use your MCP server with Claude Desktop add it to your Claude configuration:
{
"mcpServers": {
"obsidian": {
"command": "node",
"args": [
"obsidian-mcp-server/build/index.js",
"/path/to/your/vault"
]
}
}
}
For Cursor go to the MCP tab Cursor Settings (command + shift + J). Add a server with this command:
node obsidian-mcp-server/build/index.js /path/to/your/vault
Comparison with Other Solutions
While this implementation is intentionally lightweight, other solutions like jacksteamdev/obsidian-mcp-tools offer a more feature-rich approach as an Obsidian plugin.
This standalone server has the advantage of direct filesystem access without requiring the Obsidian application to be running.
Resources
相关服务器
Kone.vc
赞助Monetize your AI agent with contextual product recommendations
Patent Connector
Connect Patent APIs like EPO OPS, USPTO ODP or Google Patents to your chatbot.
Markdownify MCP Server
A server that converts various file types, including documents, images, audio, and web pages, into Markdown format.
survey-mcp-server
Conversational surveys
DifyWorkflow
Tools to the query and execute of Dify workflows
CodeRide
Task management redesigned for AI, integrated via the CodeRide MCP server.
Bear MCP Server
Access and manage your Bear Notes from a local SQLite database.
Logseq MCP Server
Interact with your Logseq knowledge base to create pages, manage blocks, and organize information programmatically.
U301 URL Shortener
Create short URLs using the U301 URL Shortener service.
Webflow MCP Server
Apify-hosted MCP server for Webflow with 22+ tools. Sites, CMS collections, pages, content management, and publishing. No local setup needed.
EmoVideoAna
analytics emotion of video