MCP Server

by leonezz
5
4
3
2
1
Score: 46/100

Description

Category: 3rd Party Integrations

The Obsidian MCP Server plugin runs a local Model Context Protocol server that connects external AI tools to your vault through Streamable HTTP. Agents can inspect the active note, retrieve metadata and backlinks and manage notes through creation, editing, moving or deletion. Search supports note filters based on dates, tags and frontmatter alongside full text or regex queries with line number snippets. Attachment tools return images to AI clients and save binary files into the vault. Daily note capture follows your Daily Notes settings. The plugin also exposes folder listings and vault statistics while tracking active sessions and persistent tool usage counts. Local token authentication is enabled by default and can be disabled for development. All tools enforce access rules based on blacklisted paths and tags.

Reviews

No reviews yet.

Stats

4
stars
2,554
downloads
2
forks
6
days
6
days
6
days
26
total PRs
0
open PRs
0
closed PRs
26
merged PRs
34
total issues
9
open issues
25
closed issues
108
commits

RequirementsExperimental

  • An external AI tool or agent configured to communicate with the local server.

README file from

Github

Obsidian MCP Server

Give your AI Agents a seat at the table.

This plugin runs a local Model Context Protocol (MCP) server inside Obsidian. It allows external AI tools (like Claude Desktop, Cursor, or CLI agents) to connect to Obsidian, read your active context, and perform actions directly within the app.

⚠️ Status: Beta (Production Ready Logic).

Features

  • Context Awareness: get_active_file lets the agent see exactly what you are working on.
  • Vault Access: read_note, get_note_metadata, get_backlinks, and describe_vault provide full vault visibility.
  • Note Management: create_note, edit_note, append_note, patch_note, rename_note, and delete_note allow agents to manage your notes.
  • Attachment Handling: read_attachment returns images as MCP ImageContent (AI can see them); add_attachment saves binary files to the vault.
  • Search: search_notes filters by date/tags/frontmatter; search_content does full-text or regex search with line-number snippets and optional metadata.
  • Quick Capture: append_daily_note works with your Daily Notes settings (creates/appends correctly).
  • Discovery: list_folder (with sorting, filtering, recursion), list_all_tags, list_recent_notes, and create_folder help agents explore and organize the vault.
  • Session Tracking: list_sessions shows active connections with client name/version and per-session tool usage stats.
  • Usage Statistics: Track tool call counts (total/successful/failed) in Settings, with persistent storage.
  • Secure: Uses a local Auth Token with timing-safe comparison. Authentication can be disabled for local development.
  • Access Control: Blacklist paths and tags to keep sensitive notes private.

Architecture

  • Transport: Streamable HTTP.
  • Endpoint: http://localhost:<PORT>/mcp
  • Security: Bearer Token Authentication (enabled by default, can be disabled in settings).

Available Tools

