This Obsidian MCP server, developed by cyanheads, enables AI models to interact with Obsidian vaults through a standardized interface. Built with TypeScript and leveraging the Model Context Protocol SDK, it provides tools for file operations, content search, and metadata management within Obsidian. The implementation features atomic operations, efficient query processing, and automatic timestamp handling. It's particularly useful for AI assistants and applications needing to manage knowledge bases in Obsidian, enabling use cases like note-taking, content organization, and information retrieval without dealing directly with Obsidian's API complexities.
No reviews yet. Be the first to review!
Sign in to join the conversation
Retrieves the content and metadata of a note. Parameters: filePath (string), format (optional string), includeStat (optional boolean)
Modifies a file by appending, prepending, or overwriting. Parameters: targetType (string), content (string), targetIdentifier (optional string), wholeFileMode (optional boolean)
Performs search-and-replace operations in a note. Parameters: targetType (string), replacements (array), useRegex (optional boolean), replaceAll (optional boolean)
Searches the entire vault for content. Parameters: query (string), searchInPath (optional string), useRegex (optional boolean), page (optional integer), pageSize (optional integer)
Lists notes and subdirectories in a folder. Parameters: dirPath (string), fileExtensionFilter (optional string), nameRegexFilter (optional string)
Gets, sets, or deletes keys in a note's frontmatter. Parameters: filePath (string), operation (string), key (string), value (optional string)
Adds, removes, or lists tags in a note. Parameters: filePath (string), operation (string), tags (array)
Permanently deletes a note from the vault. Parameters: filePath (string)