Provides comprehensive integration with Obsidian knowledge bases, offering 25 tools for note management (create, read, update, delete), folder operations, full-text search, intelligent auto-linking, tag management, template systems, AI-powered content analysis, and knowledge graph generation.
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., "@Enhanced Obsidian MCP Serversearch my vault for notes about machine learning"
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.
Enhanced Obsidian MCP Server - 25 Advanced AI Tools
π Overview
The Enhanced Obsidian MCP Server is a powerful Model Context Protocol (MCP) server designed for seamless integration between AI models and Obsidian knowledge bases. Provides 25 powerful tools for intelligent knowledge management, automated content analysis, and smart linking capabilities.
β¨ Core Features
π Seamless Obsidian Integration: Direct access to Obsidian knowledge base through MCP protocol
π Complete Note Management: Read, create, update, and delete notes with advanced text replacement features
π Folder Operations: Create, rename, move, and delete folders with full hierarchy support
π Intelligent Search: Full-text search across all file types with smart scoring
π€ AI Analysis: Revolutionary strategic insights using TF-IDF framework
π Auto Backlink Generation: Revolutionary intelligent detection of note names and conversion to wikilinks
β‘ Precise Editing: Advanced PATCH operations with heading and block-level positioning
π Dual API Strategy: Obsidian REST API combined with file system fallback for maximum reliability
π― Context Optimization: Intelligent content summarization for LLM context length management
π Batch Processing: Efficient bulk operations with progress tracking
β¨ New Features
π§ 15 New AI-Enhanced Tools for intelligent content analysis
π Smart Auto-Linking with advanced pattern recognition
π Knowledge Graph Generation for visualizing note relationships
π·οΈ Advanced Tag Management with intelligent suggestions
π Template System for consistent note creation
π Content Similarity Analysis using TF-IDF and cosine similarity
π Relationship Analysis for discovering hidden connections
π οΈ Complete Tool Suite (25 Tools)
π Core Note Management (10 Tools)
π Note Operations
Tool | Description | Detailed Functionality |
| List all notes in vault with optional folder filtering | Browse vault contents, filter by specific folders, get note metadata (size, dates, paths) |
| Read individual note content | Retrieve complete note content with metadata, file statistics, and modification history |
| Batch read multiple notes simultaneously | Efficiently load multiple notes at once, perfect for content analysis or bulk operations |
| Create new notes with content | Generate new markdown files with specified content, automatic directory creation |
| Advanced content editing with precise positioning | Edit notes with surgical precision - replace text, insert at specific positions, delete sections |
| Remove notes from vault | Safely delete notes with confirmation, maintains vault integrity |
| Rename or relocate notes | Move notes between folders, rename files, automatic link updates |
π Folder & Organization
Tool | Description | Detailed Functionality |
| Full folder operations (create/rename/move/delete) | Complete folder management - create nested structures, reorganize vault hierarchy |
| Full-text search across all content | Powerful search with regex support, context snippets, relevance scoring |
| Intelligent auto-linking with pattern recognition | Scan entire vault, detect note names in content, convert to [[wikilinks]] automatically |
π·οΈ Tag Management System (3 Tools)
Tool | Description | Detailed Functionality |
| Add multiple tags to notes | Insert hashtags into note frontmatter or content, support for nested tags (e.g., #project/web) |
| List all tags with usage statistics | Comprehensive tag inventory with usage counts, sorting options, tag hierarchy analysis |
| Advanced tag-based search with AND/OR operators | Complex tag queries - find notes with specific tag combinations, Boolean logic support |
π Template System (4 Tools)
Tool | Description | Detailed Functionality |
| Create reusable note templates with variables | Design dynamic templates with {{variables}}, support for dates, titles, custom placeholders |
| Browse available templates | View all saved templates with metadata, usage statistics, and variable information |
| Apply templates with variable substitution | Generate new notes from templates, automatic variable replacement, custom value injection |
| Remove unused templates | Clean up template library, maintain template organization |
π§ AI Content Analysis (4 Tools)
Tool | Description | Detailed Functionality |
| Extract key terms using TF-IDF algorithm | Identify important keywords and phrases, statistical relevance scoring, configurable result count |
| Create intelligent content summaries | Automatic text summarization, extractive summary generation, customizable length |
| AI-powered tag recommendations | Analyze content and suggest relevant tags, learn from existing tagging patterns |
| Discover similar content using cosine similarity | Content-based similarity matching, semantic analysis, threshold-based filtering |
π Knowledge Graph & Analytics (4 Tools)
Tool | Description | Detailed Functionality |
| Comprehensive relationship mapping | Map connections between notes, analyze link patterns, identify knowledge clusters |
| Export graph data for visualization tools | Generate network data in JSON/Cytoscape formats, node/edge definitions, ready for D3.js/Gephi |
| Identify isolated content | Detect notes without links, find disconnected content, vault completeness analysis |
| AI-powered connection recommendations | Recommend potential links based on content similarity, discover hidden relationships |
π Quick Start
Option 1: NPM Installation (Recommended)
Install globally:
Or use npx (no installation required):
Option 2: From Source
Clone and build:
Option 3: Docker Installation
Quick start with Docker:
π For detailed installation instructions, see
βοΈ Configuration
MCP Client Configuration
Option 1: NPM Installation Configuration
Option 2: Source Installation Configuration
Option 3: Docker Installation Configuration
Note: For Docker, environment variables are configured in .env file or docker-compose.yml.
Environment Variables
Variable | Description | Required | Default |
| Path to your Obsidian vault | β Yes | - |
| Local REST API token | β Yes | - |
| API port number | π§ Recommended | 27123 |
π§ For all configuration options, see
π Prerequisites
Node.js (v16 or higher)
Obsidian Desktop Application
Local REST API Plugin installed in Obsidian
Setting Up Obsidian Local REST API
Install the "Local REST API" plugin in Obsidian
Generate an API token in the plugin settings
Note the port number (default: 27123)
Ensure the plugin is enabled
π Documentation
π Installation Guide - Complete installation instructions for all methods
π§ Configuration Reference - Detailed configuration options and troubleshooting
π οΈ API Documentation - Complete API reference for all 25 tools
π Usage Examples - Practical examples and real-world scenarios
π€ Contributing
We welcome contributions! Please see our Contributing Guide for details.
Development Setup
π Troubleshooting
Common Issues
Connection refused error:
Ensure Obsidian Local REST API plugin is installed and enabled
Verify the API token and port number
Check that Obsidian is running
Permission denied:
Verify vault path permissions
Ensure the API token has proper access rights
Environment variables not working:
Use the
OBSIDIAN_prefix for all environment variablesRestart your MCP client after configuration changes
π For detailed troubleshooting, see
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Acknowledgments
Model Context Protocol by Anthropic
Obsidian Local REST API plugin
The original project address: https://github.com/newtype-01/obsidian-mcp
π Support
π Report Issues
π¬ Discussions
β Star this repository if you find it useful! β