Tool Description
get_active_file Get the content and metadata of the currently active note
read_note Read a note by vault-relative path
create_note Create a new note at a given path (auto-creates parent folders, prevents overwriting)
edit_note Replace entire content of an existing note
append_note Append or prepend text to an existing note
patch_note Find-and-replace edit on a note (no full rewrite needed)
rename_note Rename or move a note (Obsidian auto-updates wikilinks)
delete_note Delete a note by path
read_attachment Read a binary attachment — images returned as ImageContent (AI can see them)
add_attachment Save a base64-encoded file to the vault (respects Obsidian's attachment folder setting)
get_note_metadata Get frontmatter, tags, headings, links without full content
get_backlinks Get incoming links (backlinks) to a note
list_folder List files/folders with sorting, file type filtering, and recursive listing
list_all_tags List all hashtags in the vault with usage counts
list_recent_notes Most recently modified notes, sorted newest-first (default 10, max 50)
create_folder Create a folder (with intermediate parents, like mkdir -p)
search_notes Filter notes by date range, tags, and/or frontmatter fields
search_content Full-text or regex search with line-number snippets, optional folder scope and metadata
describe_vault Vault overview: name, file/folder counts, total size, file type breakdown, tag count
append_daily_note Append text to today's daily note
list_sessions List active MCP sessions with client info and per-session tool stats

All tools enforce access control rules before returning data.

Installation

Method 1: BRAT (Beta)

  1. Install BRAT from Community Plugins.
  2. Add Beta Plugin: Leonezz/obsidian-mcp-server
  3. Enable "Obsidian MCP Server".

Configuration

  1. Go to Settings -> Obsidian MCP Server.
  2. Note your Server Port (Default: 27123).
  3. Copy your Auth Token (or disable "Require Authentication" for local development).
  4. Optionally configure Access Control blacklist rules for paths and tags.

Usage with MCP Clients

The server uses Streamable HTTP transport on http://localhost:<PORT>/mcp.

Tip: If you disabled "Require Authentication" in settings, omit the Authorization header / headers block from all configurations below.

Claude Code

Claude Code natively supports Streamable HTTP. Add the server via CLI:

claude mcp add --transport http obsidian http://localhost:27123/mcp \
  --header "Authorization: Bearer YOUR_TOKEN"

Or add it to your project's .mcp.json:

{
  "mcpServers": {
    "obsidian": {
      "type": "http",
      "url": "http://localhost:27123/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_TOKEN"
      }
    }
  }
}

Cursor

Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (workspace):

{
  "mcpServers": {
    "obsidian": {
      "type": "streamable-http",
      "url": "http://localhost:27123/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_TOKEN"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "obsidian": {
      "serverUrl": "http://localhost:27123/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_TOKEN"
      }
    }
  }
}

Note: Windsurf uses "serverUrl" instead of "url".

Claude Desktop

Claude Desktop does not natively support Streamable HTTP in its config file. Use the mcp-remote proxy:

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

{
  "mcpServers": {
    "obsidian": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "http://localhost:27123/mcp",
        "--header",
        "Authorization: Bearer YOUR_TOKEN"
      ]
    }
  }
}

OpenClaw

OpenClaw does not yet support MCP natively. Use the bundled OpenClaw skill instead, which teaches the agent to communicate with the server via curl and jq.

Install the skill:

cp -r openclaw-skill/ ~/.openclaw/workspace/skills/obsidian-mcp/

Set the auth token:

export OBSIDIAN_MCP_TOKEN="YOUR_TOKEN"

Optionally set OBSIDIAN_MCP_PORT (default 27123) and OBSIDIAN_MCP_HOST (default 127.0.0.1).

Once installed, OpenClaw will automatically discover the skill and can read, search, create, and edit notes in your vault.

Other Clients

Any MCP client that supports Streamable HTTP can connect using:

  • URL: http://localhost:27123/mcp
  • Header: Authorization: Bearer YOUR_TOKEN

Instructions for AI Agents

If you are an AI Agent helping a user connect to this MCP server:

  1. Verify Installation: Check that the user has Obsidian running with the obsidian-mcp-server plugin enabled.
  2. Retrieve Connection Info: Ask the user for:
    • The Server Port (default 27123).
    • The Auth Token (from Obsidian Settings), unless they have disabled authentication.
  3. Detect Client: Determine which MCP client the user is running (Claude Code, Cursor, Windsurf, Claude Desktop, etc.) and use the matching configuration format from the sections above.
  4. Configure & Restart: Insert the server definition into the appropriate config file and tell the user to restart their MCP client.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
