Skip to main content
Glama

Obsidian MCP

An MCP (Model Context Protocol) server that gives AI assistants (Claude, Cursor, etc.) access to your Obsidian vault. Navigate folders, read notes, create, edit, move, rename and delete them — all from your AI chat.

Requirements

  • Python 3.10+

  • uv (recommended) or pip

  • An Obsidian vault on your local machine

Related MCP server: mcp-obsidian

Installation

# Clone the repo
git clone https://github.com/your-username/obsidian-mcp
cd obsidian-mcp

# Copy the env template and set your vault path
cp .env.example .env

Edit .env and set your vault path:

OBSIDIAN_VAULT_PATH="/Users/you/Documents/MyVault"

To find your vault path in Obsidian: Settings → About → Vault path.

Running the server

Development (with MCP Inspector UI)

uv run mcp dev server.py

This opens the MCP Inspector in your browser where you can test all tools interactively.

Production

uv run server.py

Connecting to Cursor

Add this to your .cursor/mcp.json (or Cursor global MCP settings):

{
  "mcpServers": {
    "obsidian": {
      "command": "python",
      "args": ["/absolute/path/to/obsidian-mcp/server.py"],
      "env": {
        "OBSIDIAN_VAULT_PATH": "/path/to/your/vault"
      }
    }
  }
}

Replace /absolute/path/to/obsidian-mcp/server.py with the actual path to server.py on your machine, and /path/to/your/vault with your vault path (find it in Obsidian: Settings → About → Vault path).

Connecting to Claude Desktop

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "obsidian": {
      "command": "uv",
      "args": ["run", "/absolute/path/to/obsidian-mcp/server.py"],
      "env": {
        "OBSIDIAN_VAULT_PATH": "/path/to/your/vault"
      }
    }
  }
}

Available Tools

Tool

Description

list_folder(folder_path)

List subfolders and notes inside a vault folder. Leave empty for vault root.

read_note(note_path)

Read the full content of a note (path relative to vault root).

create_note(note_path, content)

Create a new note. Creates intermediate folders if needed.

update_note(note_path, content)

Replace the full content of an existing note.

delete_note(note_path)

Delete a note from the vault.

rename_note(note_path, new_name)

Rename a note keeping it in the same folder.

move_note(note_path, destination_path)

Move a note to a different folder. Can also rename as part of the move. Creates destination folders if needed.

delete_folder(folder_path, recursive)

Delete a folder. Use recursive=True to delete folders that contain files.

All paths are relative to the vault root, e.g. "Projects/App/roadmap.md".

License

MIT

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides an MCP server that allows AI assistants to interact with Obsidian vaults, enabling reading/writing notes, managing metadata, searching content, and working with daily notes.
    36
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    An MCP server that enables AI assistants to interact with Obsidian vaults by providing tools for note management, full-text search, and link analysis. It supports comprehensive file operations, frontmatter manipulation, and daily note creation while ensuring security through path validation.
    19
    1
  • F
    license
    Not graded
    quality
    D
    maintenance
    A local MCP server that wraps the Obsidian CLI to give AI assistants direct access to read, edit, and manage notes within an Obsidian vault. It enables advanced operations such as frontmatter property management, context-aware searching, and the execution of internal Obsidian commands.
    2

View all related MCP servers

Related MCP Connectors

  • Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer

  • Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.

  • An MCP server that gives your AI access to the source code and docs of all public github repos

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DavidBurckhardt/obsidian-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server