obsidian-mcp
cconstable/obsidian-mcpUpdated 22 days ago00

Remote#Obsidian#MCP server#note accessLicense: MIT LicenseLanguage: TypeScript

Obsidian MCP Module

This module provides an MCP server for reading Obsidian vaults.

Currently both MCP tools and resources exist for accessing notes since some clients only support one or the other (VS Code only support tools).

Features

  • search-notes: Search notes by topic
  • get-note: Retrieve note contents

Installation

The Obsidian Metadata Extractor plugin needs to be enabled in order to create the metadata.json file this MCP server uses.

VS Code

You'll need to add a .vscode/mcp.json file to your workspace. Or you can set it up so all workspaces have access: https://code.visualstudio.com/docs/copilot/chat/mcp-servers.

{
    "servers": {
        "obsidian-mcp": {
            "type": "stdio",
            "command": "deno",
            "args": [
                "run",
                "--allow-read",
                "${workspaceFolder}/main.ts",
                "--vaultPath=/path/to/vault"
            ]
        }
    }
}

Claude Desktop

{
    "mcpServers": {
      "filesystem": {
        "command": "/path/to/deno",
        "args": [
            "run",
            "--allow-read",
            "/path/to/main.ts",
            "--vaultPath=/path/to/vault"
        ]
      }
    }
  }

License

This project is licensed under the MIT License. See the LICENSE file for details.

Installation

Claude
Claude
Cursor
Cursor
Windsurf
Windsurf
Cline
Cline
Witsy
Witsy
Spin AI
Spin AI
Run locally with the following command:
Terminal
Add the following config to your client:
JSON
{
  "mcpServers": {
    "obsidian-mcp": {
      "env": {},
      "args": [
        "run",
        "--allow-read",
        "/path/to/main.ts",
        "--vaultPath=/path/to/vault"
      ],
      "command": "deno"
    }
  }
}

MCPLink

Seamless access to top MCP servers powering the future of AI integration.

© 2025 MCPLink. All rights reserved.
discordgithubdiscord