Obsidian MCP Server
Allows AI assistants to read, search, create, organize, and summarize notes in an Obsidian vault, including identifying most valuable notes for daily review.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Obsidian MCP Server Show me my most valuable notes for today"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Obsidian MCP Server
A Model Context Protocol (MCP) server that enables AI assistants to interact with your Obsidian vault.
Features
1. Note Reading & Summarization
Read any note in your vault
Generate quick summaries of notes
Extract metadata (tags, word count, dates)
2. Note Organization
Move notes between folders
Add tags to notes automatically
Search notes by title, content, or tags
3. Daily "Most Valuable Notes"
Automatically identifies your most important notes based on:
Recent modifications (last 7 days)
Note length and depth
Tag organization
Perfect for daily reviews and prioritization
Related MCP server: Obsidian MCP Server
Installation
1. Create Project Directory
mkdir obsidian-mcp-server
cd obsidian-mcp-server2. Initialize Project
Copy the following files into your project:
src/index.ts(the main server code)package.jsontsconfig.json
3. Install Dependencies
npm install4. Build the Server
npm run buildConfiguration
Environment Variables
Set the path to your Obsidian vault:
macOS/Linux:
export OBSIDIAN_VAULT_PATH="/path/to/your/obsidian/vault"Windows (PowerShell):
$env:OBSIDIAN_VAULT_PATH="C:\path\to\your\obsidian\vault"Windows (CMD):
set OBSIDIAN_VAULT_PATH=C:\path\to\your\obsidian\vaultClaude Desktop Configuration
Add this to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Roaming\Claude\claude_desktop_config.json
{
"mcpServers": {
"obsidian": {
"command": "node",
"args": ["/absolute/path/to/obsidian-mcp-server/build/index.js"],
"env": {
"OBSIDIAN_VAULT_PATH": "/path/to/your/obsidian/vault"
}
}
}
}Available Tools
1. read_note
Read the content of a specific note.
{
"path": "folder/note-name.md"
}2. search_notes
Search for notes by title, content, or tags.
{
"query": "machine learning",
"searchInContent": true
}3. create_note
Create a new note in your vault.
{
"path": "folder/new-note.md",
"content": "# New Note\n\nContent here..."
}4. summarize_note
Generate a summary of a note.
{
"path": "folder/long-note.md"
}5. organize_note
Move a note to a different folder.
{
"path": "old-folder/note.md",
"targetFolder": "new-folder"
}6. add_tags
Add tags to a note's frontmatter.
{
"path": "folder/note.md",
"tags": ["important", "project-x"]
}7. get_most_valuable_notes
Get your top 10 most valuable notes for today.
{}Usage Examples
Once configured, you can ask Claude in the desktop app:
"Show me my most valuable notes for today"
"Search my vault for notes about Python"
"Summarize my note called 'Project Ideas'"
"Move my note 'Draft.md' to the 'Archive' folder"
"Add tags 'urgent' and 'work' to my note 'Meeting Notes.md'"
"Create a new note in 'Daily Notes' called 'Today.md' with today's date"
Development
Watch Mode
For development, run TypeScript in watch mode:
npm run devTesting
Test the server directly:
export OBSIDIAN_VAULT_PATH="/path/to/vault"
npm startTroubleshooting
Common Issues
"OBSIDIAN_VAULT_PATH environment variable not set"
Make sure you've set the environment variable correctly
Use absolute paths, not relative paths
Check for typos in the path
"Permission denied" errors
Ensure the build/index.js file is executable:
chmod +x build/index.jsCheck that Node.js has read/write permissions to your vault
Claude Desktop doesn't see the server
Restart Claude Desktop after editing the config file
Check the config file syntax (valid JSON)
Use absolute paths in the config file
Check Claude Desktop logs for errors
Future Enhancements
Potential features to add:
Link analysis and graph visualization
Automated note templates
Batch operations
Daily note automation
Integration with calendar and tasks
AI-powered note suggestions
Available Tools
7 toolsadd_tagsA
Add tags to a note's frontmatter
Inputs: path (required), tags (required).
create_noteB
Create a new note in the vault
Inputs: path (required), content (required).
get_most_valuable_notesA
Get a list of the most valuable notes for today based on recency, length, and organization
Inputs: no named parameters.
organize_noteA
Move a note to a different folder
Inputs: path (required), targetFolder (required).
read_noteA
Read the content of a specific note
Inputs: path (required).
search_notesC
Search for notes by title, content, or tags
Inputs: query (required), searchInContent.
summarize_noteB
Generate a summary of a note's content
Inputs: path (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool has a clearly distinct purpose: creating, reading, searching, summarizing, moving, tagging, and recommending notes. There is no overlap or ambiguity between them.
All tools follow a consistent verb_noun pattern in snake_case (e.g., create_note, read_note, add_tags). Even get_most_valuable_notes fits the verb-noun convention with a descriptive adjective.
Seven tools is a well-scoped count for an Obsidian vault management server, covering common operations without redundancy or bloat. Each tool earns its place.
The toolset covers create, read, search, summarize, organize, and tag operations, but lacks the ability to edit note content or delete notes. These are notable gaps in the note lifecycle, though agents can work around some limitations by using organize_note and add_tags for metadata changes.
Maintenance
Related MCP Connectors
Search your Obsidian vault to quickly find notes by title or keyword, summarize related content, a…
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
Securely search, create, and organize your Mem notes and collections from AI assistants.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to interact with Obsidian vaults, providing tools for reading, creating, editing and managing notes and tags.4,114 npm752MIT
- AlicenseBqualityBmaintenanceConnects AI assistants directly to Obsidian vaults with intelligent note creation using templates, semantic search, smart tagging to avoid duplicates, and specialized agent roles (Guardian, Researcher, Connection Weaver) for managing knowledge bases.3512MIT
- FlicenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to read, write, search, and navigate Obsidian vault notes with support for CRUD operations, full-text search, graph navigation, daily notes, and frontmatter management.4,114 npm-
- AlicenseBqualityDmaintenanceEnables AI assistants to search, create, and manage notes in an Obsidian vault via 40+ local tools.5214 npmMIT