drio
Open app

Obsidian MCP Server

Source

Model Context Protocol (MCP) server designed for LLMs to interact with Obsidian vaults. Provides secure, token-aware tools for seamless knowledge base management through a standardized interface.

Catalog onlyCatalog onlySTDIO

Overview

Obsidian MCP Server is a Model Context Protocol (MCP) server designed for large language models (LLMs) to interact with Obsidian vaults, enabling seamless knowledge base management through a standardized interface.

To use the Obsidian MCP Server, install Node.js, enable the Local REST API plugin in Obsidian, and clone the repository or install it via npm. Configure the MCP client settings with your API key and other parameters.

  • Atomic file and directory operations with validation. - Full-text search capabilities with advanced query support. - YAML frontmatter parsing and intelligent merging. - API key authentication with rate limiting and SSL options.
  1. Managing and organizing notes in Obsidian vaults.
  2. Enabling AI assistants to perform complex searches and file operations.
  3. Facilitating secure and efficient knowledge management for research and data.

Add to your AI client

Use these steps to connect Obsidian MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "obsidian-mcp-server-cyanheads": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-obsidian-mcp-server-cyanheads"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "obsidian-mcp-server-cyanheads": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-obsidian-mcp-server-cyanheads"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "obsidian-mcp-server-cyanheads": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-obsidian-mcp-server-cyanheads"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "obsidian-mcp-server-cyanheads": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-obsidian-mcp-server-cyanheads"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "obsidian-mcp-server-cyanheads": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-obsidian-mcp-server-cyanheads"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "obsidian-mcp-server-cyanheads": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-obsidian-mcp-server-cyanheads"
      ]
    }
  }
}

FAQ

**What is the Model Context Protocol?**

The Model Context Protocol (MCP) allows AI models to interact with external tools and resources through a standardized interface.

**Is the server secure?**

Yes, it features API key authentication, rate limiting, and SSL options for secure communication.

**What are the system requirements?**

You need Node.js and the Local REST API plugin enabled in Obsidian.