drio
Open app

Obsidian MCP Server

Source

Catalog onlyCatalog onlySTDIO

Overview

Obsidian MCP Server is a lightweight Model Context Protocol (MCP) server that allows AI assistants like Cursor and Claude to interact with your Obsidian vault, enabling them to read from and write to your notes.

To use the Obsidian MCP Server, install it via npm, build the project, and configure it with your AI assistant by specifying the server command and path to your Obsidian vault.

  • Enables AI assistants to create, read, and update notes in Obsidian. - Supports retrieving all filenames, reading multiple files, and fetching open TODO items. - Lightweight and does not require the Obsidian application to be running.
  1. Automating note-taking for daily standups.
  2. Checking project ideas and TODOs through AI commands.
  3. Integrating with AI tools for enhanced productivity.

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-marcelmarais": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-obsidian-mcp-server-marcelmarais"
      ]
    }
  }
}

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-marcelmarais": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-obsidian-mcp-server-marcelmarais"
      ]
    }
  }
}

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-marcelmarais": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-obsidian-mcp-server-marcelmarais"
      ]
    }
  }
}

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-marcelmarais": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-obsidian-mcp-server-marcelmarais"
      ]
    }
  }
}

Windsurf

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

~/.codeium/windsurf/mcp_config.json

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

Cline

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

Cline MCP Settings (via UI)

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

FAQ

Can I use this server without running Obsidian?

Yes! The server provides direct filesystem access, so Obsidian does not need to be running.

How do I install the server?

You can install it using npm with the command `npm install obsidian-mcp-server`.

What is the advantage of using this server over other solutions?

This server is lightweight and allows direct access to your files without needing the Obsidian application.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2121,"uuid":"92829d0a-535a-45de-a394-3ab62f2f82a4","name":"obsidian-mcp-server","title":"Obsidian MCP Server","description":"","avatar_url":"https://avatars.githubusercontent.com/u/37986581?v=4","created_at":"$D2025-03-09T03:38:23.586Z","updated_at":"$D2025-03-12T10:18:20.369Z","status":"created","author_name":"marcelmarais","author_avatar_url":"https://avatars.githubusercontent.com/u/37986581?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/marcelmarais/obsidian-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"7\",\"license\":\"\",\"language\":\"TypeScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-08 20:10:40\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]