TagFolder
5 years ago by vorotamoroz
Core Search Assistant
5 years ago by qawatake
An Obsidian plugin to enhance built-in search: keyboard interface, card preview, bigger preview
Power Search
5 years ago by Aviral Batra
Settings Search
5 years ago by Jeremy Valentine
Adds a search bar to Obsidian.md's settings
Search Everywhere
5 years ago by Mom0
Obsidian Search Everywhere Plugin
Extract PDF Annotations
5 years ago by Franz Achermann
This is a plugin for https://obsidian.md. It extracts Annotations from PDF Files.
Card View Switcher
5 years ago by qawatake
An Obsidian plugin to provide a quick switcher with card view
Version History Diff (Sync, File Recovery & Git)
5 years ago by kometenstaub
Get a diff view of your Obsidian Sync, File Recovery and Git version history
Quiet Outline
5 years ago by the_tree
Improving experience of outline in Obsidian
Book Search
5 years ago by anpigon
Obsidian plugin that automatically creates notes by searching for books
Copy Search URL
4 years ago by Carlo Zottmann
A plugin for Obsidian (https://obsidian.md) that adds a menu entry to its search view for copying the Obsidian search URL.
Super Simple Time Tracker
4 years ago by Ellpeck
Multi-purpose time trackers for your notes!
File Forgetting Curve
4 years ago by ptrsvltns
File Forgetting Curve
External Link Helper
4 years ago by Jhonghee Park
Obsidian plugin for link suggestion
Contacts
4 years ago by vbeskrovnov
With this plugin, you can easily organize and manage your contacts within Obsidian. Simply create a note with contact information and use the plugin's features to quickly search, and sort through your contacts. Contacts plugin also helps you to remember birthdays of your contacts and keeps track of the last time you met them.
Smart Connections
4 years ago by Brian Petro
Find related notes and excerpts while writing. Your link building copilot displays relevant content in graph + list view. A local embedding model powers semantic search. Zero setup. No API key.
Khoj
4 years ago by Debanjum Singh Solanky
Your AI second brain. Self-hostable. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI (gpt, claude, gemini, llama, qwen, mistral). Get started - free.
Unicode Search
4 years ago by BambusControl
Simple Unicode character search for Obsidian.md
Emoji Magic
4 years ago by simplgy
Makes it easier to add emojis using an improved keyword search
Global Search and Replace
4 years ago by Mahmoud Fawzy Khalil
A plugin to do a global search and replace in all your Obsidian vault files.
Floating Search
4 years ago by Boninall
A plugin for searching text by using Obsidian default search view.
Semantic Search
3 years ago by bbawj
Semantic search for Obsidian.md
Fuzzy Chinese Pinyin
3 years ago by lazyloong
Arcana
3 years ago by A-F-V
Supercharge your Obsidian note-taking through AI-powered insights and suggestions
Simple CanvaSearch
3 years ago by ddalexb
Zettelkasten LLM Tools
3 years ago by Karl Smith
Zettelkasten note taking powered by Large Language Models
Search Templates Library
3 years ago by Pentchaff
Obsidian plugin that allows to store searches templates for later use, and displays search results both in the search view and graph view.
Mononote
3 years ago by Carlo Zottmann
An Obsidian plugin that ensures each note occupies only one tab. If a note is already open, its existing tab will be focussed instead of opening the same file in the current tab.
Favorite Note
3 years ago by Mahmudul Hasan
The missing Obsidian plugin to mark note as favorite.
Journalyst
3 years ago by Justin Arnold
Set View Mode per Note
3 years ago by Alex Davies
Use YAML frontmatter to specify a view mode per note.
Password Protection
3 years ago by Qing Li
This is a password plugin for protecting your private notes and diary, no encrypt, no decrypt.
CardNote
3 years ago by cycsd
Help you extract your thoughts more quickly in canvas
Date Inserter
3 years ago by namikaze-40p
An Obsidian plugin that lets you insert a date at the cursor position using a calendar.
Password Protect
3 years ago by Aspharmyx
Moulinette Search for TTRPG
3 years ago by Moulinette
Plugin for Obsidian
External Links
3 years ago by Juan Vimberg
Note Chain
2 years ago by ZigHolding
Package my frequently used tools, highly personal plugins.
Note Definitions
2 years ago by Dominic Let
Obsidian plugin for seamless viewing of personal definitions
Search In Canvas
2 years ago by Boninall
e-Daiary
2 years ago by Thomas Campanholi
This plugin was created to make daily entries in a journal based on the day of the year.
NSFW filter
2 years ago by catvatar
Obsidian Plugin adding a button to toggle visiblity of NSFW notes
Giphy
2 years ago by LuCrypto
Harper
2 years ago by Elijah Potter
Blockreffer
2 years ago by tyler.earth
An Obsidian plugin to search and embed blocks with ^block-references (aka ^block-ids)
Quick Cards
2 years ago by Camus Qiu
Diarian
2 years ago by Erika Gozar
All-in-one journaling toolkit.
Text expand
6 years ago by MrJackphil
A simple text expand plugin for Obsidian.md
Vantage - Advanced search builder
6 years ago by ryanjamurphy
Vantage helps you build complex queries using Obsidian's native search tools.
Tag Wrangler
6 years ago by PJ Eby
Rename, merge, toggle, and search tags from the Obsidian tag pane
Garble Text
5 years ago by kurakart
Obsidian plugin for exposing Obsidian's garbleText() function
Relative Find
5 years ago by phibr0
Another Quick Switcher
5 years ago by tadashi-aikawa
This is an Obsidian plugin which is another choice of Quick switcher.
Omnisearch
4 years ago by Simon Cambier
A search engine that "just works" for Obsidian.
Lemons Search
2 years ago by Moritz Jung
An Obsidian plugin that offers a fast fuzzy finder based quick switcher with preview.
Peekaboo
2 years ago by Wang Guoshi
An Obsidian plugin protects your privacy by setting a password to hide notes.
Tree Search
2 years ago by catacgc
Text Finder
2 years ago by hafuhafu
Provides a find/replace window in edit mode similar to VSCode (supports regular expressions and case sensitivity).
Blur Mode
2 years ago by dangehub
Blur Mode - Blur elements on the obsidian interface for presentations or screenshots|模糊模式 - 对obsidian界面上的元素进行模糊处理以便演示或截图
Mass Create
2 years ago by vellikhor
Create large quantities of notes easily at one time.
Template by Note Name
2 years ago by Jacob Learned
A simple Obsidian plugin to automatically template notes based on their title
Simple Disguise
2 years ago by slow-groovin
Obsidian plugin: disguise/obscure/hide the content in a very simple way
Clipper Catalog
2 years ago by Greg K.
A catalog view that provides a powerful interface for all your clipped web articles and content. Easily organize, search, and manage your web clippings within your vault.
NetClip
2 years ago by Elhary
this plugin is for Obsidian that allows you to browse the web and clip webpages directly into your vault.
Media Companion
2 years ago by Nick de Bruin
Duplicate Detector
2 years ago by David Alcalde
Obsidian plugin to detect and highlight duplicate lines in the active file
Minote Sync
2 years ago by Emac Shen
Minote Sync is a Obsidian plugin to sync Minote(小米笔记) into your Vault.
Age Encrypt
2 years ago by Metin Ur
A plugin for Obsidian that provides age-based encryption for your notes.
Image Picker
2 years ago by ari.the.elk
TG Emoji Search
2 years ago by MarsBatya
CmdSearch
2 years ago by SpaceshipCaptain
Private Mode
2 years ago by markusmo3
EasyLink
a year ago by isitwho
Select text in your obsidian editor to find the most similar content from other notes and easily create links.
Clipboard Manager
a year ago by Ayush Raj
The clipboard obsidian plugin
Note Codes
a year ago by Ezhik
Reference your Obsidian notes from anywhere with simple 4-character codes.
Vault Encrypt
a year ago by Pluppen
Obsidian Plugin that encrypts/decrypts the entire vault.
Nova
8 months ago by Shawn Duggan
Nova - AI plugin for Obsidian that edits your documents directly through natural conversation. Stop copying from chat, start collaborating with AI.
Segerlab
6 months ago by Semyon Kononchuk
Renders calculator views within Obsidian notes from JSON data copied from the Segerlab app.
Agent Client
5 months ago by rait-09
Bring AI agents into Obsidian via Agent Client Protocol (ACP), such as Claude Code, Codex and Gemini CLI.
Local REST API with MCP
5 months ago by Adam Coddington
A secure REST API and Model Context Protocol (MCP) server for your vault.
Personal Assistant
5 months ago by edonyzpc
A plugin that harnesses AI agents and streamlining techniques to help you automatically manage Obsidian.
DocFerry
4 months ago by Rosetta Zidian Guo
Publish one Obsidian note to a secure DocFerry share link.
Large Language Models
3 months ago by eharris128
The LLM plugin gives Obsidian users access to local and web-based, large language models via several chat interfaces: modal, widget, FAB window, and commands.
Claudian
3 months ago by Yishen Tu
An Obsidian plugin that embeds Claude Code/Codex as an AI collaborator in your vault
Neural Composer
3 months ago by Oscar Campo
AI-Powered Graph Memory for Obsidian
Offline Whisper Transcription
3 months ago by David Manthey
Vaultend
3 months ago by Daewon Hwang
AI-powered vault maintenance for Obsidian — auto-tag, link, and clean up your notes with privacy controls and full undo.
Mention Autocomplete
3 months ago by Darren Zheng
Type `@` to instantly search and link any note in your vault — with full-text search, rendered preview, and smart sentence extraction.
Notebook Navigator
3 months ago by Johan Sanneblad
A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.
Local LLM Hub
3 months ago by TAKESHI MORITA
All-in-one local AI hub for Obsidian — LLM chat with vault tools, MCP servers, RAG, workflow automation, encryption, and edit history. Fully private, no cloud required.
Gemini Helper
3 months ago by TAKESHI MORITA
AI chat, workflow automation, semantic search (RAG), LLM Wiki (OKF) powered by Google Gemini. Works on both desktop and mobile.
Store
3 months ago by shimeoki
Manage your notes within a single folder.
MCP Connector
2 months ago by istefox
Your Obsidian vault, exposed to Claude, Codex, Cursor and any MCP client. Runs inside Obsidian, on-device semantic search, no cloud round-trip, no binary to download.
Journal View
2 months ago by RUverse
A journal view for Obsidian
Workbuddian
2 months ago by jiang198012
Obsidian 插件:把本地 CodeBuddy CLI 或 Hermes agent 变成 vault 内 AI 聊天——流式回复、@引用、双后端切换。Obsidian plugin turning local CodeBuddy CLI or Hermes agent into an in-vault AI chat with streaming, @-references, and dual backends.
Alternative Explorer
2 months ago by sk-obsidian
Alternative Explorer is an Apple Notes–style sidebar for browsing folders and notes in Obsidian. Switch between an expandable folder tree and a notes list — a compact alternative to the built-in File Explorer.
Abele
2 months ago by dudaanton
An Obsidian plugin that adds a lot of functionality I personally find missing.
ICOR for Life - Connect
2 months ago by Paperless Movement S.L.
Your app.myicor.com account inside your vault: ICOR Journey and Growth Assignment dashboards, knowledge-base search, reflections synced as notes you own, and myICOR context for Claude sessions. Part of the ICOR for Life suite.
Oriko
2 months ago by trevware
A pannable, zoomable wall of your web clippings. Sort them into grids, filter by any property, and clip from your phone. Media is downloaded into your vault, so clippings keep their images and videos even if the source page is deleted.
Sift
a month ago by disasta-g
Search your notes with substring matching, operators, path and date filters, and ranked results in a large overlay.
Vault Shelf
a month ago by Lukas Proprentner
Your Obsidian vault as a browsable library: shelves of books built from titles, dates, people, tags, folders or any note property. Customizable to make it your own.
OsyC
a month ago by 3yesore
Ultra Budget Tracker
a month ago by Ahmed Hassan
Ultra Budget Tracker — turn bank SMS into structured transaction notes, budgets and balances inside Obsidian. Offline, desktop and mobile.
Settings Navigator
19 days ago by Lawrence Lee
An Obsidian plugin that adds browser-style history navigation, quick plugin management, and quality-of-life improvements to the Settings modal.
AXXA Agent
18 days ago by AXXA Lab™
AI chat, Vault Q&A and an agent that edits your notes, built mobile-first. OpenAI, Claude, Gemini, OpenRouter, NVIDIA NIM or local Ollama, with your own API key. Obsidian plugin.