obsidian-mcp-server
Enables AI to manage Obsidian notes, including creation, reading, updating, deletion, full-text search, listing with filtering, sorting, and metadata extraction via the Model Context Protocol.
README
<!--
- @Author: indiegeeker indiegeeker@gmail.com
- @Date: 2025-10-23 12:00:43
- @LastEditors: indiegeeker indiegeeker@gmail.com
- @LastEditTime: 2025-10-23 17:02:13
- @Description: -->
obsidian-mcp-server
🔗 Model Context Protocol server for Obsidian - Connect your knowledge base to AI
✨ Features
- 📝 Note Management: Create, read, update, and delete notes
- 🔍 Search: Full-text search across your vault
- 📋 Listing: List notes with filtering options
- 📊 Metadata: Get file size, timestamps, tags, and properties
- ⏰ Sorting: Sort notes by creation/modification time or size
- 🏷️ Tag Extraction: Automatically extract tags from frontmatter and content
- 🔒 Safe: Path validation to prevent directory traversal
- ⚡ Fast: Efficient file operations
🚀 Quick Start
Installation
npm install -g @indiegeeker/obsidian-mcp-server
# or
pnpm install -g @indiegeeker/obsidian-mcp-server
Configuration
Add to your Claude Desktop config:
{
"mcpServers": {
"obsidian": {
"command": "obsidian-mcp-server",
"env": {
"OBSIDIAN_VAULT_PATH": "/path/to/your/vault"
}
}
}
}
📖 Available Tools
create_note
Create a new note in your vault.
Parameters:
filename(required): Name of the notecontent(required): Markdown contentpath(optional): Folder path within vault
read_note
Read an existing note's content and frontmatter.
Parameters:
filepath(required): Path to the note
search_notes
Search notes by content.
Parameters:
query(required): Search stringpath(optional): Limit search to folder
list_notes
List all notes in vault or folder.
Parameters:
path(optional): Folder to listrecursive(optional): Include subfolders
update_note
Update an existing note's content.
Parameters:
filepath(required): Path to the notecontent(required): New contentappend(optional): Append instead of replacing
delete_note
Delete a note from the vault.
Parameters:
filepath(required): Path to the note to delete
get_note_metadata
Get detailed metadata for a note.
Parameters:
filepath(required): Path to the noteincludeTags(optional): Extract tags from frontmatter and content (default: true)
Returns:
- File size (bytes and formatted)
- Creation time
- Modification time
- Frontmatter properties
- Extracted tags (from frontmatter and #hashtags)
list_notes_sorted
List notes sorted by various criteria.
Parameters:
path(optional): Folder to list (default: root)recursive(optional): Include subfolders (default: true)sortBy(optional): Sort criterion -"created","modified","size", or"name"(default:"modified")order(optional): Sort order -"asc"or"desc"(default:"desc")includeMetadata(optional): Include size and timestamps (default: true)limit(optional): Maximum number of notes to return
🛠️ Development
# Clone the repo
git clone https://github.com/indiegeeker/obsidian-mcp-server.git
# Install dependencies
pnpm install
# Build
pnpm run build
# Watch mode
pnpm run dev
📄 License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.