Obsidian Advanced▌
by tokidoo
Enhance your workflow with Obsidian Advanced, the ultimate Obsidian plugin for note management, automation, and advanced
Integrates with Obsidian vaults through the Local REST API plugin to provide advanced note management, search, batch operations, graph analysis, and workflow automation capabilities.
Both formats append explainx.ai attribution and the canonical URL for this MCP server listing.
best for
- / Knowledge workers managing large Obsidian vaults
- / Researchers analyzing note relationships
- / Content creators automating workflow tasks
- / Students organizing interconnected notes
capabilities
- / Analyze note connections using graph analysis
- / Map vault hierarchy and structure
- / Perform batch file operations on multiple notes
- / Execute Obsidian commands directly
- / Access currently active note for real-time context
- / Open notes in new Obsidian leaves
what it does
Integrates AI assistants with your Obsidian vault through the Local REST API plugin for advanced note management and analysis. Goes beyond basic operations to provide graph analysis, vault structure mapping, and batch operations.
about
Obsidian Advanced is a community-built MCP server published by tokidoo that provides AI assistants with tools and capabilities via the Model Context Protocol. Enhance your workflow with Obsidian Advanced, the ultimate Obsidian plugin for note management, automation, and advanced It is categorized under productivity.
how to install
You can install Obsidian Advanced in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
license
MIT
Obsidian Advanced is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
readme
Advanced MCP Tools for Obsidian
<p> <a href="https://mseep.ai/app/tokidoo-mcp-obsidian-advanced"> <img src="https://mseep.net/pr/tokidoo-mcp-obsidian-advanced-badge.png" alt="MseeP.ai Security Assessment Badge"> </a> <a href="https://glama.ai/mcp/servers/@ToKiDoO/mcp-obsidian-advanced"> <img src="https://glama.ai/mcp/servers/@ToKiDoO/mcp-obsidian-advanced/badge" alt="Glama MCP Server Badge" width="380" height="200"> </a> <a href="https://smithery.ai/@ToKiDoO/mcp-obsidian-advanced"> <img src="https://smithery.ai/badge/@ToKiDoO/mcp-obsidian-advanced" alt="Smithery Badge" height="56"> </a> </p>Advanced MCP server for interacting with Obsidian via the Local REST API community plugin. It empowers AI agents (like Claude) to deeply understand your vault's structure, links, and content—beyond basic read/write operations.
Key advanced features, powered by the obsidiantools library:
- Vault tree structure discovery to map your note hierarchy
- NetworkX graph analysis of note connections for LLM-friendly insights
- Execution of Obsidian commands directly from AI
- Batch file reading with metadata and link details
- Access to your currently active note for real-time context
- Opening notes/files in new Obsidian leaves for seamless editing
This setup lets AI agents work alongside you, boosting productivity by efficiently navigating and enhancing your knowledge base.
Components
Tools
The server implements multiple tools to interact with Obsidian:
Core File Operations
obsidian_list_files_in_dir: Lists all files and directories in a specific Obsidian directoryobsidian_batch_get_files: Return the contents and metadata of one or more notes (.md files) in your vaultobsidian_put_file: Create a new file in your vault or update the content of an existing oneobsidian_append_to_file: Append content to a new or existing file in the vaultobsidian_patch_file: Insert content into an existing note relative to a heading, block reference, or frontmatter fieldobsidian_delete_file: Delete a file or directory from your vault
Search Operations
obsidian_simple_search: Simple search for documents matching a specified text query across all files in the vaultobsidian_complex_search: Complex search for documents using a JsonLogic query with support for 'glob' and 'regexp' pattern matching
Note Management
obsidian_get_active_note: Get the content and metadata of the currently active note in Obsidianobsidian_periodic_notes: Get current periodic note for the specified period (daily, weekly, monthly, quarterly, yearly)obsidian_recent_periodic_notes: Get most recent periodic notes for the specified period typeobsidian_recent_changes: Get recently modified files in the vault- NOTE: This tool requires the
Dataviewcommunity plugin to function. Make sure to install the Dataview plugin in your vault.
- NOTE: This tool requires the
Vault Analysis
obsidian_understand_vault: Get a comprehensive understanding of the vault structure including directory tree and NetworkX graph of note connectionsobsidian_open_files: Open one or more files in the vault in a new leafobsidian_list_commands: List all available commands you can run in obsidian interfaceobsidian_execute_commands: Execute one or more commands in obsidian interface
Example prompts
Its good to first instruct Claude (or any other MCP client) to use Obsidian. Then it will always call the tool. For instance,
The use prompts like this:
- "Expand on the Marketing section of the report I'm currently working on in obsidian"
- Claude will use
obsidian_get_active_note, read it, then edit the note.
- Claude will use
- "Search for all files where Azure CosmosDb is mentioned and quickly explain to me the context in which it is mentioned"
- "Summarize the last meeting notes and put them into a new note 'summary meeting.md'. Add an introduction so that I can send it via email."
Configuration
Environment Variables
For this MCP server, there are 2 required environment variables that need to be configured:
OBSIDIAN_API_KEY: Obtain this by installing the Obsidian REST API plugin, and go into settings.OBSIDIAN_VAULT_PATH: The absolute path to your vault must be set in order for tools (e.g.obsidian_understand_vault) to function properly.
Additionally, there are 3 optional environment variables that could be altered:
OBSIDIAN_HOST: Could be changed in the Obsidian REST API plugin settings. Defaults to127.0.0.1as per the plugin's default settings.OBSIDIAN_PORT: Could be changed in the Obsidian REST API plugin settings. Defaults to27124as per the plugin's default settings.INCLUDE_TOOLS: This variable controls which tools would be available for use.- Write the name of the tool(s) you want to include (name listed above), separated by commas.
- For instance, if you only want the
obsidian_understand_vaultandobsidian_simple_searchtool, you would setINCLUDE_TOOLS="obsidian_understand_vault,obsidian_simple_search"in the .env or in the server config.
There are two ways to configure the environment with the Obsidian REST API Key.
- Add to server config (PREFERRED):
{
"mcp-obsidian-advanced": {
"command": "uvx",
"args": [
"mcp-obsidian-advanced"
],
"env": {
"OBSIDIAN_API_KEY": "%3Cyour_api_key_here%3E",
"OBSIDIAN_HOST": "<your_obsidian_host>",
"OBSIDIAN_PORT": "<your_obsidian_port>",
"OBSIDIAN_VAULT_PATH": "</path/to/your/vault>",
"INCLUDE_TOOLS": ""
}
}
}
Sometimes Claude has issues detecting the location of uv / uvx. You can use
which uvxto find and paste the full path in above config in such cases.
- Create a
.envfile in the working directory with the following variables (onlyOBSIDIAN_API_KEYandOBSIDIAN_VAULT_PATHare required):
OBSIDIAN_API_KEY=your_api_key_here
OBSIDIAN_HOST=your_obsidian_host
OBSIDIAN_PORT=your_obsidian_port
OBSIDIAN_VAULT_PATH=/path/to/your/vault
INCLUDE_TOOLS=name_of_tool1,name_of_tool2,...
Note: You can find the API key, Host and Port in the Obsidian plugin config Default port is 27124 if not specified Default host is 127.0.0.1 if not specified
Quickstart
Install
Installing via Smithery
To install Advanced Obsidian MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @ToKiDoO/mcp-obsidian-advanced --client claude
Obsidian REST API
You need the Obsidian REST API community plugin running: https://github.com/coddingtonbear/obsidian-local-rest-api
- You can install it by going to "Community Plugins" in Obsidian, search it up.
Install and enable it in the settings and copy the api key.
Claude Desktop
On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
Published Servers Configuration:
{
"mcpServers": {
"mcp-obsidian-advanced": {
"command": "uvx",
"args": [
"mcp-obsidian-advanced"
],
"env": {
"OBSIDIAN_API_KEY": "<your_api_key_here>",
"OBSIDIAN_VAULT_PATH": "/path/to/your/vault/"
}
}
}
}
Development/Unpublished Servers Configuration
{
"mcpServers": {
"mcp-obsidian": {
"command": "uv",
"args": [
"--directory",
"/dir/to/mcp-obsidian-advanced",
"run",
"mcp-obsidian"
],
"env": {
"OBSIDIAN_API_KEY": "<your_api_key_here>",
"OBSIDIAN_VAULT_PATH": "/path/to/your/vault/"
}
}
}
}
Development
Additional Documentation for obsidiantools Library and Obsidian REST API
Additional documentation for the obsidiantools library and Obsidian REST API can be found in the docs directory.
obsidiantools_in_15_minutes_documentation.mdis a ipynb file that demonstrates use cases for obsidiantools.obsidian_rest_api_documentation.yamlis a yaml file that demonstrates use cases for the Obsidian REST API.
Building
To prepare the package for distribution:
- Sync dependencies and update lockfile:
uv sync
Debugging
Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.
You can launch the MCP Inspector via npm with this command:
npx @modelcontextprotocol/inspector uv --directory /path/to/mcp-obsidian-advanced run mcp-obsidian-advanced
Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.
You can also watch the server logs with this command:
tail -n 20 -f ~/Library/Logs/Claude/mcp-server-mcp-obsidian-advanced.log
FAQ
- What is the Obsidian Advanced MCP server?
- Obsidian Advanced is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
- How do MCP servers relate to agent skills?
- Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
- How are reviews shown for Obsidian Advanced?
- This profile displays 33 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.6 out of 5—verify behavior in your own environment before production use.
Use Cases▌
Extended AI Capabilities
Add new capabilities to Claude beyond text generation
Example
Access external data sources, execute code, interact with tools and services
Transform Claude from chatbot to action-taking agent
Context Enhancement
Provide Claude with access to relevant context and data
Example
Load project documentation, access knowledge bases, query databases
Get more accurate, context-aware responses
Workflow Automation
Automate multi-step workflows combining AI and external tools
Example
Research → Summarize → Create document → Send notification
Complete complex tasks end-to-end without manual steps
Implementation Guide▌
Prerequisites
- ›Claude Desktop 0.7.0+ or Cursor IDE with MCP support
- ›Basic understanding of MCP architecture and capabilities
- ›Access credentials for integrated services (if required)
- ›Willingness to experiment and iterate on configuration
Time Estimate
15-60 minutes depending on server complexity
Installation Steps
- 1.Install MCP server: npm install -g [package-name] or via GitHub
- 2.Add server configuration to ~/.claude/mcp.json
- 3.Provide required credentials and configuration
- 4.Restart Claude Desktop to load new server
- 5.Test basic functionality with simple prompts
- 6.Explore capabilities and experiment with use cases
- 7.Document successful patterns for reuse
Troubleshooting
- ⚠MCP server not loading: Check config syntax, verify installation
- ⚠Connection errors: Check network, firewall, credentials
- ⚠Feature not working: Read server docs, check required parameters
- ⚠Performance issues: Monitor resource usage, check for network latency
- ⚠Conflicts with other servers: Check port assignments, namespace collisions
Best Practices▌
✓ Do
- +Read server documentation thoroughly before setup
- +Start with simple use cases to validate functionality
- +Test in non-production environment first
- +Monitor resource usage and performance
- +Keep servers updated for bug fixes and new features
- +Document configuration for team members
- +Use environment variables for sensitive configuration
✗ Don't
- −Don't grant overly permissive access to MCP servers
- −Don't skip reading security considerations in docs
- −Don't expose sensitive data without proper controls
- −Don't run untrusted MCP servers without code review
- −Don't ignore error messages—investigate root cause
💡 Pro Tips
- ★Combine multiple MCP servers for powerful workflows
- ★Create custom MCP servers for your specific needs
- ★Share successful configurations with team
- ★Use MCP inspector for debugging
- ★Join MCP community for tips and troubleshooting
Technical Details▌
Architecture
Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.
Protocols
- Model Context Protocol (MCP)
- JSON-RPC 2.0
- stdio or HTTP transport
Compatibility
- Claude Desktop
- Cursor IDE
- Custom MCP clients
When to Use This▌
✓ Use When
Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.
✗ Avoid When
Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.
Integration▌
- →Tool composition: Chain multiple MCP tools in workflows
- →Context augmentation: Provide AI with relevant external data
- →Action delegation: Let AI execute tasks on external systems
- →Bidirectional sync: Keep AI context and external systems in sync
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
List & Promote Your MCP Server
Share your MCP server with the developer community
Ratings
4.6★★★★★33 reviews- ★★★★★Naina Sharma· Dec 16, 2024
Useful MCP listing: Obsidian Advanced is the kind of server we cite when onboarding engineers to host + tool permissions.
- ★★★★★Chen Patel· Dec 12, 2024
Obsidian Advanced is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.
- ★★★★★Aanya Jain· Nov 7, 2024
According to our notes, Obsidian Advanced benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
- ★★★★★Chen Park· Nov 3, 2024
We wired Obsidian Advanced into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
- ★★★★★Aarav Huang· Oct 26, 2024
We wired Obsidian Advanced into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
- ★★★★★Alexander Agarwal· Oct 22, 2024
According to our notes, Obsidian Advanced benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
- ★★★★★Piyush G· Sep 25, 2024
We evaluated Obsidian Advanced against two servers with overlapping tools; this profile had the clearer scope statement.
- ★★★★★Noah Choi· Sep 9, 2024
We wired Obsidian Advanced into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
- ★★★★★Min Kapoor· Sep 5, 2024
Strong directory entry: Obsidian Advanced surfaces stars and publisher context so we could sanity-check maintenance before adopting.
- ★★★★★Oshnikdeep· Sep 1, 2024
Obsidian Advanced reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
showing 1-10 of 33