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 "Install 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 ServerShow 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
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nzinovev/obsidian-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server